Open musicomputer-tao opened 2 weeks ago
Believe it or not. To recover BTRFS you can simple recreate the partition (best done under Linux usbpen) and your files should for the most part be there. There is no need to go through recovery processes which rarely work.
You may still need to scrub and check the recovered partition afterwards however, but yeah, if you loose a btrfs partition, just manually recreate it, should work most times.
This is a demanding and awesome project, great and useful, I think. And I've met some problems, after I installed the drivers.
Env: The hard disk drive, ST3000NM0033(CMR). Its part table includes two btrfs partitions, Medium_Btrfs(650GB in Linux) and Lagging_Btrfs(568GB in Linux).(No btrfs part is in other disks.) I've created these in Debian11 with KDE partition tool.(In my mind, but maybe wrong.) I've used, Windows(11 22631 22000, 10 19045[in most] 17763[not less before], 8.1[sometimes], 7) and Debian(11 and 12, only stable). (I use zh-cn, Simplified Chinese in system. So maybe some words in files you can't understand.)![Screenshot--All_part_of_ST3000NM0033_20240620_210321](https://github.com/maharmstone/btrfs/assets/29331943/d4c85bdc-9445-4213-8c22-4820258df371)
These are problems I've met all about: (If you like one problem per one issue, I can alt.)
The result of scrub ran: 检查btrfs分区(显式输出)--20231112.txt Scan the disk with Victoria (Scan for bad track of Disk)(After this event, on 2024-05-11): 扫描ST3000NM0033-结果一个警告-20240511.txt Ran btrfs check for it: btrfs-20231113.txt (And one more, information mixes with another, in below.)
(Lagging_Btrfs went been read only.) (In my memory) I used uTorrent portable 3.5, downloaded files to Lagging_Btrfs. It has free space.(In my memory, I checked for this several times, in btrfs tab of its attribute.) But it was not able to been writable. I've solved this, by used btrfs check --init-extent-tree. (And it ran in two to three days.) (A few free space of the part -- download and download -- suddenly the part went only readable)
(Lagging_Btrfs went not readable.) (I've updated WinBtrfs driver version to 1.9 before this.) I installed Windows 8.1 in a VHDX, I wanted to do something awesome. I've found "balance" in btrfs tab of attribute of Lagging_Btrfs. I tried to make it start (balance).(For metadata and system, exclude data.) But, there was something wrong appeard.(Explorer, It lost its response, it should be.) I restated computer, to Windows10, to Debian12, but Lagging_Btrfs was not readable. I've tried all btrfs tools, in documents on Internet I've found. Oh no.(There was a few free space in Lagging_Btrfs. ) (If I can accept losing balance effect, can I fix it?) (Start Balance for the part, start for metadata and system, exclude data, and only a few free space in the part.-- The part became not readable or mountable.) There are for files of information for it, most by btrfs tools in Debian 12: btrfs check _dev_sda14--Lagging_Btrfs---20240330.txt btrfs insp dump-t -b xxx --fllow dev_sda14 --202404.txt btrfs-find-root _dev_sda14--Lagging_Btrfs---20240405.txt (This is hexdump for RAW data of two btrfs part:) hexdump_btrfs_part-202404.txt
At last, can you help to me fix two parts? I wonder at least, the directory structure of Medium_Btrfs (Because there is much software in it. Many files of software can be looked for one more time, but how much software I want to know.), to fix Lagging_Btrfs to readable and writable (Can I use sudo btrfs check --tree-root 366176223232 --repair /dev/sda14 to fix?) . @maharmstone
If you must help each other. I've made a tip for Readme to stop btrfs driver loading while Windows starting. (To prevent BSOD, if there is Btrfs part failed to mount.) I will pull a request soon. And, I've translate Readme to Chinese partly before. I'll translate done when I can allocate enough time for it. (I can just use Chinese and English, and I don't have friends in translate group. But I can make a post in digital forum. Have you thought of translate Readme to other languages?)
Thanks for replies.
These things before, are really bad things for me, in my memory. So, I make the issue until today.