Solved: Btrfs is broken
|
27th Oct, 2018, 04:54 AM
(This post was last modified: 27th Oct, 2018 04:57 AM by Nachteule.)
Post: #3
|
|||
|
|||
RE: Btrfs is broken
(26th Oct, 2018 06:28 PM)chochis Wrote: So, after a few seconds the filesystem is on read_only so I cannot restore btrfs from a snapshot. The main problem is that XBian is using LZ4 as compression which is not included in standard distributions. So It's not possible without a patched kernel In the future (or should I say since one week), LZ4 compression has been suspended since it does not work stable since kernel 4.15, see this commit and starting with kernel 4.18, the LZ4 patch has been removed completely Quote:I've downloaded the script btrfs-auto-snapshot but I cannot make it work for a /media partition in ubuntu. I am not fully confident with what it does when "restoring". FYI: you do not need btrfs-auto-snapshot to restore a snapshot. Just mount sd (if your kernel allows this - see above), move into ./root subvol and you will see all the snapshots you have. A rename of @ to @-bad and then any @... to @ will revert the subvol to that snapshot To repair a broken BTRFS fs, the common way is to turn into the rescue mode (included in initramfs, so it need to be enabled) and then run btrfs check /dev/mmcblk0p2 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Btrfs is broken - chochis - 26th Oct, 2018, 06:28 PM
RE: Btrfs is broken - chochis - 27th Oct, 2018, 12:18 AM
RE: Btrfs is broken - Nachteule - 27th Oct, 2018, 04:59 AM
RE: Btrfs is broken - Nachteule - 27th Oct, 2018 04:54 AM
RE: Btrfs is broken - Exnor - 13th Nov, 2018, 07:14 AM
RE: Btrfs is broken - Nachteule - 13th Nov, 2018, 07:27 AM
RE: Btrfs is broken - Exnor - 13th Nov, 2018, 08:36 AM
RE: Btrfs is broken - Nachteule - 13th Nov, 2018, 09:32 AM
RE: Btrfs is broken - Exnor - 14th Nov, 2018, 04:33 AM
RE: Btrfs is broken - Nachteule - 14th Nov, 2018, 05:17 AM
RE: Btrfs is broken - Exnor - 15th Nov, 2018, 08:33 AM
RE: Btrfs is broken - Nachteule - 15th Nov, 2018, 08:53 AM
RE: Btrfs is broken - Exnor - 16th Nov, 2018, 04:16 AM
RE: Btrfs is broken - Nachteule - 16th Nov, 2018, 04:46 AM
RE: Btrfs is broken - Exnor - 17th Nov, 2018, 04:44 AM
RE: Btrfs is broken - Nachteule - 17th Nov, 2018, 05:04 AM
RE: Btrfs is broken - Exnor - 17th Nov, 2018, 05:29 AM
RE: Btrfs is broken - Nachteule - 17th Nov, 2018, 06:53 AM
RE: Btrfs is broken - Exnor - 17th Nov, 2018, 07:00 AM
|