conf/120194: [patch] UFS volumes on ZVOLs cannot be fsck'd at
boot
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Jul 27 15:17:26 UTC 2009
On Sun, Jul 26, 2009 at 12:00:07PM +0000, Thomas Backman wrote:
> The following reply was made to PR conf/120194; it has been noted by GNATS.
>
> From: Thomas Backman <serenity at exscape.org>
> To: bug-followup at FreeBSD.org,
> freebsd-rc at freebsd.org
> Cc:
> Subject: Re: conf/120194: [patch] UFS volumes on ZVOLs cannot be fsck'd at boot
> Date: Sun, 26 Jul 2009 13:49:42 +0200
>
> This bug is still relevant and unfixed as of 8.0-BETA2, although I ran
> into it by being unable to mount ZVOLs using fstab, since /dev/zvol is
> populated after mountcritlocal runs.
> My fix was to move ZFS to before mountcritlocal, since the root is
> already mounted R/W, but I suppose this fix is even better since it
> solves the fsck problem as well, which I haven't ran in to yet.
> It would be nice to see this easy fix implemented!
The problem with proposed patch is that it moves hostid script to before
root is mounted read-write and hostid can create /etc/hostid file.
Try this patch instead:
http://people.freebsd.org/~pjd/patches/zvol_fsck.patch
It splits hostid generation from storing it. Now ZVOLs can be
initialized before fsck runs.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20090727/34eac6da/attachment.pgp
More information about the freebsd-rc
mailing list