View previous topic :: View next topic |
Author |
Message |
mrjay n00b
Joined: 15 Apr 2006 Posts: 10
|
Posted: Thu Jul 12, 2007 4:54 am Post subject: Can't mount an NFS share [SOLVED] |
|
|
i am running on of the liveCDs and i can't mount NFS shares
livecd ~ # mount 10.0.0.2:/storage /root/fs
mount: 10.0.0.2:/storage: can't read superblock
livecd ~ #
Those commands work fine on my mac, and i think solaris too
The file server is FreeBSD 6.0
do i need to add extra stuff to my exports file for gentoo?
Last edited by mrjay on Fri Jul 13, 2007 10:54 pm; edited 1 time in total |
|
Back to top |
|
|
mudrii l33t
Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
Posted: Thu Jul 12, 2007 7:53 am Post subject: |
|
|
on the server do you give access to the clint IP ? _________________ www.gentoo.ro |
|
Back to top |
|
|
mrjay n00b
Joined: 15 Apr 2006 Posts: 10
|
Posted: Fri Jul 13, 2007 5:02 am Post subject: |
|
|
yes, there are no firewalls and gentoo is in the same subnet as the NFS server
# cat /etc/exports
/storage -network 10.0.0.0 -mask 255.255.255.0
/dvdImages -network 10.0.0.0 -mask 255.255.255.0
/share -network 10.0.0.0 -mask 255.255.255.0
#
gentoo is 10.0.0.102
is this supposed to work on the liveCD?
do i need to install/configure something first? |
|
Back to top |
|
|
schally Apprentice
Joined: 13 May 2004 Posts: 207
|
Posted: Fri Jul 13, 2007 12:54 pm Post subject: |
|
|
isn't your mount command a little short for linux? _________________ Our glory is not in never falling but in rising again every time we fall -Konfuzius
greetz
- schally |
|
Back to top |
|
|
mrjay n00b
Joined: 15 Apr 2006 Posts: 10
|
Posted: Fri Jul 13, 2007 2:38 pm Post subject: |
|
|
schally wrote: | isn't your mount command a little short for linux? |
i don't think so, i think the problem is missing RPC deamons |
|
Back to top |
|
|
schally Apprentice
Joined: 13 May 2004 Posts: 207
|
Posted: Fri Jul 13, 2007 2:58 pm Post subject: |
|
|
mrjay wrote: | schally wrote: | isn't your mount command a little short for linux? |
i don't think so, i think the problem is missing RPC deamons |
i think there is a "-t nfs" missing,... _________________ Our glory is not in never falling but in rising again every time we fall -Konfuzius
greetz
- schally |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Jul 13, 2007 3:16 pm Post subject: |
|
|
Is portmap running on the client machine? Without portmap mounting nfs shares can take ages!
cheers
V. |
|
Back to top |
|
|
mrjay n00b
Joined: 15 Apr 2006 Posts: 10
|
Posted: Fri Jul 13, 2007 9:59 pm Post subject: |
|
|
thank you Veldrin,
i googled "gentoo portmap" and found out i have to run this first
# /etc/init.d/portmap start
then the mount command works
the -t option is not necessary in this case |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Jul 13, 2007 10:21 pm Post subject: |
|
|
No problem. We are here to help.
Quote: | i googled "gentoo portmap" and found out i have to run this first |
[note to myself, assume less, explain more]
and if you don't want to do this on every boot (assuming a fixed install, no liveCD)
Code: | # rc-update -a portmap default |
which adds portmap to the default runlevel.
cheers
V.
One more thing, please add [SOLVED] to the subject, if the problem is fixed. |
|
Back to top |
|
|
|