![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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... |
|
||||
|
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 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.. |
|
||||
|
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?... |
|
||||
|
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... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|