- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- RAID 5 configurations on HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 12:17 AM
тАО09-10-2009 12:17 AM
from another forum, there are some configuration that might help me to configure the RAID 5, configurations that i get as below:
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
exit
configurations for 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
************************
here is my pre-configure RAID 5
pre-configurations for 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 /raid5fs
mount /dev/vg01/lvol1 /raid5fs
vgextend /dev/vg01 /dev/dsk/c1t1d0
lvextend -m 1 /dev/vg01/lvol1
exit
mount /dev/vg01/lvol1 /raid5fs
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 or not, or how i want to make sure that it run as RAID 5 or not..
hope someone could help me on this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 12:41 AM
тАО09-10-2009 12:41 AM
SolutionCheck in ioscan!
Just in case it is a RAID4si, the management tool is "irm".
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 01:32 AM
тАО09-10-2009 01:32 AM
Re: RAID 5 configurations on HP-UX
Logical volume manager (all the pv*, lv* and vg* commands you've been running) implements Software RAID, but does _not_ support RAID 5, it can do RAID0 and RAID1 only (plus some pseudo-RAID1+0 stuff if you fiddle about enough with it)
In your system you mention you have a RAID card - this is hardware RAID - completelt different to LVM and works at a much lower level - Torsten has pointed you at the tool to use to manage that.
For hardware RAID, once a RAID device has been created it will appear as just another disk device (/dev/dsk/cXtYdZ) which you can then use directly or put under LVM control.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 04:58 AM
тАО09-10-2009 04:58 AM
Re: RAID 5 configurations on HP-UX
Your question suggests that you want to implement in software. That is a "bad idea", because a well performing raid-5 requires specialized, and battery backup protected, caches to assists.
You want to build on top of HARDWARE provided raid-5, as others mention.
also... fwiw... while 3 is indeed the minumum number of disks to do raid-5, it is again a 'bad idea' only to be considered when there are no alternatives (no more drive slots).
Using 3 disks, the storage space overhead for raid-5 is 33% (1/3). You might as well using raid-01 with 50% storage overhead (1/2) but 100% more performance potential.
hth,
Hein van den Heuvel
HvdH Performance Consulting.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1168258
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 05:03 AM
тАО09-10-2009 05:03 AM
Re: RAID 5 configurations on HP-UX
Any other option is HW Array and software does not really care about the way that the HW controls the redundancy.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 05:31 AM
тАО09-10-2009 05:31 AM
Re: RAID 5 configurations on HP-UX
As said by others, if you have a RAID card installed, you need to use the appropriate utilities with it to configure hardware RAID.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 07:20 PM
тАО09-10-2009 07:20 PM
Re: RAID 5 configurations on HP-UX
thanks again.