[CentOS] Antwort: How can I create raid 1 - Centos 5.7 64 minimal installation

Fri Nov 18 14:21:21 UTC 2011
Andreas Reschke <Andreas.Reschke at behrgroup.com>

centos-bounces at centos.org schrieb am 18.11.2011 14:52:58:

> Adil BOYUN <adilboyun at gmail.com> 
> Gesendet von: centos-bounces at centos.org
> 
> 18.11.2011 15:13
> 
> Bitte antworten an
> CentOS mailing list <centos at centos.org>
> 
> An
> 
> centos at centos.org
> 
> Kopie
> 
> Thema
> 
> [CentOS] How can I create raid 1 - Centos 5.7 64 minimal installation
> 
> Hello,
> 
> I have a server working on centos 5.7-64 minimal installation. I have
> 3 separate physical drives:
> 
> 120 gb ssd, 2x 3tb disks for storage.
> 
> My linux installation is on ssd disk, and I want to make raid 1 for
> these two 3tb disks and store data, like under /mnt/data.
> 
> Can you please tell me the path how this is possible?
> Thanks for your help!
> 
> Best regards,
> 
> Here are some output of commands I ran for more data:
> 
> [root at CentOS-57-64-minimal tmp]# fdisk -l | grep '^Disk'
> Disk /dev/sdb doesn't contain a valid partition table
> Disk /dev/sdc doesn't contain a valid partition table
> Disk /dev/sda: 120.0 GB, 120034123776 bytes
> Disk /dev/sdb: 3000.5 GB, 3000592982016 bytes
> Disk /dev/sdc: 3000.5 GB, 3000592982016 bytes
> 
> [root at CentOS-57-64-minimal tmp]# df -l
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sda3            113695432   1427792 106537696   2% /
> /dev/sda2               520136     23576    470348   5% /boot
> 
> [root at CentOS-57-64-minimal tmp]# fdisk -l
> 
> Disk /dev/sda: 120.0 GB, 120034123776 bytes
> 64 heads, 32 sectors/track, 114473 cylinders
> Units = cylinders of 2048 * 512 = 1048576 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               2        2048     2096128   82  Linux swap / 
Solaris
> /dev/sda2            2049        2560      524288   83  Linux
> /dev/sda3            2561      114473   114598912   83  Linux
> 
> Disk /dev/sdb: 3000.5 GB, 3000592982016 bytes
> 255 heads, 63 sectors/track, 364801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> Disk /dev/sdb doesn't contain a valid partition table
> 
> Disk /dev/sdc: 3000.5 GB, 3000592982016 bytes
> 255 heads, 63 sectors/track, 364801 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> Disk /dev/sdc doesn't contain a valid partition table
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

Hi Adil,
please look at http://wiki.centos.org/FAQ/CentOS5 (10. How do I install a 
software RAID on CentOS 5?)
 
 
Gruß 
Andreas Reschke
________________________________________________________________

Unix/Linux-Administration
Andreas.Reschke at behrgroup.com