hi all.
i can’t find a solution to my problem, so i hope it’s fine to start a new topic (and hopefully in the right category)
i had a 100GB (99%full) btrfs root. so i mounted a 30GB USB stick and added it to root. then i did a btrfs balance, and started to delete some timeshift backups**, to create empty space. meanwhile, while i’m working on, the system slowly shuttet down (no clue why!), so in the the end i couldn’t type any command in the terminal (somthing like “couldn’t auto complete command…” after each new letter). and after a reboot the system couldn’t start again.
in a trace of novice panic, i created a live usb stick, what was unluckily the usb device i added to my root volume before.
i installed the newest manjaro from this stick on an empty harddisk and tried to recover my old btrfs root volume, where is one device missing now.
what i have done yet:
# mount /dev/sdb2 /mnt
mount: /mnt: fsconfig-Systemaufruf ist fehlgeschlagen: Datei oder Verzeichnis nicht gefunden.
dmesg(1) könnte nach einem fehlgeschlagenen mount-Systemaufruf
weitere Informationen liefern.
# btrfs check /dev/sdb2
Opening filesystem to check...
bad tree block 207186542592, bytenr mismatch, want=207186542592, have=0
Couldn't read tree root
ERROR: cannot open file system
# btrfsck /dev/sdb2
Opening filesystem to check...
bad tree block 207186542592, bytenr mismatch, want=207186542592, have=0
Couldn't read tree root
ERROR: cannot open file system
# btrfs filesystem show
Couldn't read tree root
Label: 'Manjaro S' uuid: 8ca6a712-532c-4a31-91f9-2320037ae9e8
Total devices 2 FS bytes used 84.70GiB
devid 1 size 97.66GiB used 86.06GiB path /dev/sdb2
*** Some devices missing
# mount -t btrfs -o rootflags=recovery,nospace_cache,clear_cache /dev/sdb2 /mnt/test/
mount: /mnt/test/: fsconfig system call failed: btrfs: Unknown parameter 'rootflags'.
# btrfs subvolume list /dev/sdb2
ERROR: not a directory: /dev/sdb2
ERROR: can't access '/dev/sdb2'
# mount -o ro,nodatacow /dev/sdb2 /mnt
mount: /mnt: fsconfig-Systemaufruf ist fehlgeschlagen: Datei oder Verzeichnis nicht gefunden.
# btrfs restore /dev/sdb2 /run/media/x/backup
bad tree block 207186542592, bytenr mismatch, want=207186542592, have=0
Couldn't read tree root
Could not open root, trying backup super
bad tree block 207186542592, bytenr mismatch, want=207186542592, have=0
Couldn't read tree root
Could not open root, trying backup super
ERROR: superblock bytenr 274877906944 is larger than device size 104857600000
Could not open root, trying backup super
# btrfs rescue chunk-recover /dev/sdb2
Scanning: DONE in dev0
open with broken chunk error
# btrfs rescue fix-device-size /dev/sdb2
Couldn't read tree root
ERROR: could not open btrfs
# btrfs rescue clear-ino-cache /dev/sdb2
Couldn't read tree root
ERROR: could not open btrfs
# btrfs rescue super-recover /dev/sdb2
All supers are valid, no need to recover
# btrfs rescue zero-log /dev/sdb2
Couldn't read tree root
ERROR: could not open ctree
as you maybe can see: i am a total beginner, and copied the commands from researching in some forum for similar problems. without success yet.
**on this point i realised that timeshift with btrfs can only do backups on the same device than creating from, so all my backups are on this volume.
hopefully someone here can help me !?
Thanks a lo and best regards