Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check a volugroup

Status
Not open for further replies.

yoda37

Technical User
Oct 30, 2006
15
FR
Hi

I need to check a volum group.
Is there a command for this ?

Regards
Den
 
man lsvg

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
The command fsck work on the file system level only.
I'd like to verify the good health of my volum groups.

Thanks in advance
regards
Den
 
As Mike says, man lsvg. For example lsvg -l rootvg will give you the following (from the man page):

-l Lists the following information for each logical volume within the group specified by the VolumeGroup parameter:

LV
A logical volume within the volume group.
Type
Logical volume type.
LPs
Number of logical partitions in the logical volume.
PPs
Number of physical partitions used by the logical volume.
PVs
Number of physical volumes used by the logical volume.
Logical volume state
State of the logical volume. Opened/stale indicates the logical volume is open but contains partitions that are not current. Opened/syncd indicates the
logical volume is open and synchronized. Closed indicates the logical volume has not been opened.
Mount point

Alan Bennett said:
I don't mind people who aren't what they seem. I just wish they'd make their mind up.
 
good health of a volume group?!? i think you mean checking the ODM against the VGDA or something right?
look for lqueryvg and odmget commands
 
if you want to check if your rootvg filesystem is still viable try:
lppchk -vm3
this will tell you if AIX is still intact.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top