[Bug 569700] New: nfs mounts fail to export @boot. fix requires additional 'exportfs -r' after boot.
http://bugzilla.novell.com/show_bug.cgi?id=569700 http://bugzilla.novell.com/show_bug.cgi?id=569700#c0 Summary: nfs mounts fail to export @boot. fix requires additional 'exportfs -r' after boot. Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: 0.bugs.only.0@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.0) Gecko/20100105 SUSE/3.6rc1-1.2 Firefox/3.6 @SERVER uname -a Linux s1.local 2.6.31.8-0.1-xen #1 SMP 2009-12-15 23:55:40 +0100 x86_64 x86_64 x86_64 GNU/Linux rpm -qa | grep nfs-kernel-server nfs-kernel-server-1.1.3-26.1.x86_64 cat /etc/exports NFS_START_SERVICES="yes" MOUNTD_PORT="" NFS4_SUPPORT="yes" USE_KERNEL_NFSD_NUMBER="8" NFS_SECURITY_GSS="no" SM_NOTIFY_OPTIONS="" REEXPORT_NFS="yes" service nfsserver status Checking for kernel based NFS server: idmapd running mountd running statd running nfsd running ps ax | egrep -i "nfs|rpc" 3966 ? Ss 0:00 /sbin/rpcbind 4345 ? S< 0:00 [rpciod/0] 4346 ? S< 0:00 [rpciod/1] 4347 ? S< 0:00 [rpciod/2] 4348 ? S< 0:00 [rpciod/3] 4797 ? Ss 0:00 /usr/sbin/rpc.idmapd 4870 ? Ss 0:00 /usr/sbin/rpc.statd --no-notify 4936 ? Ss 0:00 /usr/sbin/rpc.mountd 4947 ? S< 0:00 [nfsd4] 4948 ? S< 0:00 [nfsd] 4949 ? S< 0:00 [nfsd] 4950 ? S< 0:00 [nfsd] 4951 ? S< 0:00 [nfsd] 4952 ? S< 0:00 [nfsd] 4953 ? S< 0:00 [nfsd] 4954 ? S< 0:00 [nfsd] 4955 ? S< 0:00 [nfsd] 5094 ? Ss 0:00 /usr/sbin/rpc.rquotad dmesg | egrep -i "nfs|rpc" [ 50.737658] RPC: Registered udp transport module. [ 50.737660] RPC: Registered tcp transport module. [ 51.422437] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 52.208274] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [ 52.257676] NFSD: starting 90-second grace period cat /etc/exports /aa 192.168.1.0/24(rw,nohide,no_root_squash,sync,no_subtree_check) /bb 192.168.1.0/24(ro,nohide,no_root_squash,sync,no_subtree_check) /test g1.s1.local(ro,nohide,no_root_squash,sync,no_subtree_check) showmount -e Export list for server: /aa 192.168.1.0/24 /bb 192.168.1.0/24 /test g1.s1.local @CLIENT uname -a Linux g1.s1.local 2.6.31.8-0.1-xen #1 SMP 2009-12-15 23:55:40 +0100 x86_64 x86_64 x86_64 GNU/Linux grep -i nfs /etc/fstab s1.local:/test /test nfs ro,soft,intr,noexec,nosuid,noatime,bg 0 0 mount /test mount.nfs: access denied by server while mounting s1.local:/test mount | grep nfs nfsd on /proc/fs/nfsd type nfsd (rw) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) @SERVER exportfs -r exportfs: Warning: /aa does not support NFS export @CLIENT mount /test (SUCCESS) mount | grep nfs nfsd on /proc/fs/nfsd type nfsd (rw) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) s1.local:/test on /test type nfs (ro,noexec,nosuid,noatime,soft,intr,bg,addr=192.168.1.100,nfsvers=3,proto=tcp,mountproto=udp) Reproducible: Always Steps to Reproduce: Fully reproducible; as in OP. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569700
http://bugzilla.novell.com/show_bug.cgi?id=569700#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=569700 http://bugzilla.novell.com/show_bug.cgi?id=569700#c1 mail ignored <0.bugs.only.0@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |qa@suse.de --- Comment #1 from mail ignored <0.bugs.only.0@gmail.com> 2010-01-14 22:17:24 UTC --- this problem is fixed by, mkinitrd -f lvm2 -f nfs or, to survive boot, echo 'ADDITIONAL_FEATURES="lvm2 nfs"' > /etc/sysconfig/initrd note, (1) the mkinitrd man page makes no mention of /etc/sysconfig/initrd (2) /etc/sysconfig/initrd is not installed by default on opensuse (3) /etc/sysconfig/initrd is mentioned for override only in /lib/mkinitrd/setup/01-prepare.sh (4) /lib/mkinitrd/setup/01-prepare.sh makes no mention of 'nfs' as an available feature (5) afaict, there's no doc for this @opensuse wiki, docs, forum etc -- either why it'd be required, or of the options being available should this be reassigned to BASESYSTEM, elsewhere, or stays here? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569700
http://bugzilla.novell.com/show_bug.cgi?id=569700#c2
Neil Brown
http://bugzilla.novell.com/show_bug.cgi?id=569700
http://bugzilla.novell.com/show_bug.cgi?id=569700#c3
Neil Brown
participants (1)
-
bugzilla_noreply@novell.com