I had a btrfs partition on a 6 disk array without raid (metadata in raid10, but data in single), and one of the disks just died.
So I lost some of my data, ok, I knew that.
But two question :
Is it possible to know (using metadata I suppose) what data I have lost ?
Is it possible to do some kind of a "btrfs delete missing" on this kind of setup, in order to recover access in rw to my other data, or I must copy all my data on a new partition
Thank you for any help
(Sorry for my poor english)
Edit : just to be clear, I can mount it in read only whith mount -o recovery,ro,degraded
And btrfs fi df /Data
Data, single: total=6.65TiB, used=6.65TiB
System, RAID1: total=32.00MiB, used=768.00KiB
Metadata, RAID1: total=13.00GiB, used=10.99GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
Seems like I'm a very lucky guy, and lost no data at all :)
Otherwise, I would have seen in dmesg or journalctl, a lot of error, including complete path to the affected file.
– pums974 Sep 19 '16 at 22:08Seems like I have only two choice :
The later will be my next move. I tried to patch the kernel to remove the test forbiding me the rw access, and try a simple "btrfs remove missing". but it doesn't work, I have no idea what to do. I'm open to suggestion.
– pums974 Sep 19 '16 at 22:09