创建RAID:
fdisk--->n--->t(type 为fd)--->w :hdb1,hdc1,hdd1
mdadm -C /dev/md0 -l5 --raid-devices=3 /dev/hd[bcd]1
mkfs -t ext3 /dev/md0
mount -t ext3 /dev/md0 /mnt
创建逻辑卷:
pvcreate /dev/md0
vgcreate /dev/md0
lvcreate -n lvOne -L50M myvg
lvcreate -n lvTwo -L60M myvg
mkfs -t ext3 /dev/mapper/myvg-lvOne
mkfs -t ext3 /dev/mapper/myvg-lvTwo
mkdir /mnt/lvOne
mkdir /mnt/lvTwo
mount -t ext3 /dev/myvg/lvOne /mnt/lvOne
mount -t ext3 /dev/myvg/lvTwo /mnt/lvTwo
li659258510 于 2009-03-24 15:06:39发表:
:0w5ty(1