Re: btrfs suddenly think's it's raid6

2018-06-30 Thread Qu Wenruo
On 2018年06月30日 06:11, marble wrote: > Hey, > Thanks for the quick reply :-) > >> Is there anything like unexpected power loss happens? > Power loss may have happened. >> And would you provide the following data for debugging? >> >> # btrfs ins dump-super -fFa /dev/mapper/black > I attached it.

Re: btrfs suddenly think's it's raid6

2018-06-29 Thread marble
> No log_root* in the super. So no fsyncing at the time? What was > happening at the time of the power loss? That I don't know. > Pretty weird, all three supers are OK and yet two copies of the fs > tree are corrupt. Why doesn't it fall back automatically to one of the > other roots? > > You

Re: btrfs suddenly think's it's raid6

2018-06-29 Thread Chris Murphy
On Fri, Jun 29, 2018 at 4:09 PM, marble wrote: > Hey, > Thanks for the quick reply :-) > >> Is there anything like unexpected power loss happens? > Power loos may have happened. It was power via a RPi. >> And would you provide the following data for debugging? >> >> # btrfs ins dump-super -fFa

Re: btrfs suddenly think's it's raid6

2018-06-29 Thread marble
Hey, Thanks for the quick reply :-) > Is there anything like unexpected power loss happens? Power loss may have happened. > And would you provide the following data for debugging? > > # btrfs ins dump-super -fFa /dev/mapper/black I attached it. > And further more, what's the device mapper setup

Re: btrfs suddenly think's it's raid6

2018-06-29 Thread marble
Hey, Thanks for the quick reply :-) > Is there anything like unexpected power loss happens? Power loos may have happened. It was power via a RPi. > And would you provide the following data for debugging? > > # btrfs ins dump-super -fFa /dev/mapper/black See attachment. > And further more, what's

Re: btrfs suddenly think's it's raid6

2018-06-29 Thread Qu Wenruo
On 2018年06月29日 19:04, marble wrote: > Hello, > I have an external HDD. The HDD contains no partition. > I use the whole HDD as a LUKS container. Inside that LUKS is a btrfs. > It's used to store some media files. > The HDD was hooked up to a Raspberry Pi running up-to-date Arch Linux > to play

Re: btrfs suddenly think's it's raid6

2018-06-29 Thread Austin S. Hemmelgarn
On 2018-06-29 07:04, marble wrote: Hello, I have an external HDD. The HDD contains no partition. I use the whole HDD as a LUKS container. Inside that LUKS is a btrfs. It's used to store some media files. The HDD was hooked up to a Raspberry Pi running up-to-date Arch Linux to play music from the

btrfs suddenly think's it's raid6

2018-06-29 Thread marble
Hello, I have an external HDD. The HDD contains no partition. I use the whole HDD as a LUKS container. Inside that LUKS is a btrfs. It's used to store some media files. The HDD was hooked up to a Raspberry Pi running up-to-date Arch Linux to play music from the drive. After disconnecting the