[arch-general] root on NFS and archlinux init scripts

Thomas Bächler thomas at archlinux.org
Sat Jan 15 15:32:23 EST 2011


Am 15.01.2011 21:13, schrieb Thomas Bahn:
> On  shutdown there is a message '/: device is busy'. I found out, that this is originated by the netfs-script in /etc/rc.d.
> It tries to umount everything on the network. By removing this hook the warning went away.
> I think this is not as meant. Its not a critical error, only a warning, because of that i would hear you opinion on that.

This is known. If you have ideas, they are welcome.

I only tested whether NFS root works in general, but I never figured out
all the small problems.

> Additionally i discoverd following piece of code in rc.shutdown:
> 
> stat_busy "Unmounting Filesystems"
> /bin/umount -a -r -t noramfs,notmpfs,nosysfs,noproc,nodevtmpfs -O no_netdev
> stat_done
> 
> Here, only non-network filesystems are unmounted, right? So, an NFS-root is not unmounted on shutdown.
> That is not good, i think it should be looked for a solution.

You cannot unmount the root file system. It should remount it read-only
at a later stage though.

I don't think umounting is NFS even necessary, is there a problem when
you don't?

> What do you think?
> Would be nice to hear from you.

I'll accept any improvements in that area, but I never used NFS root
with Arch for more than basic testing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20110115/4b931e05/attachment.asc>


More information about the arch-general mailing list