System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

defining how much spare in hp-ux

gobi23
Contributor

defining how much spare in hp-ux

Hi Guys, need your advice how can i run/know the following:

 

how much spare disk is available to epand the following filesystems:

/dev/vg01/lvol2 67566464 43030480 26353952 62% /o/ora/dk
/dev/vg01/lvol3 65732608 40925856 24613000 62% /o/ora/dk/data

how to confirm if the physical disks (spindles) used by 
/dev/vg02/lvol8 10780672 5218451 5219531 50% /test

how to know if the ff is different to the physical disks used by 
/dev/vg01/lvol2 65732608 40925856 24613000 62% /o/ora/dk/testr
/dev/vg02/lvol1 30605312 18194792 12327592 60% /o/dev/ora

 

TIA

2 REPLIES
Hiren N Dave
Valued Contributor

Re: defining how much spare in hp-ux

Hi,

 

>> how much spare disk is available to epand the following filesystems:

You can use vgdisplay -v vg01 command to find out Free PEs.
Total available space in vg01 would be Free PEs x PE Size (Mbytes)

Morover, you can use ioscan -kfnC disk and pvdisplay command to find out total free disks available to your system to extend your VG.


>> how to confirm if the physical disks (spindles) used by

# strings /etc/lvmtab
OR
# lvmam -l (If using 11iv3)

 

Regards,

Dave

I am an HP Employee

Was this post useful? - You may click the KUDOS! star to say thank you.
Torsten.
Acclaimed Contributor

Re: defining how much spare in hp-ux

spindles!

This is still the favorite topic of dba's!

As suggested, do

# strings /etc/lvmtab

and

# vgdisplay -v vg01
# vgdisplay -v vg02

to see what PVs are involved.

Do also

# lvdisplay -v /dev/vg01/lvol2
# lvdisplay -v /dev/vg02/lvol1

and finally

# ioscan -fn

to get informationen about the disks.


Nowadays these are often LUNs in the SAN, so you can often be sure it is using many, many physical drives, but this depends on the array model.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!