Hello, I have a p570 running aix 5.3. I have a VG called sasvg1 - 544GB. I have one LV (saslv1) and a file system called /sasfs1. The LV and file system are about 500GB but only 55GB are currently being used by the file system.
I would like to shrink the file system to 100GB. This would give me several hundred GB free space in the VG. I would then create a second LV and file system that would be around 300GB.
I beleive we can now shrink an online file system with 5.3. I have never done this although I have increased many file systems while they were up and running. I go to smit - Change/Show Characteristics of an Enhanced Journaled File System. I use the tab key to change the unit size to GBs. I then go to "number of units" and type +10 to increase the file system by 10GB.
Can I simply type -400 to shrink it? This is a 24/7 application. Can I shrink it while users are logged on? If needed I could probably get an outage. My biggest concern is that I don't want to hose something.
VOLUME GROUP: sasvg1 VG IDENTIFIER: 00cda5cf00004c0000000000291aa747
VG STATE: active PP SIZE: 256 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 2125 (544000 megabytes)
MAX LVs: 256 FREE PPs: 2 (512 megabytes)
LVs: 3 USED PPs: 2123 (543488 megabytes)
OPEN LVs: 2 QUORUM: 2
TOTAL PVs: 3 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 3 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
root@wfssas01/#
I would like to shrink the file system to 100GB. This would give me several hundred GB free space in the VG. I would then create a second LV and file system that would be around 300GB.
I beleive we can now shrink an online file system with 5.3. I have never done this although I have increased many file systems while they were up and running. I go to smit - Change/Show Characteristics of an Enhanced Journaled File System. I use the tab key to change the unit size to GBs. I then go to "number of units" and type +10 to increase the file system by 10GB.
Can I simply type -400 to shrink it? This is a 24/7 application. Can I shrink it while users are logged on? If needed I could probably get an outage. My biggest concern is that I don't want to hose something.
VOLUME GROUP: sasvg1 VG IDENTIFIER: 00cda5cf00004c0000000000291aa747
VG STATE: active PP SIZE: 256 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 2125 (544000 megabytes)
MAX LVs: 256 FREE PPs: 2 (512 megabytes)
LVs: 3 USED PPs: 2123 (543488 megabytes)
OPEN LVs: 2 QUORUM: 2
TOTAL PVs: 3 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 3 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
root@wfssas01/#