The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
RAID 0+1 Vs RAID 1+0 sudhansu SUN Solaris 3 11-12-2008 07:55 AM
Aix raid ? art AIX 6 09-02-2008 11:22 AM
Benchmarking hardware RAID vs. Linux kernel software RAID iBot UNIX and Linux RSS News 0 07-15-2008 04:10 AM
Sun - RAID kingdbag UNIX for Dummies Questions & Answers 6 12-06-2007 01:21 PM
RAID 1 + 0 with LVM aribault SUN Solaris 7 12-22-2005 11:00 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-08-2009
amme_psycho amme_psycho is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 4
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:
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.

Last edited by DukeNuke2; 09-09-2009 at 04:33 AM.. Reason: changed font...
  #2 (permalink)  
Old 09-08-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,574
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?
  #3 (permalink)  
Old 09-08-2009
amme_psycho amme_psycho is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 4
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...
  #4 (permalink)  
Old 09-08-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,574
???
Lets start from the beginning
give us the listing of
Code:
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...

Last edited by vbe; 09-08-2009 at 01:20 PM..
  #5 (permalink)  
Old 09-08-2009
amme_psycho amme_psycho is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 4
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?...
  #6 (permalink)  
Old 09-09-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,574
lets see how your OS is installed:
Code:
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?
  #7 (permalink)  
Old 09-09-2009
amme_psycho amme_psycho is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 4
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...
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0