FreeBSD 7.0: gjournal on root filesystem problems

Ivan Voras ivoras at freebsd.org
Mon Nov 3 04:00:52 PST 2008


Gabriel Lavoie wrote:
> Hello,
>      I'm currently making some test to know how to setup a new home
> fileserver using two 500GB hard drives. I want to create a gmirror/gjournal
> setup on the complete filesystem. I've been able to setup everything and it
> works well. Now the problem I have is with the failure test. I create a file
> with random data on the / filesystem using "dd" and while whe file is being
> created, I hit the reset button of the computer. Now, it won't boot
> anymore... I get the following message:
> 
> GEOM_MIRROR: Device mirror/gm launched (2/2)
> GEOM_JOURNAL: Journal 3672855181: mirror/gma contains data.
> GEOM_JOURNAL: Journal 3672855181: mirror/gma contains journal.
> GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains data.
> GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains journal.
> GEOM_JOURNAL: Journal mirror/gmd consistent.
> Trying to mount root from ufs:/dev/mirror/gma.journal
> 
> Manual root filesystem specification:
>     <fstype>:<device>  Mount <device> using filesystem <fstype>
>                                            eg. ufs:da0s1a
>     ?                             List valid disk boot devices
>     <empty line>          Abort manual input
> 
> 
> mountroot> ?
> 
> List of GEOM managed disk devices:
>      mirror/gmd.journal mirror/gmd mirror/gmc mirror/gma mirror/gm ad10s1c
> ad10s1b ad8s1c ad8s1b ad10s2 ad10s1 ad8s1 ad10 ad8 acd0

It looks like journal recovery takes too long and the journal devices
isn't ready at the time the root file system needs to be mounted.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20081103/0794da01/signature.pgp


More information about the freebsd-fs mailing list