Re: conf/120194: [patch] UFS volumes on ZVOLs cannot be fsck'd at boot

View: New views
3 Messages — Rating Filter:   Alert me  

Re: conf/120194: [patch] UFS volumes on ZVOLs cannot be fsck'd at boot

by Thomas Backman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The following reply was made to PR conf/120194; it has been noted by GNATS.

From: Thomas Backman <serenity@...>
To: bug-followup@...,
 freebsd-rc@...
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!
 
 Regards,
 Thomas
_______________________________________________
freebsd-rc@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "freebsd-rc-unsubscribe@..."

Parent Message unknown Re: conf/120194: [patch] UFS volumes on ZVOLs cannot be fsck'd at boot

by Pawel Jakub Dawidek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Synopsis: [patch] UFS volumes on ZVOLs cannot be fsck'd at boot

Responsible-Changed-From-To: freebsd-rc->pjd
Responsible-Changed-By: pjd
Responsible-Changed-When: pon 27 lip 14:46:39 2009 UTC
Responsible-Changed-Why:
I'll take this one.

http://www.freebsd.org/cgi/query-pr.cgi?pr=120194
_______________________________________________
freebsd-rc@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "freebsd-rc-unsubscribe@..."

Re: conf/120194: [patch] UFS volumes on ZVOLs cannot be fsck'd at boot

by Pawel Jakub Dawidek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>
> To: bug-followup@...,
>  freebsd-rc@...
> 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@...                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!


attachment0 (194 bytes) Download Attachment