Tuesday, May 19, 2009

lslv, lspv, lsvg

Some important commands

To display all the disks installed on an AIX machine

$ lsdev -Cc disk

To see what volume groups the disks belong to

$ lspv

This lists all the physical disks available on the system with their pvids assigned to it with the Volume Group name associated with this disk. "None" if NOT part of LVM.

To list information about the disks that belongs to the volume group.

$ lsvg -p

To list which logical volumes occupy the volume group

$ lsvg –l

To list all available volume groups

$ lsvg

Logical Volume Commands

To list all logical volumes under a volume group

$ lslv -l

To list the Logical Volume details with partition size , characteristics of volume and mirror copies.

$ lslv

To list the Physical Volume where the LV is located.

$ lslv -l

Note: vgname - volume group name and lv - logical volume

Thanks

No comments:

Post a Comment

Followers

Powered By Blogger
 

RAC Database Administration. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com