AIX

AIX

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


#Power
 View Only
Expand all | Collapse all

how to reduce file system

  • 1.  how to reduce file system

    Posted Wed April 02, 2008 08:55 PM

    Originally posted by: apple08


    dear AIX gurus,
    would like to seek your advice. i want to increase /disc5 by 2 or 3 GB.
    what is the steps to increase our /disc5. we have 0 PP. can we reduce /disc6 and add to /disc5. what are the steps? i normally increase the file system using smitty. i never reduce file system. would really appreciate your advice.
    1.
    1. lsvg -l vg02
    vg02:
    LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
    lv04_00 jfs2 65 65 1 open/syncd /disc5
    lv02_04 jfs2 480 480 1 open/syncd /disc6

    2.
    1. df -g
    Filesystem GB blocks Free %Used Iused %Iused Mounted on
    /dev/lv02_04 120.00 17.98 86% 439 1% /disc6
    /dev/lv04_00 16.25 0.00 100% 341 77% /disc5

    3.
    1. lsvg vg02
    VOLUME GROUP: vg02 VG IDENTIFIER: 00cc689d00004c0000000109db609316
    VG STATE: active PP SIZE: 256 megabyte(s)
    VG PERMISSION: read/write TOTAL PPs: 546 (139776 megabytes)
    MAX LVs: 256 FREE PPs: 0 (0 megabytes)
    LVs: 3 USED PPs: 546 (139776 megabytes)
    OPEN LVs: 3 QUORUM: 2
    TOTAL PVs: 1 VG DESCRIPTORS: 2
    STALE PVs: 0 STALE PPs: 0
    ACTIVE PVs: 1 AUTO ON: yes
    MAX PPs per VG: 32512
    MAX PPs per PV: 1016 MAX PVs: 32
    LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
    HOT SPARE: no BB POLICY: relocatable
    #AIX-Forum


  • 2.  Re: how to reduce file system

    Posted Thu April 03, 2008 01:46 AM

    Originally posted by: kappa


    Hi,

    do you have JFS2?
    AIX53 with a higher TL (be aware of early bugs in lower levels) ?

    then you are free to do (FS can be online/mounted):

    chfs -a size=-3G /disc6
    chfs -a size=+3G /disc5
    #AIX-Forum