Hi, i had search through this forum about the RAID 5 configurations on HPUX server (model RP5470) but only find this thread:
RAID 0 on Unix
.. there are two way to configure the RAID that provided from this thread
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
exit
RAID 1
****************
#!/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
lvcreate -n lvol1 /dev/vg01
#extents number will vary
lvextend -l 1023 /dev/vg01/lvol1
newfs -F vxfs /dev/vg01/rlvol1
fsadm -F vxfs -o largefiles /dev/vg01/rlvol1
mkdir /raid1filesystem
mount /dev/vg01/lvol1 /raid1filesystem
vgextend /dev/vg01 /dev/dsk/c1t1d0
#this part may take a while...the more you mirror the longer it takes
lvextend -m 1 /dev/vg01/lvol1
exit
************************
for your information, my HP-UX server (model RP5470) had its RAID card attached to it, so, the server should can configure RAID 5 without any problem. Right now, i had manage to modify the configuration so that it would be run as RAID 5... but i dont know whether it can be act like i want to run or not, or how i want to make sure that it run as RAID 5 or not..
here is my pre-configure RAID 5
RAID 5
****************
#!/bin/sh
#minimum disk for RAID 5 required = 3
pvcreate -f /dev/rdsk/c4t1d0 <--disk1
pvcreate -f /dev/rdsk/c1t1d0 <--disk2
pvcreate -f /dev/rdsk/c2t1d0 <--disk3
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x0a0000
vgcreate -p 128 /dev/vg01 /dev/dsk/c4t1d0
lvcreate -n lvol1 /dev/vg01
#extents number will vary
lvextend -l 1023 /dev/vg01/lvol1
newfs -F vxfs /dev/vg01/rlvol1
fsadm -F vxfs -o largefiles /dev/vg01/rlvol1
mkdir /raid1filesystem
mount /dev/vg01/lvol1 /raid5fs
vgextend /dev/vg01 /dev/dsk/c1t1d0
lvextend -m 1 /dev/vg01/lvol1
exit
mount /dev/vg01/lvol1 /raid5fs
exit
*************************
hope someone could help me on this.