Jump to content
outsider

files in the config folder.

2 posts in this topic Last Reply

Recommended Posts

I've been poking around the files in the unRAID package, and as far as the files in the config/ folder go, I understand what most of them are except for the super.dat file. What is that file for? I see that it has some reference to the drives serial number that I am using...

 

Any thoughts?

Share this post


Link to post

The super.dat file contains the "superblock" structure described in this post http://lime-technology.com/forum/index.php?topic=2505.msg21363#msg21363

 

In it is the model and serial numbers of all the disks in your array, their sizes, and various timestamps describing parity calculation, array creation, etc.  The disk.cfg just has the hardware port each logical disk is connected to, not the actual model/serial numbers.

 

You can find the full "source code" of what is in super.dat by looking in the "/usr/src/linux/drivers/md/md_private.h" file after logging onto your server via telnet.

 

Basically, if you delete super.dat it will be as if you never configured your array, and it will think you are starting it for the very first time, and it will think a full parity calc is needed.  If it is corrupted, same thing. (It has checksums to validate itself)   

 

If you change a disk, either to upgrade, or because one has failed, unRAID compares the model/serial number of the new drive with what it had in the super.dat file.  If they differ, the array will not start until you perform some action on the management console web-page. (confirming the replacement)

 

Joe L.

Share this post


Link to post

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.