Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't mount an NFS share [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mrjay
n00b
n00b


Joined: 15 Apr 2006
Posts: 10

PostPosted: Thu Jul 12, 2007 4:54 am    Post subject: Can't mount an NFS share [SOLVED] Reply with quote

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
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Thu Jul 12, 2007 7:53 am    Post subject: Reply with quote

on the server do you give access to the clint IP ?
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
mrjay
n00b
n00b


Joined: 15 Apr 2006
Posts: 10

PostPosted: Fri Jul 13, 2007 5:02 am    Post subject: Reply with quote

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
View user's profile Send private message
schally
Apprentice
Apprentice


Joined: 13 May 2004
Posts: 207

PostPosted: Fri Jul 13, 2007 12:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
mrjay
n00b
n00b


Joined: 15 Apr 2006
Posts: 10

PostPosted: Fri Jul 13, 2007 2:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
schally
Apprentice
Apprentice


Joined: 13 May 2004
Posts: 207

PostPosted: Fri Jul 13, 2007 2:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Jul 13, 2007 3:16 pm    Post subject: Reply with quote

Is portmap running on the client machine? Without portmap mounting nfs shares can take ages!

cheers
V.
Back to top
View user's profile Send private message
mrjay
n00b
n00b


Joined: 15 Apr 2006
Posts: 10

PostPosted: Fri Jul 13, 2007 9:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Fri Jul 13, 2007 10:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum