Re: Fedora 14: Shutdown problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Terry Barnaby <terry1 <at> beam.ltd.uk> writes:

> ... 
> I'm not sure why /home uses NFS 3 while the others use NFS4.
> They are from the same server and there is no specific config
> for 3 or 4, so on Fedora 14 I would have expected them to be 4.
> The server is Fedora 14 as well.
> ...

The analysis above is subject to verification of any custom config on your
server and client in:
/etc/sysconfig/nfs

Now the analysis.

network fs services script:
/etc/init.d/netfs start
...
        < based on /etc/fstab >
        service rpcbind start
        action $"Mounting NFS filesystems: " mount -a -t nfs,nfs4
        action $"Mounting CIFS filesystems: " mount -a -t cifs
        action $"Mounting NCP filesystems: " mount -a -t ncpfs
        ...
        touch /var/lock/subsys/netfs
        action $"Mounting other filesystems: " mount -a -t nonfs,nfs4,cifs,ncpfs,gfs

Comments:

man mount.nfs or mount.nfs4 says:
...
       mount.nfs4 is used for mounting NFSv4 file system, while  mount.nfs  is
       used  to  mount  NFS  file  systems versions 3 or 2.
...

First it calls 'mount -a -t nfs,nfs4',
then it calls 'mount -a -t nonfs,nfs4,...'

Why the second call (except for gfs) ?
Should there be also nonfs4, nocifs, noncpfs ?
This probably caused some confusion as it might have attempted to overwrite
previous (first call) nfs assignment with nfs4.

We hava a case that client's /etc/fstab specified "nfs" fs type for 3 shares
obtainable from the same server (even the same Fedora 14 on both server and
client), but obtained nfs3 for one share (/home) and nfs4 for 2 others. Why ?

You already have the nfs network set up for this.
You should be able to debug it inside this script by placing debugging
statements recording /etc/mtab AND /proc/mounts after each 'mount'.

If you confirm it, I will be able to request a fix in Bugzilla.

It would also indicate some bug in 'mount' itself as I am not sure that 'mount'
should be allowed to overwrite one fs type with another, here nfs with nfs4.
You can test it manually as well.

JB


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux