Timeline for Btrfs read-only file system and corruption errors
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 25 at 17:47 | comment | added | Growing My Roots | @horsey_guy Great thank you. I think all of these would be better than my current home directory backup | |
| Aug 25 at 0:15 | comment | added | horsey_guy |
@GrowingMyRoots Of course, they copy the entire system, and thus the packages as well. btrfs-clone has the advantage of reconstructing the btrfs filesystem in the target filesystem.
|
|
| Aug 23 at 20:12 | comment | added | Growing My Roots |
@horsey_guy do you know if btrfs-clone or clonezilla will retain packages I manually installed with dnf in the past?
|
|
| Aug 20 at 4:01 | comment | added | Hauke Laging |
@GrowingMyRoots If pvs does not show anything then you do not have LVM (or it is broken, configured in a way that it does not find the PVs). If you do not have any spare storage then you can try using RAM as CoW volume; usually not that much is written by fsck. So either create a block ram disk (dev/ram0, modprobe brd ...) or create a file in tmpfs (/dev/shm) and set up a loop device on top of it (losetup).
|
|
| Aug 19 at 19:00 | comment | added | Growing My Roots | I would be leaning away from using a USB stick for step 2 just because I don’t have a spare on hand that is large enough. Could purchase one though | |
| Aug 19 at 18:58 | comment | added | Growing My Roots |
I’m interested in trying what you suggested. I am getting matching contradictory info from multiple disk checker programs but probably worth trying to repair if it’s quick, safe, and easy. I am a little unsure if I have an LVM with some free space in a VG but I think so. df shows my Use% as 26% and everything else is the same (except for the Mounted on which is / for one and /home for the other) for the same file system on 2 lines of output. pvdisplay, vgdisplay and lvdisplay show nothing probably because of the read only filesystem.
|
|
| Aug 2 at 19:35 | history | edited | Hauke Laging | CC BY-SA 4.0 |
added 144 characters in body
|
| Aug 2 at 3:52 | history | edited | Hauke Laging | CC BY-SA 4.0 |
added 308 characters in body
|
| Aug 2 at 3:09 | comment | added | horsey_guy |
Yes, btrfs check --repair after a backup seems the most viable and sensible solution. I recommend the OP use something such as Clonezilla for backing up the whole partition or btrfs-clone for copying the filesystem (better option).
|
|
| Aug 2 at 1:04 | history | answered | Hauke Laging | CC BY-SA 4.0 |