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