Current-Users archive

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

Re: fsck attempted on NFS root?



On Mon, 27 Apr 2009 23:02:57 +0000 (UTC), Pierre Pronchery wrote:

From my understanding of the rc scripts, the check solely relies on proper values in /etc/fstab. For an NFS root I suppose the "fs_passno" field should be left out or null (0). Can you verify this is the case?

Yes, this is exactly so:

-rw-r--r--  1 root  wheel  70 Jan  7  2008 /path/to/root/etc/fstab

Contents of fstab:

server:/path/to/root    /       nfs     rw       0 0
/swap                   none    swap    sw       0 0


As you can see, I've been using this setup for over a year and this
is the first time something like this has happened.

It could also be the fsck_flags, but I think it's unlikely.

The "etc/defaults/rc.conf" file has "fsck_flags=-p" and I haven't
changed them anywhere.

--
John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
jdbaker[snail]mylinuxisp[flyspeck]com         OpenBSD            FreeBSD
BSD -- It just sits there and _works_!
GPG fingerprint:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index