Use the raidhotadd utility. This updates the raid superblock on all the
disks in the raid set to know about the spare. This information is
remembered and does not need to be done again.
<>< Lance
----- Original Message -----
From: Johan Ekenberg <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 23, 1999 6:15 AM
Subject: Adding a spare-disk
> I use RAID-5 with 5 disks, using the RAID array for the entire
filesystem -
> booting from a floppy. Kernel 2.2.13ac2, raidtools 0.90.
> Persistent-superblock is set to 1 and there is no spare-disk. I just got
an
> extra disk and want to add it as a spare-disk. How can I update the
> configuration without destroying any data?
>
> NB, I don't want to expand or change the array in any way, just make the
> system know that there is an extra disk ready to kick in if one of the
> current disks crashes. The new disk is formated like the others, and I
> updated raidtab to include the new spare-disk.
>
> The man-page for mkraid says:
> "Note that initializing RAID devices destroys all of the data on the
> consituent devices."
>
> This is a production system and I'm really afraid to mess up. What shall I
> do?
>
> Best regards, and a Merry Christmas
> /Johan Ekenberg
>
>