RAID 5 on HP-UX

Hi, i had search through this forum about the RAID 5 configurations on HPUX server (model RP5470) but only find this thread:

.. 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.

Are you saying you are using (what?) internal scsi RAID0-5 card to do raid 5 with internal disks?
All the boxes I had so far (from 1996...) with one exception (a H50) have always been external disks subsystems,(OK I asked for this configuration...) far cheaper than loading a system with internal disks...

---------- Post updated at 18:04 ---------- Previous update was at 17:54 ----------

Question:
What did you modify in order to do RAID5? Where?

yeah... i had scsi RAID card attached to my server.. and im trying to configure RAID with my iinternal disk... there is 4 disks attached to the server... from what i get from the previous thread, they modify at the disk... correct me if im wrong...

if there is a guide of how to do it step by step that can be provided, greatly help...

???
Lets start from the beginning
give us the listing of

ioscan -funC disk

---------- Post updated at 19:13 ---------- Previous update was at 19:00 ----------

I just remembered stripping a RP5450 to pieces after it had burned...
The only place where you have disks are in front and you can put 4 disks (hot swap)
they can only be:
36 GB, 15K HotPlug Ultra 160 SCSI Disk A6846A
73 GB, 15K HotPlug Ultra 160 SCSI Disk A9761A
146 GB, 10K HotPlug Ultra 160 SCSI Disk A7080A
(there are still possible 18GB disks but I doubt seriously...)
that means you are using the internal controllers, they cannot do RAID5 and its not advisable...
or you have an external disk subsystem...

svrhpc@root:>ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description

disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE HP 73.4GST373405LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 4 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST136403LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 3 0/0/2/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373405LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 73.4GST373405LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
svrhpc@root:>

***************************

for SEAGATE ST136403LC, 36GB
there is no external subsystem attached to it unless the 4 disks in front..
yes, the internal controller, the RAID card attached in my server...
why its not advisable to do that?...
if that so, what kind of RAID should i configure?...

lets see how your OS is installed:

vgdisplay -v vg00|grep dsk

Then do you know what version of OS you have (Technical, mission-critical...)which may have mirror-ux included, or if you have mirror-ux installed?

OS Installed
******************
svrhpc@root:>vgdisplay -v vg00 | grep dsk
PV Name /dev/dsk/c1t0d0
PV Name /dev/dsk/c2t2d0
PV Name /dev/dsk/c2t0d0
PV Name /dev/dsk/c1t2d0
svrhpc@root:>

OS Version
******************
svrhpc@root:>uname -a
HP-UX svrhpc B.11.00 U 9000/800 168444661 unlimited-user license
svrhpc@root:>

i might think there is no mirror-ux installed, but if installed, we will not use it because this a standalone server.. is it possible to configure RAID 5?..
because what im understand that, the RAID 5 is combination between RAID 0 and RAID 1... correct me if im wrong...

From my point of vue, I would say no because HP-UX has no software to do so, mirror-ux will do mirroring, RAID5 is achieved by specialized devices such as HP RAID160 SA Controller:
HP RAID160 SA Controller Supported RAID Configurations

You have an usupported OS (or will be very soon...), but an interesting box, do you have a tape device on it? If so I would do a make_recovery tape (man make_recovery...) and use it to reinstall the OS on one disk (vg00) then mirror it and install the rest on 1 disk (vg01) and mirror also.
Since you have 2 independant controllers I would mirror each time a disk from alternate controller.
You could also try to stripe on 2 disks (each on different controller) then mirror with the 2 other disks left...