[CentOS] How to make software raid on Centos 4
Bank
kultawat at 126.com
Thu Apr 7 11:22:49 UTC 2005
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 :)
More information about the CentOS
mailing list