Sponsored Content
Full Discussion: RAID 5 on HP-UX
Operating Systems HP-UX RAID 5 on HP-UX Post 302351392 by amme_psycho on Tuesday 8th of September 2009 11:43:04 AM
Old 09-08-2009
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 05:33 AM.. Reason: changed font...
 

9 More Discussions You Might Find Interesting

1. Solaris

RAID 0+1 Vs RAID 1+0

hi all...sudhansu here............ i need some help.......... what is RAID 0+1 and RAID 1+0.............what is the difference between them................ suppose i have 80 gb disk space,then which RAID level i follow n why......... i need redundancy n maximum storage..........please help (3 Replies)
Discussion started by: sudhansu
3 Replies

2. Solaris

Raid 0

Somebody can help me ! how can i do mirror in sun ver 8 without third party software !!! (3 Replies)
Discussion started by: goldfelda
3 Replies

3. UNIX for Dummies Questions & Answers

RAID software vs hardware RAID

Hi Can someone tell me what are the differences between software and hardware raid ? thx for help. (2 Replies)
Discussion started by: presul
2 Replies

4. Solaris

implementing RAID 1 from RAID 5

Dear ALl, I have a RAID 5 volume which is as below d120 r 60GB c1t2d0s5 c1t3d0s5 c1t4d0s5 c1t5d0s5 d7 r 99GB c1t2d0s0 c1t3d0s0 c1t4d0s0 c1t5d0s0 d110 r 99GB c1t2d0s4 c1t3d0s4 c1t4d0s4 c1t5d0s4 d8 r 99GB c1t2d0s1 c1t3d0s1... (2 Replies)
Discussion started by: jegaraman
2 Replies

5. Solaris

Creation of Raid 01 and Raid 10

Hello All, I have read enough of texts on Raid 01 and Raid 10 on solaris :wall: . But no-where found a way to create them using SVM. Some one pls tell me how to do or Post some link if that helps. TIA Curious solarister (1 Reply)
Discussion started by: Solarister
1 Replies

6. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

Hello, I have a scsi pci x raid controller card on which I had created a disk array of 3 disks when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk ) suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies

7. UNIX for Dummies Questions & Answers

Need help with RAID.

Hi Gurus, Can any one explain me the difference between hardware RAID and s/w RAID. Thanks in Advance. (1 Reply)
Discussion started by: rama krishna
1 Replies

8. Solaris

Software RAID on top of Hardware RAID

Server Model: T5120 with 146G x4 disks. OS: Solaris 10 - installed on c1t0d0. Plan to use software raid (veritas volume mgr) on c1t2d0 disk. After format and label the disk, still not able to detect using vxdiskadm. Question: Should I remove the hardware raid on c1t2d0 first? My... (4 Replies)
Discussion started by: KhawHL
4 Replies

9. Red Hat

RAID Configuration for IBM Serveraid-7k SCSI RAID Controller

Hello, I want to delete a RAID configuration an old server has. Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton? I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies
IIR(4)                                                     BSD Kernel Interfaces Manual                                                     IIR(4)

NAME
iir -- Intel Integrated RAID controller and ICP Vortex driver SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file: device pci device scbus device iir Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): iir_load="YES" DESCRIPTION
The iir driver claims to interface with the Intel integrated RAID controller cards, and all versions of the ICP Vortex controllers (including FC). HARDWARE
Controllers supported by the iir driver include: o Intel RAID Controller SRCMR o Intel Server RAID Controller U3-l (SRCU31a) o Intel Server RAID Controller U3-1L (SRCU31La) o Intel Server RAID Controller U3-2 (SRCU32) o All past and future releases of Intel and ICP RAID Controllers. o Intel RAID Controller SRCU21 (discontinued) o Intel RAID Controller SRCU31 (older revision, not compatible) o Intel RAID Controller SRCU31L (older revision, not compatible) The SRCU31 and SRCU31L can be updated via a firmware update available from Intel. SEE ALSO
cam(4), pass(4), xpt(4), camcontrol(8) AUTHORS
The iir driver is supported and maintained by Achim Leubner <Achim_Leubner@adaptec.com>. This manual page was written by Tom Rhodes <trhodes@FreeBSD.org> and is based on information supplied by the driver authors and the website of Mike Smith <msmith@FreeBSD.org>. BSD August 8, 2004 BSD
All times are GMT -4. The time now is 05:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy