[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring mdadm - Initialise superblock warning



On (13/09/06 09:51), Duncan McDonald wrote:
> Hello,
> 
> I'm a relative newbie to Debian and recently after I ran 'apt-get 
> dist-upgrade' I got the following warning:
> 
> ? Initialise the superblock if you reuse hard disks
> ?
> ? WARNING! If you are using hard disks which have a md superblock from an
> ? earlier installation in a different RAID array, you MUST zero the
> ? superblock before activating the autostart feature.
> ?
> ? For doing this, do not start the RAID devices automatically and zero the
> ? superblock (mdadm --zero-superblock /dev/xxx). You can then further use
> ? 'dpkg-reconfigure mdadm' to activate the autostart feature.
> 
> I'm running Sarge stable on a RAID1 array using two brand new hard disks, 
> so am I right in assuming that I don't need to initialize the superblock?
> 
> I've tried Google but I couldn't find anything useful. Can anyone give me 
> some pointers?

I'm no RAID expert but it sounds as though the upgrade hasn't recognised
the existing RAID setup and is trying to create a new one, which could
lose your data.

If you look at man mdadm you should be able to reassemble the existing
array.  I found these sites useful in setting up  RAID:
# http://rootraiddoc.alioth.debian.org/
# http://juerd.nl/site.plp/debianraid
# http://xtronics.com/reference/SATA-RAID-Debian.htm

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: