Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I tried searching for this answer, but all of the pages just use the term 'superblock' without defining what it is.

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

To help protect against loss/corruption, filesystems (and sometimes RAID arrays, depending on configuration) will store copies of its critical configuration information (partition size, block size, journal location, type, etc.) in several different locations throughout the physical disk. This way if the main copy of the fs configuration is lost, it can restore from one of the superblocks. The locations where this metadata is stored are called superblocks.

share|improve this answer
add comment

It's a part of the partition reserved for the software/firmware that manages the drives, Linux MD driver uses few last sectors for example.

The contests of them are usually quite simple: the array identifier (usually a UUID), number of drives in the array, array layout (whatever it's a RAID1, RAID5, etc., length of stripe), some do contain additional information: precise location of other devices in the array, or even UUIDs of specific devices forming the array.

Linux MD driver uses this space also for internal write intent log.

mdadm -Q --examine /dev/hda1

will show you most contents of the MD RAID superblock.

share|improve this answer
    
Just want to say your answer was also helpful, but I can't upvote it due to not having enough reputation. –  Phineas Oct 8 '10 at 21:50
    
No problem, just helping people here, reputation is this little extra. Saying thanks is enough :) –  Hubert Kario Oct 8 '10 at 21:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.