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


Recommended Posts

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

Link to comment

 

 

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

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.