[H-GEN] Moving raided hard drives to a new machine (fwd)

Johann Kwiatkowski johann at spot-the-dog.com
Sun Jun 23 01:41:52 EDT 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Thanks for the reply,
        I ended up leaving the raidtab as it should appear, and just doing a mkraid
-f /dev/md0, this rebuilt the superblock how is should be, leaving all my data in
tack. However this will only work in certain circumstances, of which mine fell into.

thanks

Johann

Robert Stanford wrote:

> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> ...
>
> >From the raidtab man page
>
> persistent-superblock 0/1
>               newly  created  RAID arrays should use a persistent
>               superblock. A persistent superblock is a small disk
>               area allocated at the end of each RAID device, this
>               helps the kernel to safely detect RAID devices even
>               if  disks have been moved between SCSI controllers.
>               It can be used for RAID0/LINEAR arrays too, to pro­
>               tect  against  accidental  disk mixups.........
>
> Read on and you should see that if you have the partition type set to fd
> then the kernel should autodetect the array at boot, this is assuming
> your kernel is configured to do so. I'd try moving your raidtab aside
> and see what appears in /proc/mdstat
>
> Robert Stanford
>
> --
> * This is list (humbug) general handled by majordomo at lists.humbug.org.au .
> * Postings to this list are only accepted from subscribed addresses of
> * lists 'general' or 'general-post'.  See http://www.humbug.org.au/

--
Johann Kwiatkowski
Spot The Dog Graphics
ph (07) 5501 5712
fax (07) 5501 5713
email: johann at spot-the-dog.com
web: www.spot-the-dog.com



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list