AIX

AIX

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


#Power
 View Only
  • 1.  Reduce a PP-Striped LV

    Posted Mon July 30, 2012 07:29 AM

    Originally posted by: dtiger


    Hello,
    I have created a LV:
    mklv -t jfs2 -S 1M -y data1 -e x vg1 <PPs> hdiskx hdisky hdiskz

    How can i reduce vg1? i want to delete hdiskz, because i have many free space in LV data1.

    kind regards

    Daniel
    #AIX-Forum


  • 2.  Re: Reduce a PP-Striped LV

    Posted Mon July 30, 2012 10:04 AM

    Originally posted by: ostost


    If there is a filesystem in this logical volume you can reduce the filesystem size using the chfs -a size=<newsize> /filesystem. In this case the logical volume will be shrunk along with the filesystem.

    Or if you have enough space on hdiskx and hdisky you can just migrate the PPs (using migratepv) from hdiskz to one of these disks in order to free it up. Once you don't have any PPs on hdiskz you can remove it from vg using the reducevg command.
    #AIX-Forum


  • 3.  Re: Reduce a PP-Striped LV

    Posted Tue July 31, 2012 02:01 AM

    Originally posted by: dtiger


    thanks for your answer. There would be no problem? Because i used PP-striping?
    #AIX-Forum


  • 4.  Re: Reduce a PP-Striped LV

    Posted Thu August 02, 2012 07:16 AM

    Originally posted by: ostost


    No that won't bea problem.
    #AIX-Forum