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!

Expanding Filesystems 1

Status
Not open for further replies.

alexhu

MIS
Sep 25, 2001
1,288
GB
rootvg as below

VOLUME GROUP: rootvg VG IDENTIFIER: 0048273c99e78cd8
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1084 (34688 megabytes)
MAX LVs: 256 FREE PPs: 100 (3200 megabytes)
LVs: 9 USED PPs: 984 (31488 megabytes)
OPEN LVs: 8 QUORUM: 1
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


rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 32 64 2 open/syncd N/A
hd8 jfslog 1 2 2 open/syncd N/A
hd4 jfs 1 2 2 open/syncd /
hd2 jfs 52 104 2 open/syncd /usr
hd9var jfs 2 4 2 open/syncd /var
hd3 jfs 2 4 2 open/syncd /tmp
hd1 jfs 1 2 2 open/syncd /home
lvdata1 jfs 800 800 2 open/syncd /data1

If I try to incease /usr

* LOGICAL VOLUME name hd2
* Number of ADDITIONAL logical partitions [2] #
PHYSICAL VOLUME names [hdisk0 hdisk1] +
POSITION on physical volume center +
RANGE of physical volumes minimum +
MAXIMUM NUMBER of PHYSICAL VOLUMES [32] #
to use for allocation
Allocate each logical partition copy yes +
on a SEPARATE physical volume?
File containing ALLOCATION MAP []

Then I get this

Command: running stdout: yes stderr: no

Before command completion, additional instructions may appear below.

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.

Why?

Alex
 
Why don't you use the smitty fs panel to increase your filesystem and leave all the work to OS which knows how your hd2 LV has been created?
Try to execute:
lsvg -p rootvg
and look if the FREE field is the same for hdisk0 and hdisk1
 
sbix - because I got the same result !

However now you've told me about lsvg -p rootvg I now know where the problem is

rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 542 0 00..00..00..00..00
hdisk1 active 542 100 00..00..00..00..100

Have a star !

Looking further - I obviously have system swap on hdisk0 - which is 1GB so I should still have space on hdisk0, but I don't. Any further ideas - hdisk0 and hdisk1 are both the same size ?

thanks

Alex
 
I see your data is not mirrored and that is not good.... Also, your paging space would show up as a logical volume... In your case it is using hd6 which is mirrored.

Run a "lsvg -M rootvg" and you can see how the logical volumes are allocated (mapped) on the two drives.....
 
lsvg -l rootvg tells you that everybody is mirrored except /data1. now, you don't have enough space to mirror /data1, so you are in the position of either moving it to another vg, or having a small /usr.

lsvg rootvg tells you that you have 1084 PP in rootvg. this does not say LP. if you would like to mirror everything you really have only 542 PP to work with. notice lvdata1 is 800 PP.

if you `rmlvcopy hd2 1` then you can increase it. i'm not suggesting that you do.

IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top