Jump to content

Unmountable FS after Data-rebuild


Go to solution Solved by JorgeB,

Recommended Posts

I have only one parity and 2 disks in my system. Recently one of my disk(disk1) had read errors and the system disabled that disk. I have no choice but to replace that bad disk with a new one. As many topics have said. Just replace disk in the array slot and the system will automatically rebuild data with out any other procedures.

While tragedy happened here. When the rebuilding finished. A notice that "Unmountable: no or wrong filesystem." was on the disk. While I used the btrfs in the former disk so I tried to run "btrfs check" to see whether there was a filesystem error. Unfortunately, the tools shows that "cannot read chunk-tree". I tried lots of things including btrfs rescue but nothing happened. It was stiil unmountable. 

 

Is there any way to bring my data back? There was no valuable logs since I've reboot systems for lots of times.

Link to comment

The disk1 reported below when check status of btrfs:

 

Couldn't read tree root
Could not open root, trying backup super
parent transid verify failed on 240418816 wanted 33573 found 33543
parent transid verify failed on 240418816 wanted 33573 found 33543
parent transid verify failed on 240418816 wanted 33573 found 33543
Ignoring transid failure
ERROR: root [1 0] level 2 does not match 0

Link to comment
6 hours ago, xyseer said:

parent transid verify failed on 240418816 wanted 33573 found 33543

This error is fatal, it means some writes were lost, it can happen if a storage device lies about flushing it's write cache, this is usually a drive (or controller) firmware problem.

 

You can try btrfs restore (option #2 here) but doubt it will work the way the fs is, if it does then the device will need to be formatted and the data restore.

Link to comment

So, you mean that if 'btrfs restore' cannot bring the files back, then all my data will be lost?

(Since I've tried restore yesterday however it cannot restore anything. Even using btrfs-find-root together with btrfs restore in order to manually recover some data has failed😭)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...