Operating System - HP-UX
1833530 Members
3027 Online
110061 Solutions
New Discussion

Re: Configure Volume Group for XP-256 Array

 
Marcelo De Florio
Frequent Advisor

Configure Volume Group for XP-256 Array

How can i create one volume group using disk's XP-256 Array ?

Thanks.
5 REPLIES 5
Dave Wherry
Esteemed Contributor

Re: Configure Volume Group for XP-256 Array

Just like you would any other disk. If the XP LDEV has been added to an interface on your host, and the device file has been created (either rebooting the host or running insf -e) then the host just has another drive to work with.
So, pvcreate the disk and either create a new volume group with this disk or add it to an existing volume group. Nothing special about it being on an XP.
Marcelo De Florio_1
Frequent Advisor

Re: Configure Volume Group for XP-256 Array

I, attach this file with my configuration, and then I have a configure a disk /dev/dsk/c5t14d0; it's possible ?


Thanks.
Marcelo De Florio
Steven Sim Kok Leong
Honored Contributor

Re: Configure Volume Group for XP-256 Array

Hi,

When the LDEVs are assigned to your server, they appear like disk devices in your ioscan input like any other normal disk device except that they are tagged with a type (eg. Open-9). From the OS point of view, they are just another disk device. All the LVM commands of pvcreate, vgextend, lvcreate etc apply on the XP disks the same way they apply on normal harddisks.

However, if you are using alternate pvlinks for redundancy from your FC HBA to your XP, then you will need to create the alternate link for this disk device. All alternate pvlinks are indicated by an "Alternate" beside it in your vgdisplay -v output.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
wil.willemsehp.com
New Member

Re: Configure Volume Group for XP-256 Array

In your ioscan output the ?DISK-SUBSYSTEM? lines are just placeholders to be able to address other luns on that bus, the command ?diskinfo ?v /dev/rdsk/c15t4d0? will return a size of 0 bytes for this device.
Only real disk devices can be used, ones that are shown as an OPEN-3, OPEN-8, etc?
Henry Weldon
Advisor

Re: Configure Volume Group for XP-256 Array

Once you see the device files, use pvdisplay /dev/rdsk/xxxxxx to identify the size of the disks. If you are adding the disks to an existing VG. You should verify that the existing VG can handle the size of the disk by running command "vgdisplay vg##". Then computing (Max PE per PV) * (PE Size) = Largest disk this VG can handle. Failing to do so could result in wasted disk space. i.e. you could add a 9Gb disk to a VG that can only see 4Gb disks. If creating new VG, I would recommend the following settings:
Max Physical Volumes = 48
Max Physical Extents = 10240 (40Gb disk)
MB per Physical Extent = 4 (Keep it small for extend based stripping options)
Be Prepared