From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Subject: Re: One warning message when switching root to /sysroot (which is the mount point for NFS) Date: Thu, 17 Jun 2010 11:29:17 +0200 Message-ID: <4C19EAED.5020104@redhat.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: "Min Jun,Xi" Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 06/12/2010 09:27 AM, Min Jun,Xi wrote: > I have found the reason for "mount: only root can do that (effective > UID is -2)", > The nfs server is NFSv4-powered, NFSv4 has a concept of a root of the > overall exported file system. The export point exported with fsid=0 is > used as this root. If we didn't specify "fsid=0" in the /etc/exports > file, when it is mounted by the NFS client, all the owner of the > overall exported file system will become "nfsnobody:nfsnobody". > Because of this, the owner of "/bin/mount" is changed to > "nfsnobody:nfsnobody" from "root:root". when "mount" is called, the > warning message is shown. > For RHEL6 you want at least dracut-004-18 to get NFS4 working. dracut-005-3 in Fedora 13 should work as well.