Re: Building RAID5 w/o a Hot Spare

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

 



Michał Sawicz wrote:
Dnia 2010-01-27, śro o godzinie 09:26 -0500, Carlos Williams pisze:
I am building a Linux system which has 4 identical 'fd' partitions on
each of the 4 drives. I don't want to use the 4th partition or disk if
you would like to call it as a 'hot spare'. I would like to span the
entire array over the 4 drives. My question is does my command look
correct for doing so?

I'm not sure I understand what you want to achieve. A 'spare' disk is
one that isn't used until any of the other fail, then the spare replaces
the failed one. The term 'hot spare' is used to identify a disk that is
a mirror of one of the other drives, but there's no support for that in
Linux Software-RAID.

mdadm --create /dev/md0 --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2
/dev/sdc2 /dev/sdd2

This will create a RAID5 array of 4 devices, yes. Capacity will be 3 x
sd?2. Failure of any one of those disks will not harm the data.

A hot spare is in and spinning, or at least powered up, ready to use with software. And software raid does support putting a raid, such as raid-1 or even raid-5, or members which are raid-1 with a write mostly drive and ready to go.

--
Bill Davidsen <davidsen@xxxxxxx>
 "We can't solve today's problems by using the same thinking we
  used in creating them." - Einstein


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux