Re: Creating a RAID10 (near) for use in a CentOS 6 system

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

 



If you have 2x4TB and you want to setup the lot for booting and data, I'd recommend doing like the NAS boxes I've seen (well, only QNAP 410 IIRC). On that one, they chose to create partitions for / and swap (and perhaps /boot), and equal-ish partitions for those used for data. On those, you can place a RAID-10, or perhaps two RAID-1s and use LVM to stripe them. The latter is far more flexible, as RAID-10 lacks most of the flexibility other RAID leverls have.

If you don't need the extra IOPS from the RAID-10, I'd recommend using RAID-6 instead for even futher safety and flexibility (the ability to change to RAID-5 in need of more space, easier to grow etc).

roy

----- Opprinnelig melding -----
> I come today, hat in hand, for some suggestions on a new install with
> RAID10.
> 
> I wish to install CentOS 6 on a new system.
> I am using 4 identical drives, and do not see any need to partition
> them.
> They are 2TB Hitachi Ultrastar (enterprise)drives.
> 
> I wish to use RAID10, near
> 
> Questions:
> Syntax: Creating near vs far. Is there a specific syntax to use?
> 
> I *think* this is what I need:
> mdadm --create /dev/md0 --run --level=10 --chunk=4 --raid-devices=4
> /dev/sda /dev/sdb /dev/sdc /dev/sdd
> 
> Next question is about mdadm versions and kernels.
> CentOS 6 currently uses 2.6.32-358.2.1.el6
> Is there anything in that I should beware of?
> 
> OTOH, one may get newer kernels by enabling elrepo
> 
> http://elrepo.org/tiki/tiki-index.php
> 
> This will get me up to:
> kernel-lt-3.0.70-1.el6.elrepo
> kernel-ml-3.8.4-1.el6.elrepo
> 
> Is that desirable in this case?
> 
> Any thoughts and suggestions are most welcome..
> 
> 
> --
> Cheers,
> Maurice Hilarius
> eMail: /mhilarius@xxxxxxxxx/
> --
> 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

-- 
Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 98013356
roy@xxxxxxxxxxxxx
http://blogg.karlsbakk.net/
GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
--
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