How to make software raid on Centos 4

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



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@ares ~]# dmraid  -s
>*** Active Set
>name   : sil_afaeafbgccbgb
>size   : 640339968
>stride : 64
>type   : striped
>status : ok
>subsets: 0
>devs   : 2
>spares : 0
>[root@ares ~]# sfdisk --show-size /dev/mapper/sil_afaeafbgccbgb
>320169984
>[root@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@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@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf
>Of Johnny Hughes
>Sent: Thursday, April 07, 2005 5:41 PM
>To: CentOS ML
>Subject: Re:  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@xxxxxxxxxx
>http://lists.centos.org/mailman/listinfo/centos
>  
>


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux