Heavy fs corruption with 9.0-RELEASE

Mark Saad nonesuch at longcount.org
Tue Mar 6 03:00:09 UTC 2012


On Mar 5, 2012, at 5:21 PM, Xin Li <delphij at delphij.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On 03/05/12 14:12, Arnaud Lacombe wrote:
>> Hi,
>> 
>> I've been running a couple of system with 9.0-RELEASE since it is
>> out. All the system were installed through the standard
>> installation procedure. After unclean reboot, either crash or
>> power-failure, I get a huge amount of really bad filesystem
>> corruption (read: "silent", fs-wide, corruptions). This happens
>> with either i386 or amd64 build. Systems involved use compact flash
>> as their system permanent storage medium.
> [...]
>> I do not see this behavior when running 9.0-RELEASE on top of a 
>> 7.4-RELEASE userland (including FS). I've seen this behavior on 
>> various CF, so a single bad card is unlikely to be the culprit.
> 
> FWIW FS is part of kernel.  So technically you're running 9.0-RELEASE
> UFS with 7.4-RELEASE userland.
> 
>> Here are the currently mounted filesystem on the machine, as well
>> as mount options:
>> 
>> # mount /dev/ada0p2 on / (ufs, local, journaled soft-updates) devfs
>> on /dev (devfs, local, multilabel)
>> 
>> Any hints appreciated.
> 
> My first step would be take out the journalling soft-updates to see if
> things improves.  Could you test if this happens using brand new
> 9.0-RELEASE, but with journaled soft-updates disabled?
> 
> (Hint: tunefs -j disable /; tunefs -n enable /; reboot in single user
> mode).
> 
> Note that since you say 7.4-RELEASE userland wouldn't have similar
> issue, it might indicate a bug with the new journalled soft-updates's
> fsck implementation.
> 
 How are you fsck'ng the 9.0 ufs ? Do you have a 9.0 fsck , tunefs , and mount ?   Also was the file system created on 9.0 or 7.4 or better yet was it a 7.4 newfs or 9.0 newfs ?  What options did you use ? 


> Cheers,
> - -- 
> Xin LI <delphij at delphij.net>    https://www.delphij.net/
> FreeBSD - The Power to Serve!        Live free or die
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.18 (FreeBSD)
> 
> iQEcBAEBCAAGBQJPVTyCAAoJEG80Jeu8UPuzTsgIALvLdbzoNrmE/xUqDEJwGtC8
> zcfGl7tEVLU6BbE3i2ww2tUcMJmOMZwrAg1gZmFyyDhVQwEEQQ2zSTa1Uy3oiNRA
> ts1X31VicEXIMam1Mt5K2G3lMbFES6TvyDrNOit6C2FeUrixHZ2C1JZmA7yzGlsg
> 7ZGco+3clwSy2yfKTf0ExjIibkC0Cgz60BgjpQKowpKjUCD5AzB/2EqmZk1pFz6S
> /NYOlF+YG/Y72V3GW1K5DTDFao5znzkulhc5Q/RUoD08o6hmdiaqiRHHmqjIP6Rt
> Gb8Dfggnm8XUBs+AzgUmssCSCvHMHYt9SEel2sB5gSVKzd5rIAXwLxaeKBco1Ws=
> =Hi9P
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"

---
Mark saad | mark.saad at longcount.org



More information about the freebsd-stable mailing list