AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

What is the quickest way to determine what VG a filesystem resides on? thanks

  • 1.  What is the quickest way to determine what VG a filesystem resides on? thanks

    Posted Mon December 11, 2006 09:33 AM

    Originally posted by: SystemAdmin



    #AIX-Forum


  • 2.  Re: What is the quickest way to determine what VG a filesystem resides on? thanks

    Posted Mon December 11, 2006 10:50 AM

    Originally posted by: steevojb


    Hi,

    lslv <lvname>

    I think you need to start here though

    http://www.redbooks.ibm.com/abstracts/sg245432.html?Open

    HTH

    Steve
    #AIX-Forum


  • 3.  Re: What is the quickest way to determine what VG a filesystem resides on? thanks

    Posted Mon December 11, 2006 01:09 PM

    Originally posted by: SystemAdmin


    determin the logical volume name first:
    mount|grep <filesystem> look for volume name
    lslv <vol_name>
    you will see the Volume group name on top right.
    #AIX-Forum


  • 4.  Re: What is the quickest way to determine what VG a filesystem resides on? thanks

    Posted Wed January 17, 2007 07:22 PM

    Originally posted by: SystemAdmin


    you can try this simple expression:

    for i in `lsvg`;do echo $i; lsvgfs $i |grep "/<filesystem name>" ;done

    lsvgfs exists!
    Cheers,

    Cezar
    #AIX-Forum


  • 5.  Re: What is the quickest way to determine what VG a filesystem resides on? thanks

    Posted Fri January 19, 2007 11:38 AM

    Originally posted by: MarkTaylor


    Call someone in tech support :)
    #AIX-Forum