Summary: | net-fs/nfs-utils-1.2.3-r1 USE="nfsv3 -nfsv4" fails to mount NFSv3 shares | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marek Królikowski <admin> |
Component: | New packages | Assignee: | Network Filesystems <net-fs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | rodrigo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marek Królikowski
2011-03-28 07:43:12 UTC
WIZJA2 ~ # emerge -pv nfs-utils These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-fs/nfs-utils-1.2.3-r1 USE="ipv6 nfsv3 tcpd -caps -kerberos -nfsv4" 0 kB WIZJA2 ~ # mount -v /mnt/nfs/ mount.nfs: timeout set for Mon Mar 28 09:50:56 2011 mount.nfs: trying text-based options 'vers=4,addr=10.07.3.239,clientaddr=10.7.1.132' Look he try use vers=4 - but there is -nfsv4 in flags.... I check from another machine with 1.1.4-r1: PLK-POCZTA1 ~ # mount -v /mnt/nfs mount.nfs: timeout set for Mon Mar 28 09:45:58 2011 mount.nfs: text-based options: 'addr=10.7.3.239' mount.nfs: mount(2): Operation not supported mount.nfs: trying 10.7.3.239 prog 100003 vers 3 prot UDP port 2049 mount.nfs: trying 10.7.3.239 prog 100005 vers 3 prot UDP port 1048 mount.nfs: text-based options (retry): 'addr=10.7.3.239,nfsvers=3,proto=udp,mountproto=udp,mountport=1048' Did et-fs/nfs-utils ignore USE flags?? Ok when i give to fstab option: 10.7.3.239:/backup2/wizja2 /mnt/nfs nfs rw,nfsvers=3 0 0 i can use mount -a and he mount NFS... but when i reboot server netmount don`t mount NFS and i need do mount -a every restart... Is this something like bug 295552 ? Yes and No :-) Because this is about nfsv4 but if u see i compile nfs-utils with -nfsv4 but he still want mount nfs via nfsv4.... When i add to fstab nfsvers=3 it`s working... But still not working netmount - i need mount -a every reboot server.. I have the same problem. After upgrading to net-fs/nfs-utils-1.2.3-r1, /etc/init.d/netmount does not work in any of my machines. I have to do a mount -a every time. After: 1. umount /mnt/nfs 2. /etc/init.d/portmap stop 3. emerge -C portmap 4. emerge =net-fs/nfs-utils-1.2.3-r1 5. etc-update 6. /etc/init.d/rpcbind start 7. add nfsvers=3 to fstab 8. mount /mnt/nfs 9. reboot Server can`t reboot " halt on umounting file systems" - need turn off from hand. After next reboot server restarting with no problem. It would help to know what the NFS server is configured with and what it is exporting (/etc/exports). NAS ~ # emerge -pv nfs-utils [ebuild R ] net-fs/nfs-utils-1.1.4-r1 USE="tcpd nfsv3 -kerberos -nonfsv4 -caps -ipv6 -nfsv4" NAS ~ # cat /etc/exports # /etc/exports: NFS file systems being exported. See exports(5). /nfs 10.7.0.0/255.255.0.0(rw,no_root_squash,sync,no_subtree_check) After all I believe this is a duplicate of bug #295552. Please take a look there for the proposed solution. if you want things to mount at boot, use nfsmount init.d, not netmount. the latter is meant only for simple cases, not the full nfs stack. |