mensi.ch

Filesystem root on NFS with Debian lenny

by mensi on Sep.20, 2009, under debian

I recently updated a Debian etch machine with its root filesystem on an NFS share to lenny, which broke things a bit: During init, the filesystem somehow got remounted read-only and errors involving statd not being running occured. Additionally, other NFS mounts from /etc/fstab failed to mount at startup (but manually mounting them later worked)

I tracked down to first problem to checkroot.sh, which executes fsck if needed. Altough checkroot specifically checks for NFS being used for the root filesystem, it still tries to remount it which fails due to statd not running. This can be avoided by not adding the root filesystem to /etc/fstab so checkroot.sh will not try to do anything on it. This may be a slightly ugly workaround, but it seems to work fine.

The second problem can be worked around by setting ASYNCMOUNTNFS=no in /etc/default/rcS. I did not dive into the internals here, so I do not know the root problem causing this.

:, ,

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...