누군가가 첫 번째 드라이브를 잃어버린 btrfs 풀을 복구하는 데 도움을 줄 수 있기를 바랍니다. 두 번째 드라이브를 마운트하려고 시도했지만 파일 시스템 오류가 발생했습니다.
첫 번째 드라이브를 다시 읽을 수 있도록 만들었으나 파일 시스템이 손실된 것 같지만 아직 포맷되지 않았습니다. 도 아니다.
누구든지 도와주실 수 있나요?
장비:
- /dev/nvme0n1p1
- /dev/nvme1n1p1
root@blaster:~# btrfs rescue super-recover -v /dev/nvme0n1p1
No valid Btrfs found on /dev/nvme0n1p1
Usage or syntax errors
root@blaster:~# btrfs-find-root /dev/nvme0n1p1
No valid Btrfs found on /dev/nvme0n1p1
ERROR: open ctree failed
root@blaster:~# btrfs rescue super-recover -v /dev/nvme1n1p1
All Devices:
Device: id = 1, name = /dev/nvme1n1p1
Before Recovering:
[All good supers]:
device name = /dev/nvme1n1p1
superblock bytenr = 65536
device name = /dev/nvme1n1p1
superblock bytenr = 67108864
[All bad supers]:
All supers are valid, no need to recover
root@blaster:~# btrfs-find-root /dev/nvme1n1p1
Couldn't setup device tree
Superblock thinks the generation is 1799818
Superblock thinks the level is 1
Found tree root at 481771520 gen 1799818 level 1
Well block 480296960(gen: 1799817 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 467337216(gen: 1799816 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 453623808(gen: 1799815 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 438878208(gen: 1799814 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 423870464(gen: 1799813 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 408272896(gen: 1799812 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 375799808(gen: 1799811 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 354533376(gen: 1799810 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 332218368(gen: 1799809 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 319455232(gen: 1799808 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 305397760(gen: 1799807 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 289013760(gen: 1799806 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 216956928(gen: 1799801 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 201883648(gen: 1799800 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 185024512(gen: 1799799 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 171786240(gen: 1799798 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 144621568(gen: 1799797 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 112836608(gen: 1799796 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 89767936(gen: 1799795 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 63324160(gen: 1799794 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 47841280(gen: 1799793 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 30490624(gen: 1799792 level: 1) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
Well block 428605440(gen: 1798782 level: 0) seems good, but generation/level doesn't match, want gen: 1799818 level: 1
root@blaster:~# btrfs check --tree-root 481771520 --super 1 /dev/nvme1n1p1
using SB copy 1, bytenr 67108864
Opening filesystem to check...
bad tree block 479137857536, bytenr mismatch, want=479137857536, have=0
Couldn't setup device tree
ERROR: cannot open file system
root@blaster:~# btrfs check --tree-root 480296960 --super 1 /dev/nvme1n1p1
using SB copy 1, bytenr 67108864
Opening filesystem to check...
parent transid verify failed on 480296960 wanted 1799818 found 1799817
parent transid verify failed on 480296960 wanted 1799818 found 1799817
Ignoring transid failure
bad tree block 479137857536, bytenr mismatch, want=479137857536, have=0
Couldn't setup device tree
ERROR: cannot open file system
root@blaster:~# btrfs restore -iv /dev/nvme1n1p1 /mnt/user/backups/restore_cache/
bad tree block 479137857536, bytenr mismatch, want=479137857536, have=0
Couldn't setup device tree
Could not open root, trying backup super
bad tree block 479137857536, bytenr mismatch, want=479137857536, have=0
Couldn't setup device tree
Could not open root, trying backup super
ERROR: superblock bytenr 274877906944 is larger than device size 250059317248
Could not open root, trying backup super