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.

Looking for a mechanism that creates a catalog of what is stored on what disk

Featured Replies

Hi fellow unRIADers,

When I started using unRAID, I only had 4 drives. I am now upto 16 drives and growing. The other day, a horrible thought occurred to me - If one of the drives were to fail, I om OK. BUT, if 2 or more drives failed, I would lose all the data stored on those drives.

 

 

So my question is this: does anyone have a mechanism (an app, plugin, script, etc) that creates a catalog of what is stored on what disk on a scheduled basis? If not, I can always script it. I would prefer not having to reinvent the wheel.

 

 

Thanks

 

 

output the following to a file should do the trick

 

ls -l /mnt/ | grep disk | ls -lR /mnt/`awk -F " " '{print $8}'`

 

 

 

 

  • Author

Wow. Thanks for the fast response and the great one-liner.

 

 

I just play with the syntax to get the output in the format I want (i.e. suppress all those silly back slashes...) and then onto cron.

 

 

Thanks again

 

 

output the following to a file should do the trick

 

ls -l /mnt/ | grep disk | ls -lR /mnt/`awk -F " " '{print $8}'`

 

actually I was getting too fancy there. mind was wrapped up in the middle of another script for work I was working on.

 

simplier version. output to file following line:

 

ls -lR /mnt/disk* 

 

d'oh

Thanks graywolf, your command line is now part of a script in my /etc/cron.monthly

There was work being done by one for the senior (not in an old sense :P  )  guys on the forum with a little more elaborate solution.  Not that it is really needed but it had some features.  Currently I have a similar script running on a cron job also

 

Sent from my SM-N900W8 using Tapatalk

 

 

Could also use md5deep to also get a checksum of the files and that could be used periodically to check for bit rot.  It produces one line for each file listing the checksum so you also get your file list.

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.