You are not logged in.
Pages: 1
I'm trying to setup a network share using NFS but get "can't read superblock" when trying to mount. This is the first time I've tryied setting a shared folder in linux.
It's a new install (0.8 Voodoo) updated. The only packages I've installed are nfs-utils and partimage and samba.
I'm following this howto to try to get it working... http://nfs.sourceforge.net/nfs-howto/
Added portmap,nfslock,nfsd to my DEAMONS()
DAEMONS=(syslog-ng network netfs crond samba portmap nfslock nfsd)
Added this to my /etc/exports file
/shares 172.25.1.157(rw)
Added this to my /etc/hosts.allow
portmap: 172.25.1.157
lockd: 172.25.1.157
rquotad: 172.25.1.157
mountd: 172.25.1.157
statd: 172.25.1.157
This is what is in my /etc/hosts.deny
ALL: ALL: DENY
I reboot the system, everything looks fine. I get some warnings about subtree_check not being set, but it defaults to subtree_check, so should be fine.
I do "rpcinfo -p" looks like what the HOWTO shows, etc...
When I try to mount it, this is what I get
[root@myhost mnt]# mount 172.25.1.156:/shares /mnt/shares/
mount: 172.25.1.156:/shares: can't read superblock
I tried the same thing between two computers at home last night, they had much more stuff installed, but i got the same "can't read superblock" error...
Thank you for your help!
Offline
Did you try with 'mount -t nfs ...'?
1000
Offline
Did you try with 'mount -t nfs ...'?
Nope, same thing...
It led me to trying all kinds of other options, -o tcp,udp,rsize=8192,wsize=8192,ro,rw, etc... but same thing... "can't read superblock"
Thanks for the suggestion!
Offline
Solved!
I had to install nfs-utils on the client computer (obviously!) then put "portmap" in the DEAMONS().
The HOWTO I was following assumed that NFS was already installed on the client, so didn't sugest it...
Offline
Pages: 1