1827288 Members
3106 Online
109717 Solutions
New Discussion

XP256 array

 
vinay_26
Advisor

XP256 array

I have 2 HP UX servers with 2 XP256 arrays attached to the boxes. The luns have been created and assigned to the box. I want to get a list of luns which are attached to volume groups and which are free.

3 REPLIES 3
RAC_1
Honored Contributor

Re: XP256 array

For every PV presented to systems, do pvdisplay. Those PVs, which are part of VG, will give details, the other will give error messages.

pvdisplay /dev/dsk/cxtxtdx on every disk.
for i in $(ls -1 /dev/dsk/)
do
pvdisplay /dev/dsk/${i}
done.

Anil
There is no substitute to HARDWORK
Pete Randall
Outstanding Contributor

Re: XP256 array

Sam does a pretty good job of listing "un-used" disks. There is no straight forward way to get this info from the command line, however.


Pete

Pete
Devender Khatana
Honored Contributor

Re: XP256 array

Hi,

If you are using LVM then "strings /etc/lvmtab"
will give all disks currently configured into system , rest all in /dev/dsk are unused.

If you are using lvm as well VxVM use "vxdisk list" also.

If you want to get details of all the LUNS in prticular system then run "xpinfo -i". It is not included in standard Hpux but is usually installed alongwith XP installation.

HTH,
Devender
Impossible itself mentions "I m possible"