AIX

AIX

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


#Power
#Power
 View Only
  • 1.  Title of the Forum

    Posted Thu August 23, 2007 11:28 AM

    Originally posted by: SystemAdmin


    thanks but this gives me all the disks, I want only those which are not in used.
    #AIX-Forum


  • 2.  Re: lspv

    Posted Thu August 23, 2007 11:35 AM

    Originally posted by: VirtualGreg


    Those would be the ones labelled none and none instead of showing you pvids and volume group names - however - lspv is a rather simple LVM tool - you need to know your disk layout just in case you are using a multipath driver that creates an alternate logical disk name that points to more than one hdisk. Between lspv and "lsdev -Cc disk" and other vendor specific driver tools you should be able to figure this out.
    #AIX-Forum


  • 3.  unused disks

    Posted Thu August 23, 2007 12:52 PM

    Originally posted by: SystemAdmin


    /usr/sbin/lspv | grep ' None ' | cut -f1 -d' '

    #AIX-Forum


  • 4.  Re: unused disks

    Posted Thu August 23, 2007 02:51 PM

    Originally posted by: SystemAdmin


    do not know how to appreciate :) thanks a million
    #AIX-Forum