Lvm2 raid0

make mount point directory

mkdir /mnt/backup

initialize disks

pvcreate /dev/sdc1
pvcreate /dev/sdd1

display what you just made

pvdisplay

cretae volume group

vgcreate storage /dev/sdc1 /dev/sdd1
vgchange -a y storage

display what you just made

vgdisplay

create a logical volume to use entire drive space use command to find the size

vgdisplay testvg | grep "Total PE"

then create a logical volume

lvcreate -l 190774 -nbackupLV storage

display what you just made

lvdisplay

format to you file system new volume

mkfs.ext3 /dev/storage/backupLV

mount volume to mount point

mount -t ext3 /dev/storage/backupLV /mnt/backup
Printed from: http://www.maugustyniak.com/2010/06/lvm2-raid0/ .
© misiek303 2010.

Related Post

Leave a Reply