RAID in Hpux | Unix Linux Forums | HP-UX

  Go Back    


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

RAID in Hpux

HP-UX


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-05-2013
smazshah smazshah is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 4 November 2013, 5:32 AM EST
Location: earth
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
RAID in Hpux

Hi Folks

I need help related to HPUX i.e I have two HD's with 300 GB want to create raid1 and after that will create mount point. need details related to it i.e if someone can send step by step commands. will be obliged

Regards
Sponsored Links
    #2  
Old 08-05-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 29 August 2014, 5:00 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,409
Thanks: 8
Thanked 538 Times in 516 Posts
HP-UX System Administration google for mirror . . . .
Sponsored Links
    #3  
Old 08-07-2013
smazshah smazshah is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 4 November 2013, 5:32 AM EST
Location: earth
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
thanks but still unable to do it.
one question can I create mount point and then create RAID1 or first I should create RAID1 and then create mount point.
Disk are new showing in ioscan -fnC disk but its not claimed what could be reason.

disk 15 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP EG0300FAWHV
/dev/dsk/c10t4d0 /dev/rdsk/c10t4d0
disk 17 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP EG0300FBDSP
/dev/dsk/c10t5d0 /dev/rdsk/c10t5d0

what could be the reason?

---------- Post updated at 01:27 PM ---------- Previous update was at 01:24 PM ----------

As I plugged in the disk it showed the disk has been claimed as above. but after few mints its showing not claimed. see the output below
ioscan- fnC disk.

disk 15 0/4/1/0.0.0.4.0 sdisk NO_HW DEVICE HP EG0300FAWHV
/dev/dsk/c10t4d0 /dev/rdsk/c10t4d0
disk 17 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP EG0300FBDSP
    #4  
Old 08-07-2013
lupin..the..3rd lupin..the..3rd is offline
Registered User
 
Join Date: Jul 2011
Last Activity: 19 May 2014, 12:37 PM EDT
Posts: 105
Thanks: 19
Thanked 10 Times in 9 Posts
Are you creating LVM mirror? Or it has some kind of newer "smart array" card? I assume a standard LVM mirror. Use internet search for HP-UX LVM mirror, it's very basic.
Sponsored Links
    #5  
Old 08-07-2013
rveri rveri is offline
Registered User
 
Join Date: Sep 2009
Last Activity: 26 August 2014, 3:05 PM EDT
Posts: 224
Thanks: 143
Thanked 13 Times in 12 Posts
smazshah,

- What is the model of your server. and OS version.
$ model ; uname -a

-How you have connected the disk, are they connected in the front bay or are this SAN disks.

In first output it shows CLAIMED, c10t5d0 c10t4d0 that is good, however if the disks are not in CLAIMED state you can not use them for the task.
- After you have presented the disks, make sure you have executed :
# ioscan ; ioscan -fnC disk
# insf -e -C disk


- Then check their condition:
# ioscan -fnH 0/4/1/0.0.0.4.0 ; ioscan -fnH 0/4/1/0.0.0.5.0
# diskinfo /dev/rdsk/c10t5d0 ; diskinfo /dev/rdsk/c10t4d0


- Once above looks good , you can go ahead with RAID-1 mirroring.
This is software mirror, you should have "MirrorDisk/UX " bundle installed with license.
if you have MCOE os , then it ll be bundled with the OS.
To check what type of OE you have you can use # swlist -l bundle | grep -i HPUX11


- If MirrorDisk/UX is ok, you can go ahead and do the mirroring of the disk RAID1.

Few steps outlined for having RAID1 filesystems on the two disk:
1. pvcreate both the disks. # pvcreate -f /dev/rdsk/c10t4d0
2. Create a volume group say vg01 , add the 2nd disk also. with vgcreate , vgextend
3. Create a Filesystem, that you want redundant. (RAID 1 ). with lvcreate and newfs
4. Proceed with mirror: Use lvextend -m 1 <lv_path> <2nd_disk>
5. check with lvdisplay -v <lv_name> , you will see 2 PE. in the LV. That means it is mirrored.

6. If one disk fails, your filesystem & its data, that was created per step 3, will be intact.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
RAID Configuration for IBM Serveraid-7k SCSI RAID Controller @dagio Red Hat 0 04-30-2013 09:11 AM
SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared filosophizer AIX 0 06-14-2011 02:20 PM
Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX. cpolikowsky Shell Programming and Scripting 2 02-18-2009 07:20 AM
HPUX 10.20 and RAID ARENA EX3 shutdown problem nleuenbe Filesystems, Disks and Memory 1 09-27-2005 08:25 AM



All times are GMT -4. The time now is 02:52 PM.