Re: extending a fs on aix5.2

From: Holger.VanKoll@SWISSCOM.COM
Date: Fri Mar 19 2004 - 07:16:08 EST


for the archive:
it *is* broken, bos.rte.lvm 5.2.0.18 fixed this (I was on .14)

sbe15612 # lslpp -lc "*lvm*"
#Fileset:Level:PTF Id:State:Type:Description:EFIX Locked
/usr/lib/objrepos:bos.rte.lvm:5.2.0.18::COMMITTED:F:Logical Volume
Manager:
/etc/objrepos:bos.rte.lvm:5.2.0.10::COMMITTED:I:Logical Volume Manager:
sbe15612 # chfs -a size=1 /dataCRM/data1a
sbe15612 # df -k /dataCRM/data1a
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/crdata1a 134217728 4500544 97% 124 1%
/dataCRM/data1a
sbe15612 # chfs -a size=158G /dataCRM/data1a
Filesystem size changed to 331350016

> -----Original Message-----
> From: Van Koll Holger, IT-SDL-SEE-MIE-UAH
> Sent: Friday, March 19, 2004 12:29 PM
> To: 'IBM AIX Discussion List'
> Subject: RE: extending a fs on aix5.2
>
> to me it looks as chfs is broken, at least regarding striped-lv. I can
> create f.e. a fs with 25G, but cant extend a 10fs only once
>
> sbe15612 # mklv -t jfs -S 64K -y testlv oraclevg 20 hdisk2 hdisk4
> hdisk5 hdisk3
> testlv
> sbe15612 # mklvcopy testlv 2 hdisk9 hdisk11 hdisk12 hdisk10
> sbe15612 # crfs -v jfs -d testlv -m /test -A yes -a ag=64 -a
> nbpi=131072 -a bf=true && mount /test && df -k /test
> Based on the parameters chosen, the new /test JFS file system
> is limited to a maximum size of 2147483648 (512 byte blocks)
>
> New File System size is 20971520
> Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
> /dev/testlv 10485760 10474732 1% 17 1% /test
> sbe15612 # chfs -a size=+1 /test
> Filesystem size changed to 25165824
> sbe15612 # chfs -a size=+1 /test
> 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.
> sbe15612 # df -k /test
> Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
> /dev/testlv 12582912 12569688 1% 17 1% /test
> sbe15612 # umount /test && rmfs /test
> rmlv: Logical volume testlv is removed.
> sbe15612 # mklv -t jfs -S 64K -y testlv oraclevg 50 hdisk2 hdisk4
> hdisk5 hdisk3
> testlv
> sbe15612 # mklvcopy testlv 2 hdisk9 hdisk11 hdisk12 hdisk10
> sbe15612 # crfs -v jfs -d testlv -m /test -A yes -a ag=64 -a
> nbpi=131072 -a bf=true && mount /test && df -k /test
> Based on the parameters chosen, the new /test JFS file system
> is limited to a maximum size of 2147483648 (512 byte blocks)
>
> New File System size is 54525952
> Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
> /dev/testlv 27262976 27234372 1% 17 1% /test
> sbe15612 # chfs -a size=130G /test
> 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.
> sbe15612 # chfs -a size=128G /test
> 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.
> sbe15612 # chfs -a size=+1G /test
> Filesystem size changed to 58720256
> sbe15612 # chfs -a size=+1G /test
> 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.
> sbe15612 #
>
>
> similar on another host:
>
> (0)root@sbe15343 335# mklv -t jfs -S 64K -y testlv oraclevg 32 hdisk2
> hdisk3 hdisk4 hdisk5
> testlv
> (0)root@sbe15343 336# mklvcopy testlv 2 hdisk6 hdisk7 hdisk8 hdisk9
> (0)root@sbe15343 337# crfs -v jfs -d testlv -m /test -A yes -a ag=64
> -a nbpi=131072 -a bf=true && mount /test && df -k /test
> Based on the parameters chosen, the new /test JFS file system
> is limited to a maximum size of 2147483648 (512 byte blocks)
>
> New File System size is 33554432
> Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
> /dev/testlv 16777216 16759592 1% 17 1% /test
> (0)root@sbe15343 338# chfs -a size=17G /test
> Filesystem size changed to 37748736
> (0)root@sbe15343 340# chfs -a size=20G /test
> 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.
> (1)root@sbe15343 341# chfs -a size=+1G /test
> 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.
> (1)root@sbe15343 342# chfs -a size=+1 /test
> 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.
> (1)root@sbe15343 343# lsvg -p oraclevg
> oraclevg:
> PV_NAME PV STATE TOTAL PPs FREE PPs FREE
> DISTRIBUTION
> hdisk2 active 136 6
> 00..00..00..00..06
> hdisk3 active 136 6
> 00..00..00..00..06
> hdisk4 active 136 95
> 14..00..27..27..27
> hdisk5 active 136 66
> 08..00..04..27..27
> hdisk6 active 136 8
> 00..00..00..00..08
> hdisk7 active 136 8
> 00..00..00..00..08
> hdisk8 active 136 96
> 14..01..27..27..27
> hdisk9 active 136 69
> 08..00..07..27..27
>
>
>
>
> -----Original Message-----
> From: Van Koll Holger, IT-SDL-SEE-MIE-UAH
> Sent: Friday, March 19, 2004 10:28 AM
> To: 'IBM AIX Discussion List'
> Subject: extending a fs on aix5.2
>
> Hello,
>
> can anybody explain why I cant extend this filesystem anymore?
>
> sbe15612 # chfs -a size=+1 /dataCRM/data1a
> 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.
> sbe15612 # lsfs -q /dataCRM/data1a
> Name Nodename Mount Pt VFS Size
> Options Auto Accounting
> /dev/crdata1a -- /dataCRM/data1a jfs
> 268435456 -- yes no
> (lv size: 268435456, fs size: 268435456, frag size: 4096,
> nbpi: 131072, compress: no, bf: true, ag: 64)
> sbe15612 # lslv crdata1a
> LOGICAL VOLUME: crdata1a VOLUME GROUP:
> oraclevg
> LV IDENTIFIER: 005cd5bf00004c00000000faaad27566.3
> PERMISSION: read/write
> VG STATE: active/complete LV STATE:
> opened/syncd
> TYPE: jfs WRITE VERIFY: off
> MAX LPs: 32000 PP SIZE: 512
> megabyte(s)
> COPIES: 2 SCHED POLICY:
> striped
> LPs: 256 PPs: 512
> STALE PPs: 0 BB POLICY:
> relocatable
> INTER-POLICY: maximum RELOCATABLE: no
> INTRA-POLICY: middle UPPER BOUND: 4
> MOUNT POINT: /dataCRM/data1a LABEL:
> /dataCRM/data1a
> MIRROR WRITE CONSISTENCY: on/ACTIVE
> EACH LP COPY ON A SEPARATE PV ?: yes (superstrict)
> Serialize IO ?: NO
> STRIPE WIDTH: 4
> STRIPE SIZE: 64k
> sbe15612 # lslv -l crdata1a
> crdata1a:/dataCRM/data1a
> PV COPIES IN BAND DISTRIBUTION
> hdisk2 064:000:000 100%
> 001:054:009:000:000
> hdisk9 063:000:000 100%
> 000:054:009:000:000
> hdisk4 066:000:000 100%
> 015:019:032:000:000
> hdisk11 063:000:000 100%
> 015:016:032:000:000
> hdisk5 065:000:000 100%
> 000:016:049:000:000
> hdisk12 063:000:000 100%
> 000:014:049:000:000
> hdisk3 065:000:000 100%
> 000:000:002:012:051
> hdisk10 063:000:000 100%
> 000:000:000:012:051
> sbe15612 # for i in 2 9 4 11 5 12 3 10; do lspv hdisk$i|grep
> "FREE PP";done
> FREE PPs: 128 (65536 megabytes) HOT SPARE:
> no
> FREE PPs: 132 (67584 megabytes) HOT SPARE:
> no
> FREE PPs: 118 (60416 megabytes) HOT SPARE:
> no
> FREE PPs: 123 (62976 megabytes) HOT SPARE:
> no
> FREE PPs: 109 (55808 megabytes) HOT SPARE:
> no
> FREE PPs: 113 (57856 megabytes) HOT SPARE:
> no
> FREE PPs: 130 (66560 megabytes) HOT SPARE:
> no
> FREE PPs: 133 (68096 megabytes) HOT SPARE:
> no
> sbe15612 #
>
> Regards,
>
> Holger
>
> p.s. all pv are set to ALLOCATABLE
>



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:43 EDT