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.

Data Recover (reiserfsck --rebuild-tree) - drive not mounting after?

Featured Replies

Hi everyone,

 

I hope someone can help.  Joe L. - hope you see this.

 

So a friend of mine deleted all the folders and files inside a usershare.  It was an important folder and he really needs to try to get the data back.  His system is setup as:

 

Parity: 2TB

Drive 1: 1.5 TB

Drive 2: 1.5 TB

Drive 3: 1.5 TB

 

The share was spread across all 3 disks.  I tried to run the reiserfsck --rebuild-tree command shown in another thread.  I ran the command on Disk 3 since that drive had only about 30GB of data on it (which I copied to another drive not on the system just in case.

 

Unraid was started as I did the following:

 

1. turned off samba.

2. unmounted md3

Refreshed the unraid web interface and Drive 3 showed as unformatted.

3. Ran: reiserfsck --check /dev/md3

no corruption found

4. Ran: reiserfsck --rebuild-tree -S /dev/md3

5. Tried to remount MD3 and got the error below.

Unraid still shows the drive as unformatted.

 

Can I just add md3 to the mtab file and then try to remount?  I have that file below as well.

 

Pass 3 showed the following:

 

####### Pass 3a (lost+found pass) #########

Looking for lost directories:

relocate_dir: Moving [2 14 0x0 SD (0)] to [2 781 0x0 SD (0)]

relocate_dir: Moving [2 14 0x1 DIR (3)] to [2 781 0x1 DIR (3)]

/2_781get_next_directory_item: The entry ".." of the directory [2 781] pointes to [2 5], instead of [2 780] - corrected

rebuild_semantic_pass: The entry [2 18] ("Info.plist") in directory [2 781] points to nowhere - is removed

vpf-10650: The directory [2 781] has the wrong size in the StatData (112) - corrected to (80)                                                                                                            Looking for lost files:

rewrite_file: 11 items of file [166 168] moved to [166 782]

Flushing..finished

        Objects without names 2

        Dirs linked to /lost+found: 1

        Files linked to /lost+found 1

        Objects having used objectids: 2

                files fixed 1

                dirs fixed 1

Pass 4 - finished      done 0, 0 /sec

        Deleted unreachable items 30

Flushing..finished

Syncing..finished

###########

reiserfsck finished at Tue Nov 30 04:17:10 2010

###########

root@data:~#

root@data:~# mount /dev/md3

mount: can't find /dev/md3 in /etc/fstab or /etc/mtab

root@data:~#

 

 

MTAB FILE:

 

fusectl /sys/fs/fuse/connections fusectl rw 0 0

usbfs /proc/bus/usb usbfs rw 0 0

/dev/sde1 /boot vfat rw,noatime,nodiratime,umask=0,shortname=mixed 0 0

/dev/md2 /mnt/disk2 reiserfs rw,noatime,nodiratime,noacl,nouser_xattr 0 0

/dev/md1 /mnt/disk1 reiserfs rw,noatime,nodiratime,noacl,nouser_xattr 0 0

shfs /mnt/user fuse.shfs rw,nosuid,nodev,noatime,allow_other,default_permissions 0 0

 

 

Please help.  I'm looking to do this for the other 2 drives, but want to make sure that I don't mess anything up with those drives because they contain lots of data.  I'm hoping to just remount that drive and have UNRAID see it as not formatted.  I then want to browse disk 3 and go to the lost+found folder to see if it recovered anything.  I don't think there was much to recover on this drive.  I think most of the files in the share were on Disk 1 and Disk 2

The reason the "mount" failed is that you did not type the entire command needed.

 

You would need to type

mount /dev/md3 /mnt/disk3

 

Or, even more easy, you could stop the array, and then re-start it, and unRAID would mount it for you.  It would also start SAMBA so you could see the lost+found folder it created via the LAN as a new share.

 

Joe L.

  • Author

Thanks, Joe.  I was hoping it was something simple like that.  I'll give that a try and see what happens!

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.