Skip to content

Grow the filesystem in AIX

#lspv -l hdisk
hdisk2:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lvusrlocal 64 64 64..00..00..00..00 /usr/local
hd7.0 20 20 00..20..00..00..00 N/A
hd1 1 1 00..00..01..00..00 /home
hd10opt 8 8 00..00..08..00..00 /opt
hd9var 8 8 00..00..08..00..00 /var
hd3 16 16 00..00..16..00..00 /tmp
hd5 1 1 01..00..00..00..00 N/A
hd4 2 2 00..00..02..00..00 /
hd2 46 46 00..00..46..00..00 /usr
hd6 256 256 00..172..84..00..00 N/A
hd8 1 1 00..00..01..00..00 N/A

# Over Smitty
System Management
System Storage Management (Physical & Logical Storage)”.)
File Systems
Add / Change / Show / Delete File Systems
Enhanced Journaled File Systems
Change / Show Characteristics of an Enhanced Journaled File System
eval /usr/sbin/chfs $LIST
x ‘Megabytes’ -a size=’256′ /opt
Filesystem size changed to 524288

or direct
# chfs -a size=256M