Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Running rebuild tree on emulated disk

Featured Replies

Running 6.0.1 ReiserFS

 

I lost a disk (md7) and tried to rebuild md7.

 

On the rebuild using two different disks, I got this:

 


Aug 12 12:06:23 Tower kernel: REISERFS warning: reiserfs-5090 is_tree_node: node level 31374 does not match to the expected one 2
Aug 12 12:06:23 Tower kernel: REISERFS error (device md7): vs-5150 search_by_key: invalid format found in block 419397763. Fsck?
Aug 12 12:06:23 Tower kernel: REISERFS error (device md7): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [4565 5071 0x0 SD]
Aug 12 12:06:23 Tower kernel: REISERFS warning: reiserfs-5090 is_tree_node: node level 31374 does not match to the expected one 2
Aug 12 12:06:23 Tower kernel: REISERFS error (device md7): vs-5150 search_by_key: invalid format found in block 419397763. Fsck?
Aug 12 12:06:23 Tower kernel: REISERFS error (device md7): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [4565 7549 0x0 SD]
Aug 12 12:06:23 Tower kernel: REISERFS warning: reiserfs-5090 is_tree_node: node level 31374 does not match to the expected one 2
Aug 12 12:06:23 Tower kernel: REISERFS error (device md7): vs-5150 search_by_key: invalid format found in block 419397763. Fsck?
Aug 12 12:06:23 Tower kernel: REISERFS error (device md7): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [4565 5072 0x0 SD]

 

 

I am currently running in Maintenance mode and executed the following on the emulated disk:

 

root@Tower:~# reiserfsck --fix-fixable /dev/md7
reiserfsck 3.6.24

Will check consistency of the filesystem on /dev/md7
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Wed Aug 12 12:25:46 2015
###########
Replaying journal: Done.
Reiserfs journal '/dev/md7' in blocks [18..8211]: 0 transactions replayed

 

 

My question while waiting on what will almost certainly be a tree rebuild...

 

What should be the command to rebuild the tree on an emulated disk?

 

Any gotchas?

 

 

Thanks!

 

 

  • Community Expert

My question while waiting on what will almost certainly be a tree rebuild...

 

What should be the command to rebuild the tree on an emulated disk?

Just use --rebuild-tree in place of the --fix-fixable.

 

At some point you will need to force unRAID to do a rebuild onto a physical drive to remove the need for the emulation and get back to a protected state.

  • Author

Thanks  itimpi

 

Sorry, but I want to make sure I follow you.

 

At some point you will need to force unRAID to do a rebuild onto a physical drive to remove the need for the emulation and get back to a protected state.

 

I assume this means a rebuild from parity NOT an additional Reiser --rebuild-tree on the new physical disk that is no longer emulated.

 

Thanks again!

  • Community Expert

Thanks  itimpi

 

Sorry, but I want to make sure I follow you.

 

At some point you will need to force unRAID to do a rebuild onto a physical drive to remove the need for the emulation and get back to a protected state.

 

I assume this means a rebuild from parity NOT an additional Reiser --rebuild-tree on the new physical disk that is no longer emulated.

One would normally refer to the reiserfsck run as a 'repair' rather than a rebuild.  In unRAID the term rebuild normally refers to the process of transferring the contents of an emulated drive back to a physical drive. 

 

Note that a rebuild is not just using parity - it uses the combination of all the other data drives plus the parity drive to rebuild the target data drive.  This is why all the other data drives need to be healthy for a rebuild to be successful.

  • Author

Great. Thanks.

 

Running Reiser rebuild ^H^H^H^H^H^H^H^H repair now.

 

Looks ~ 38 hrs to go.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.