[sheepdog-users] sbd with erasure code doesn't play well
Liu Yuan
namei.unix at gmail.com
Sat May 31 05:48:52 CEST 2014
On Sat, May 31, 2014 at 01:23:05AM +0200, Marcin Mirosław wrote:
> Hi!
> It looks like some kind of data corruption:
> # dog vdi list
> Name Id Size Used Shared Creation time VDI id
> Copies Tag
> test21 0 5.0 GB 44 MB 0.0 MB 2014-05-31 01:10 46652c 2:1
> test 0 300 GB 300 GB 0.0 MB 2014-05-31 00:28 7c2b25 2:1
> test2 0 5.0 GB 44 MB 0.0 MB 2014-05-31 01:10 fd3815 2
> # cat /sys/bus/sbd/list
> 0 test
> 1 test2
> 2 test21
>
> # mkfs.xfs -fq /dev/sbd1 && xfs_check /dev/sbd1
> # mkfs.xfs -fq /dev/sbd2 && xfs_check /dev/sbd2
> bad agf magic # 0 in ag 0
> bad agf version # 0 in ag 0
> block 0/0 expected type unknown got sb
> bad magic # 0x58465342 in btbno block 0/0
> bad magic # 0x58465342 in btcnt block 0/0
> block 0/3 expected type unknown got missing
> block 0/8 expected type unknown got missing
> block 0/9 expected type unknown got missing
> block 0/10 expected type unknown got missing
> block 0/11 expected type unknown got missing
> agf_btreeblks 0, counted 4294967294 in ag 0
> bad agf magic # 0 in ag 1
> bad agf version # 0 in ag 1
> [and many more errors]
>
> Marcin
> --
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog-users
Thanks for your test, I pushed the fix to origin/sbd.
Yuan
More information about the sheepdog-users
mailing list