Originally posted by: SystemAdmin
hi all,
I am new to AIX. I wanted to extend a filesystem on my AIX box but its failing and throwing the following error.
[b]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.[/b]
I tried the following command
[b]chfs -a size=+1G /opt[/b]
Here are the few o/p's which might be helpful:
[b]# df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1589248 1402696 12% 1556 1% /
/dev/hd2 2375680 1256324 48% 24286 5% /usr
/dev/hd9var 16384 10008 39% 345 9% /var
/dev/hd3 3702784 3448864 7% 99 1% /tmp
/dev/hd1 16384 15820 4% 19 1% /home
/proc - - - - - /proc
/dev/hd10opt 622592 105516 84% 3055 2% /opt
-
lspv hdisk0
PHYSICAL VOLUME: hdisk0 VOLUME GROUP: rootvg
PV IDENTIFIER: 0008d51f435c2485 VG IDENTIFIER 000cfc8a00004c000000010bd1509577
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 16 megabyte(s) LOGICAL VOLUMES: 9
TOTAL PPs: 542 (8672 megabytes) VG DESCRIPTORS: 2
FREE PPs: 0 (0 megabytes) HOT SPARE: no
USED PPs: 542 (8672 megabytes) MAX REQUEST: 256 kilobytes
FREE DISTRIBUTION: 00..00..00..00..00
USED DISTRIBUTION: 109..108..108..108..109
-
lsattr -El hdisk0
PCM PCM/friend/scsiscsd Path Control Module False
algorithm fail_over Algorithm True
dist_err_pcnt 0 Distributed Error Percentage True
dist_tw_width 50 Distributed Error Sample Time True
hcheck_interval 0 Health Check Interval True
hcheck_mode nonactive Health Check Mode True
max_transfer 0x40000 Maximum TRANSFER Size True
pvid 0008d51f435c24850000000000000000 Physical volume identifier False
queue_depth 3 Queue DEPTH False
reserve_policy single_path Reserve Policy True
size_in_mb 9100 Size in Megabytes False[/b]
My question is that the command lsattr shows that hdisk size is 9GB but on the hard disk I saw label pasted which shows that the hard disk capacity is 18GB.
So how can I increase the size of my filesystem.
Thanks-
Anand