The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM



Thread: find VG with FS
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-19-2008
bakunin bakunin is offline
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,032
You don't need to use a script. lsvg will accept a list of VGs at <stdin>, therefore (for example):

Code:
# lsvg -o | lsvg -l | grep FS
This will cycle through all the active VGs (lsvg -o) and do an "lsvg -l" on each of them.

I hope this helps.

bakunin
Reply With Quote