AIX

AIX

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


#Power
 View Only
  • 1.  How to Decrease Filesystem/Logical Volume in HACMP

    Posted Mon August 16, 2010 09:20 AM

    Originally posted by: Coginf


    Hi, I need to decrease a Filesystem to free space that I need to give to another LV. The FS is a Jfs2. Both LV and FS are managed by HACMP, I'd like to use CSPOC in "smitty hacmp" to configure this system.
    I suspect that I need to destroy FS/LV and rebuild with smaller size as I need.

    What is the right way? thanks.
    #AIX-Forum


  • 2.  Re: How to Decrease Filesystem/Logical Volume in HACMP

    Posted Mon August 16, 2010 10:06 AM

    Originally posted by: k3tan


    Hi,

    No need to remove the FS/LV, if those filesystems are JFS2 then you can shrink the filesystem.

    Smitty cl_lvm
    shared filesystems
    enhanced journal filesystems
    change/show characteristics of a shared enhanced journaled FS
    select the filesystem you want to shrink
    goto SIZE of file system (-10M) this removed 10M from the filesystems you can select -10G removes 10GB
    Hit enter an all done.

    Hope this helps.
    #AIX-Forum


  • 3.  Re: How to Decrease Filesystem/Logical Volume in HACMP

    Posted Mon August 16, 2010 10:17 AM

    Originally posted by: Coginf


    Hi, I tried to shrink when I was waiting for reply, as you write I done all from smitty hacmp, cspoc.
    1. shrink fs, without unmount it, specifying new size. (forunately my fs was empty)
    2. shrink lv, specifying new LP number.

    At this time I had some free LP that I have allocate to another LV and FS.

    Thank you.
    #AIX-Forum