Hello I have a flesystem that has run out of space. I have tried using the following command to add space:
# chfs -a size=+100 /lsrc
I get the following error:
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough physical volumes
to keep strictness and satisfy allocation requests. The command
should be retried with different allocation characteristics.
Is there a way to add more space to this filesystem?
It does not look like there is much space. How do I see what disks are available to add to this vg?
# lsvg vg01
VOLUME GROUP: vg01 VG IDENTIFIER: 000a8dac00004c00000000fc5ae7fa77
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1092 (139776 megabytes)
MAX LVs: 256 FREE PPs: 7 (896 megabytes)
LVs: 26 USED PPs: 1085 (138880 megabytes)
OPEN LVs: 18 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
lspv show assigned and unassigned disks, but you're output shows that there is 896MB available so the command chfs -a size=+100M /lsrc should increase the filesystem with 128MB (if it's located in vg01)
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough physical volumes
to keep strictness and satisfy allocation requests. The command
should be retried with different allocation characteristics.
Just as I thought, /lsrc is mirrored (as is all of the other normal filesystems except oracle11g). You can tell this by looking at the number of LPs (logical partitions) and the number of PPs (physical partitions). When a filesystem is mirrored the PPs will be twice what the LPs are. The mirrored physical partitions must be on separate physical drives. If you don't have any more disks to add to vg01 then you either have to shrink a filesystem or move it to a different volume group.
you probably dont have space for mirroring as /lrc is mirrored. Check the manpage of migratelp and migrate one lp of an unmirrored filesystem onto the other disk and then you wil be able to increase the filesytem by atleast 128MB i.e. 1 PP size.