AIX

AIX

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


#Power
 View Only
Expand all | Collapse all

unable to extend a jfs2 filesystem

  • 1.  unable to extend a jfs2 filesystem

    Posted Wed July 31, 2013 08:40 PM

    Originally posted by: livehho


    Hi Experts,

    After extending a jfs2 filesystem the size stays the same. 

    $ df -g /oracle/PRD/112_64
    Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
    /dev/PRD112_64_lv     10.00      1.47   86%    42251    11% /oracle/PRD/112_64
     
    $ sudo chfs -a size=+5G /oracle/PRD/112_64
    Filesystem size changed to 44040192
     
    $ df -g /oracle/PRD/112_64
    Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
    /dev/PRD112_64_lv     10.00      1.47   86%    42251    11% /oracle/PRD/112_64

    I verified the VG had enough free PPs prior to extending the FS. After extending the FS I verified that the VG had 5G less free space, which is to be expected; however, I don't know where those 5G went, since 'df -g' is showing that the FS stays the same size.

    Here's what I've checked: 

    A) The LV associated with this FS is 20G size, however, the FS shows 10G size. 

    PRD112_64_lv  ---------->  20G

    /oracle/PRD/112_64  --->  10G

    not cool !!!

    B) Inodes are not updated correctly

    $ istat /oracle/PRD/112_64
    Inode 2 on device 39/16 Directory
    Protection: rwxr-xr-x   
    Owner: 80527(oraprd)            Group: 60011(dba)
    Link count:  84         Length 4096 bytes
     
    Last updated:   Wed Jul 24 13:10:09 2013
    Last modified:  Wed Jul 24 13:10:09 2013
    Last accessed:  Wed Jul 31 17:36:43 2013

    As you can see, 'last updated' and 'last modified' DO NOT show Jul 31

    C)  I ran 'fsck' on the mounted filesystem, all good there

    $ sudo fsck /oracle/PRD/112_64
    The current volume is: /dev/PRD112_64_lv
    File system is currently mounted.
    Primary superblock is valid.
    fsck: Performing read-only processing does not produce dependable results.
    *** Phase 1 - Initial inode scan
    *** Phase 2 - Process remaining directories
    *** Phase 3 - Process remaining files
    *** Phase 4 - Check inode allocation map
    *** Phase 5 - Check block allocation map
    File system is currently mounted.
    fsck: Performing read-only processing does not produce dependable results

     

    Anybody ? 

     


    #AIX-Forum


  • 2.  Re: unable to extend a jfs2 filesystem

    Posted Thu August 01, 2013 10:02 AM

    Originally posted by: pascal-f


    Hi,

    Can you run :

    lsfs -q

    and

    mount

     

     


    #AIX-Forum


  • 3.  Re: unable to extend a jfs2 filesystem

    Posted Fri August 02, 2013 10:25 PM

    Originally posted by: AhmedAmer


    Let`s run some sync in the LVM subsystem:

     

    - Determine if the ODM and VGDA are correct (in sync)
    #getlvodm -u <vg>

    -Try to resync VGDA, LV control blocks and ODM
    #synclvodm <vg>

     

    #syncvg -p <pv>
    #syncvg -v <vg>
    #syncvg -l <lv>

     

     

    Is that AIX host is a member in HACMP?

     

    Why you don`t reduce the filesystem and re-check it again?


    #AIX-Forum