You are on page 1of 1

configurations for RAID 0

****************
#!/bin/sh
pvcreate -f /dev/rdsk/c4t1d0
pvcreate -f /dev/rdsk/c1t1d0
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x0a0000
vgcreate -p 128 /dev/vg01 /dev/dsk/c4t1d0
vgextend /dev/vg01 /dev/dsk/c1t1d0
# -i represents number of drives you are stripping across
lvcreate -i 2 -I 128 -n lvol1 -r N /dev/vg01
lvextend -l 2046 /dev/vg01/lvol1 /dev/dsk/c4t1d0 /dev/dsk/c1t1d0
newfs -F vxfs /dev/vg01/rlvol1
fsadm -F vxfs -o largefiles /dev/vg01/rlvol1
mkdir /raid0filesystem
mount /dev/vg01/lvol1 /raid0filesystem