You are not logged in.

#1 2007-01-17 16:59:33

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Setting up a network share [SOLVED]

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

#2 2007-01-18 02:31:05

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Setting up a network share [SOLVED]

Did you try with 'mount -t nfs ...'?


1000

Offline

#3 2007-01-18 03:19:25

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: Setting up a network share [SOLVED]

byte wrote:

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

#4 2007-01-18 04:12:04

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: Setting up a network share [SOLVED]

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

Board footer

Powered by FluxBB