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.

Bad magic number?

Featured Replies

Hello, I'm trying to recover a file I accidentally deleted (and am hoping I haven't yet overwritten) from my unRAID server using the debugfs tool.  The problem I'm running into is that whenever I try to open a filesystem, I get this message "Bad magic number in super-block while opening filesystem" and have no idea what that is, and google has not really been my friend either with this one.  I'm hoping someone here can help me get past this and recover the file (presuming it is still there).  I'm running unRAID 4.5.6 currently.  Thanks.

I don't think debugfs supports reiserfs. Why are you not using reiserfsck? I hope you have a full backup of the rest of the files, because running file system tools can be risky. If the data is important and not backed up anywhere, you really should be working on a dd copy of the drive in question and leave the original alone.

 

There is a good reason data recovery is a high $$$$ business.

  • Author

I'm not using reiserfsck because I'm not really a linux guy and didn't know about it.  So far the attempt has been limited to what I've found on Google.  So, there is only 1 deleted file that I care about, and though it would be a pain in the a**, I could make it new.  the most important thing is no to cause problems with any other files, which are all more critical than this one.  I just thought if I could find a relatively easy way to get it back, that would be great.  Ironically, I thought the file I deleted was the backup, I'd forgotten that I moved the main file over to the server to provide some protection.

If you want to attempt recovery of that one file, back up all your important files first, then post back for more help with the specific commands you can try.

 

As you have just found out, having files on a fault tolerant server is no substitute for a proper backup.

 

Also, don't write any files to the drive you wish to try to recover. Deleting a file marks the space as available for new files, so anything you add to that drive may overwrite what you are trying to recover.

 

Recreating the single deleted file may be less of a PITA than trying to undelete it, but in any case you need to figure out a backup strategy.

  • Author

Well, I have a (mostly) proper backup, I just didn't update the backup set when I moved that file to a new location, oops.  99% of that server houses media (about 9 tb worth), which I don't back up, but don't want to mess up either, so I guess I'll just recreate the doc, and make sure the new one is in the backup set correctly.

 

Thanks for the input, thought it would end up this way, but wanted to be sure before I gave up.

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.