So, I am hoping I am not totally SOL…
My power went out this morning, in the middle of the re-balance. I turned on my server, and the rockstor site isn’t loading locally. I then SSHed into the box, and if I do:
[root@rocknas ~]# btrfs fi show
Label: 'MainPool' uuid: 8c10c7f7-3b1e-4f77-b9da-e1045701a0b0
Total devices 9 FS bytes used 5.78TiB
devid 1 size 931.51GiB used 803.00GiB path /dev/sdf
devid 2 size 2.73TiB used 1.45TiB path /dev/sdl
devid 3 size 1.82TiB used 1.45TiB path /dev/sdd
devid 4 size 931.51GiB used 802.27GiB path /dev/sde
devid 5 size 1.82TiB used 1.45TiB path /dev/sdg
devid 6 size 1.82TiB used 1.45TiB path /dev/sdj
devid 7 size 3.64TiB used 1.45TiB path /dev/sdh
devid 8 size 3.64TiB used 1.45TiB path /dev/sdi
devid 9 size 2.73TiB used 1.45TiB path /dev/sdk
It looks like it is there. However, if I do:
[root@rocknas ~]# btrfs fi df /mnt2/MainPool
Data, single: total=3.01GiB, used=2.41GiB
System, DUP: total=8.00MiB, used=16.00KiB
System, single: total=4.00MiB, used=0.00B
Metadata, DUP: total=1.00GiB, used=91.70MiB
Metadata, single: total=8.00MiB, used=0.00B
GlobalReserve, single: total=16.00MiB, used=0.00B
That is really not correct. If I try and go to the mount point, /mnt2/MainPool, I see nothing is there. I then tried doing a:
[root@rocknas ~]# sudo mount -o degraded /dev/sdf /mnt2/MainPool
mount: wrong fs type, bad option, bad superblock on /dev/sdf,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
[root@rocknas ~]# dmesg | tail
[ 507.303607] BTRFS info (device sde): allowing degraded mounts
[ 507.303611] BTRFS info (device sde): disk space caching is enabled
[ 507.303613] BTRFS info (device sde): has skinny extents
[ 507.305792] BTRFS error (device sde): failed to read chunk root
[ 507.314459] BTRFS error (device sde): open_ctree failed
[ 1062.453473] BTRFS info (device sde): allowing degraded mounts
[ 1062.453479] BTRFS info (device sde): disk space caching is enabled
[ 1062.453481] BTRFS info (device sde): has skinny extents
[ 1062.457164] BTRFS error (device sde): failed to read chunk root
[ 1062.462832] BTRFS error (device sde): open_ctree failed
Is everything lost? I only lost one drive, so I’d think I should be able to recover (this was a RAID 10). Or did the power going out in the middle of the rebalance just trash it all?