[Gllug] RAID 1 and RAID 5
Xander D Harkness
xander at harkness.co.uk
Wed Dec 4 14:38:42 UTC 2002
Daniel Andersson wrote:
> i'm assuming you're speaking about a HW solution?
> then it's up to the HW, but most of them (the ones i've dealt with at least)
> doesn't support that
>
> if you want to change the raid you have to rebuild the entire thing (ie
> delete raid-device and add it back in)
> destroying all the data..
It is a software solution that runs from the /etc/raidtab file:
raiddev /dev/md0
raid-level 5
nr-raid-disks 2
nr-spare-disks 0
parity-algorithm left-symmetric
chunk-size 32
persistent-superblock 1
device /dev/hda1
raid-disk 0
device /dev/hdc1
raid-disk 1
# failed-disk 1
What I have just noticed and the maikraid did not complain about was
that the raidtab is already set to raid 5.
I managed a raid 5 with one disk ;-) (one working, one failed....)
So there should not be a problem adding a third, or would someone like
to disagree?
Kind regards
Xander
>
> / d
>
> ----- Original Message -----
> From: "Xander D Harkness" <xander at harkness.co.uk>
> To: <gllug at linux.co.uk>
> Sent: Wednesday, December 04, 2002 2:20 PM
> Subject: [Gllug] RAID 1 and RAID 5
>
>
>
>>Does anyone know if I can convert a Raid 1 device to a RAID 5 array by
>>changing the raidtab from 1 to 5 and adding a failed device.
>>
>>I am trying to do a hotadd and expand the raid 1 setup.
>>
>>In short will I kill my data? :-)
>>
>>Kind regards
>>Xander
>>--
>>When you are in it up to your ears, keep your mouth shut.
>
>
>
--
fenderberg, n.:
The large glacial deposits that form on the insides
of car fenders during snowstorms.
-- "Sniglets", Rich Hall & Friends
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list