[CentOS] How to make software raid on Centos 4
Peter Farrow
peter at farrows.org
Thu Apr 7 11:28:53 UTC 2005
I note that in the debian RAID is says to make two swap parititions of
equal priority,
A better way is to layer swap on a proper mirrored raid device instead,
this way the machine will still boot if one drive fails,
rather than complaining about missing swap...
P.
Bank wrote:
>I use dmraid as you see in.
>http://www.net-forums.net/forums/Mounting_Ntfs_Partions_On_Raid_0_Device-t19
>791.html
>
>
>my mainboard is MSI RS480 M2
>http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=
>639
>CPU AMD 64 3000+
>HDD Segate 20G IDE
> Maxtor 160G SATA x 2
>
>My mainboard have silicon image SATA Raid controller building.
>Then I compile kernel 2.6.11 and enable data-mapper module.
>
>And I create Maxtor 160G x 2 to raid 0 .
>[root at ares ~]# dmraid -s
>*** Active Set
>name : sil_afaeafbgccbgb
>size : 640339968
>stride : 64
>type : striped
>status : ok
>subsets: 0
>devs : 2
>spares : 0
>[root at ares ~]# sfdisk --show-size /dev/mapper/sil_afaeafbgccbgb
>320169984
>[root at ares ~]# sfdisk --show-size /dev/mapper/sil_afaeafbgccbgb1
>320167386
>
>Every thing seem to be OK, but when I mount /dev/mapper/sil_afaeafbgccbgb1
>and use command df.
>
>[root at ares ~]# df
>Filesystem 1K-blocks Used Available Use% Mounted on
>/dev/hda3 36384656 2596712 31939668 8% /
>/dev/hda1 101105 46194 49690 49% /boot
>none 504892 0 504892 0% /dev/shm
>/dev/mapper/sil_afaeafbgccbgb1
> 160074724 17954072 142120652 12%
>/home/topwarez.com/torrent/httpd/users
>
>Why the system show a half size (160074724 ) of my raid array.
>
>
>
>
>
>-----Original Message-----
>From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf
>Of Johnny Hughes
>Sent: Thursday, April 07, 2005 5:41 PM
>To: CentOS ML
>Subject: Re: [CentOS] How to make software raid on Centos 4
>
>On Thu, 2005-04-07 at 17:33 +0700, Bank wrote:
>
>
>>My mainboard have SATA Raid function (sata_sil).
>>
>>I want to create software raid on Centos 4, but I can't see mkraid
>>
>>
>packeage.
>
>
>>How would I create software raid 0 on centos 4.
>>
>>
>>
>
>use the program:
>
>mdadm
>
>see "man mdadm" for details :)
>
>
>_______________________________________________
>CentOS mailing list
>CentOS at centos.org
>http://lists.centos.org/mailman/listinfo/centos
>
>
More information about the CentOS
mailing list