You are not logged in.

#1 2007-02-11 19:25:37

Trac3R
Member
From: Lübeck - Germany
Registered: 2007-01-26
Posts: 30
Website

mount nfs shares: can't read superblock

I have a annoying problem with my Archlinux NFS-client.
I run a NFS-server (Archlinux 0.8) in my LAN which provides serveral shares for two clients, one with Ubuntu 6.06 Dapper Drake and one with Archlinux 0.8.
Server config:

[sadow@Slave ~]$ cat /etc/exports
# /etc/exports
 
/home/sadow     C3PO(rw,all_squash,anonuid=1000,anongid=100,no_subtree_check,sync)
/home/al02      Grey(rw,all_squash,anonuid=1002,anongid=100,no_subtree_check,sync)
/home/musik     *(ro,all_squash,no_subtree_check,sync)

I don't see problems here and since Dapper mounts all shares properly I don't think that the problem is related to the server.
Here are the clients configs, they only differ in the personal /home directories:

Ubuntu Dapper:
 
Grey:~/mount$ grep nfs /etc/fstab
slave:/home/al02      /home/al02/mount/r_home nfs rw,auto,soft,sync 0 0
slave:/home/musik     /home/al02/mount/Musik nfs ro,noauto,users,soft,sync 0 0
 
 
Voodoo:
 
[sadow@C3PO mount]$ grep nfs /etc/fstab
slave:/home/sadow /home/sadow/mount/r_home nfs rw,auto,soft,sync 0 0
slave:/home/musik /home/sadow/mount/Musik nfs ro,noauto,users,soft,sync 0 0

Should be in order, too. But when I try to mount the shares with Voodoo I get this (after a lag of some minutes):

[sadow@C3PO mount]$ mount Musik/
mount: slave:/home/musik: can't read superblock
[sadow@C3PO mount]$ su
Password:
[root@C3PO mount]# mount r_home/
mount: slave:/home/sadow: can't read superblock

I also tried mount -a and to remove the entries in /etc/fstab and then mount it "by hand", also with -t nfs, but I don't come any furher here. Both clients allowed to use the same services in /etc/hosts.allow

PORTMAP,MOUNTD,LOCKD,STATD,RQUOTAD : C3PO,Grey

so I don't know what I can do to let Voodoo mount like Dapper does. May someone help me out here?
Thx

Offline

#2 2007-02-13 14:47:56

sjg
Member
From: UK
Registered: 2007-02-10
Posts: 63

Re: mount nfs shares: can't read superblock

Are you sure that portmap is running?

Offline

#3 2007-02-13 15:51:34

Trac3R
Member
From: Lübeck - Germany
Registered: 2007-01-26
Posts: 30
Website

Re: mount nfs shares: can't read superblock

That's it! Didn't know, that portmap also has to run on the client.
And since I get this

[sadow@C3PO Documents]$ showmount -e slave
rpc mount export: RPC: Program/version mismatch; low version = 3, high version = 3

I searched the problem elsewhere.

Thanks a lot.

Offline

#4 2008-01-17 21:00:19

Kaso_Da_Zmok
Member
Registered: 2007-11-01
Posts: 19

Re: mount nfs shares: can't read superblock

When you disable mountd versions 1 and 2, then the "showmount -e galaxy" command will fail with an error similar to: "rpc mount export: RPC: Program/version mismatch; low version = 3, high version = 3". This can be alleviated by leaving all NFS versions running on the server and then forcing "nfsvers=3" in your "/etc/fstab" file on the remote client.


#/dev/sdb1 /mnt/sdb1 reiserfs defaults 0 1
192.168.10.106:/var/cache/pacman/pkg /var/cache/pacman/pkg    nfs    rw,nolock,nfsvers=3

just add the nfsvers=3 to mount options

Offline

Board footer

Powered by FluxBB