1833013 Members
2574 Online
110048 Solutions
New Discussion

lvol size usage

 
SOLVED
Go to solution
kamal_15
Regular Advisor

lvol size usage

hi all
i whant to know the sise usage of specifyed lvol.

#lvdispay
will display the the total LV size.
and
#bdf
will display usage of mounted lvols.
because this lvol not found in /etc/fstab or /etc/mnttab
i didn't knew the usage of this lvol.
or this mean it is not used?

please help
kamal


5 REPLIES 5
Tony Scully_2
Valued Contributor

Re: lvol size usage

Kamal,

Could be used as a raw data volume, then there would be no filesystem to mount.

lvdisplay -v will give you as much information about the logical voluem itself as the OS can provide you. Beyond that, it's knowing what the system is configured to use that is the problem.

What volume group is it in? Are there other LVs in this PV?

Is it a swap device?

Cheers,

Tony
You CAN do that on HP
kamal_15
Regular Advisor

Re: lvol size usage

thank u for response
i will tell you

#vgdisplay
VG Name /dev/vg00
Cur LV 4
Open LV 4
Max PE per PV 2000
PE Size (Mbytes) 4
Total PE 507
Alloc PE 507

VG Name /dev/vg01
Cur LV 1
Open LV 4
Max PE per PV 1016
PE Size (Mbytes) 4
Total PE 508
Alloc PE 500
---------------------------
and
#vgdisplay -v
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 500
Used PV 1
-----------------------------
this datd for specifyed lvol (/dev/vg01/lvol1)
-----------------------------
and when i run command
#swapinfo
this lvol dosn't exist in swap area

how can i do to know the usage of this lvol
if it is used???
Tony Scully_2
Valued Contributor
Solution

Re: lvol size usage

So the lvol in question is lvol1 in vg01 - are there any other lvols in vg01?

What is the server used for? If its a database server check the config of the database, as it may be using this lvol for raw data.

Post vgdisplay -v /dev/vg01
bdf
ps -ef

Tony
You CAN do that on HP
kamal_15
Regular Advisor

Re: lvol size usage

mannnnny thanks tony
you are right
i already have DB informix and hp-ux 10.20

i found this lvol (/dev/vg01/lvol1) used by
rootdbs (informix db).
and now i can calculate the usage of this lvol from size of my DB.

many many thankx again.

kamal
Tony Scully_2
Valued Contributor

Re: lvol size usage

That's good - I find raw lvols to be a headache for admin, especially when going into a new customer site when the documentaion is not always upto date.

Glad to have helped.
Tony.
You CAN do that on HP