Hallo,
I have a confusing problem with my btrfs raid. Currently I am using the following setup:
btrfs fi show
Label: none uuid: 93000933-e46d-403b-80d7-60475855e3f3
Total devices 2 FS bytes used 2.56TiB
devid 1 size 2.73TiB used 2.71TiB path /dev/sda
devid 4 size 2.73TiB used 2.71TiB path /dev/sdb
As you can see both disks are full.
Actually I cannot mount my raid, even with recovery options enabled:
mount /dev/sda /mnt/Data -t btrfs -onospace_cache,clear_cache,enospc_debug,nodatacow
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
dmesg shows:
[ 1066.221696] BTRFS info (device sda): disabling disk space caching
[ 1066.227990] BTRFS info (device sda): force clearing of disk cache
[ 1066.234331] BTRFS info (device sda): setting nodatacow, compression disabled
[ 1066.243813] BTRFS error (device sda): parent transid verify failed on 9676657786880 wanted 242139 found 0
[ 1066.253672] BTRFS error (device sda): parent transid verify failed on 9676657786880 wanted 242139 found 0
[ 1066.263450] BTRFS error (device sda): parent transid verify failed on 9676657786880 wanted 242139 found 0
[ 1066.273234] BTRFS: failed to read chunk root on sda
[ 1066.279675] BTRFS warning (device sda): page private not zero on page 9676657786880
[ 1066.287482] BTRFS warning (device sda): page private not zero on page 9676657790976
[ 1066.295361] BTRFS warning (device sda): page private not zero on page 9676657795072
[ 1066.303204] BTRFS warning (device sda): page private not zero on page 9676657799168
[ 1066.369266] BTRFS: open_ctree failed
After spending some time with Google I found a possible solution for my problem by running:
btrfs restore -v /dev/sda /mnt/Data
Actually this operation fails silently (computer freezes). After examine the kernel logs I have found out that the operations fails because of „NO SPACE LEFT ON DEVICE“. Can anybody please give me a solution for this problem?
Greetings
Wolf Bublitz--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html