Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem increasing filesystem 1

Status
Not open for further replies.

terrywashington

Technical User
Jun 28, 2001
185
US
I am attempting to increase the size of a filesystem by 1GB. The system is running AIX 5.2. I ran the lsvg command to verify that there is available space and received the below error. The datavg consists of two 36GB disks that are not mirrored. What am I missing here?

# lsvg datavg
VOLUME GROUP: datavg VG IDENTIFIER: 00068f8c00004c00000000f
bf41b7a26
VG STATE: active PP SIZE: 64 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1084 (69376 megabytes)
MAX LVs: 256 FREE PPs: 570 (36480 megabytes)
LVs: 3 USED PPs: 514 (32896 megabytes)
OPEN LVs: 2 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable


# chfs -a size=+2048000 /qatest
0516-787 extendlv: Maximum allocation for logical volume lv01
is 512.
#
 
I think you need to use a larger PP size (>64MB) in order to get round the 512 limit

I'm sure someone else will come up with a more comprehensive explanation :)

Alex
 
use

smit chlv1

F4 to select the VG your Filesystem is in.

Then change the number of logical partitions

1 LP = PP Size (64Mb in your case)

It doesn't matter to much stick 1024 in

Now extend your FS

--
| Mike Nixon
| Unix Admin
|
----------------------------
 
Do smit chlv on the logical volume and then
increase MAXIMUM NUMBER of LOGICAL PARTITIONS. The default
is 512 which you also see in the errmsg.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top