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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Increasing paging

Status
Not open for further replies.
Jun 28, 2002
64
GB
Hey Guys,

I am using AIX 4.3.3 got the p60 straght from IBM, the dba's wacked on oracle, all is running great. Except I discover that it requires 2gig swap space. Using the command lsps -a shows I have a swap of 512 ! I have been through smit trying to discover how to increase the paging and what effect this has on the system. Going in to
Storage management-
Logical volume manager-
Paging space-
change characteristics of paging space.

It allows only to add logical partitions?, This where I get stuck, cant I just increase the space rather than adding a logical partition ?

Any help is much apreciated..
 
No. You need to designate which partitions will hold the additional paging space.

Why do you think you need additional paging space?
 
Its the recommended set up from oracle, I also realise that if the system is set up correctly it may not need this space.

ok so do i create a logical partition and then assign it to paging ?

cheers

P.

 
Hi,

I come from an Oracle background and have never set a swap space of 2Gb just for Oracle.

What version of Oracle are you installing?

How much physical memory do you have in your server?

Swap space is normally set to twice the physical memory ( This isn't the actual recommendation by pretty near ).

Do you want to extend the existing swap space (normally hd6) or an additional one to another vg?
 
As a side note. Make sure you put paging space in equal chunks on seperate disks. E.G you'll need another 3 * 512Mb each on its own disk.


--
| Mike Nixon
| Unix Admin
|
----------------------------
 

Bigdaddy,
I think you're confusing the term 'logical partition' with the Microsoft one. Logical partitions are equal sized chunks of the disk. If you run the command 'lsvg rootvg' you can find the size of the LPs on that VG.

To increase the paging space just give it more PPs. You can do it with the command

# chps -s 32 hd6

where 32 is the absolute number of PPs you want, e.g. if the PP size is 64MB you'll have 32*64MB = 2GB.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
i suggest using "smit chps" or browsing from "smit lvm" until you start getting into the mindset of the LVM. there must be a thread about the basics around somewhere, i know i commented on this topic a few times.

a few ideas you should start with:
vg = volume group = set of hard disks configured as a group
pv = physical volume = hard disk
lv = logical volume = partition, in DOS-talk
PP = physical partition = a chunk size you set, not sure of DOS equivalent, defaults to 4MB
LP = logical partition = mapped to 1, 2 or 3 PP and provides a single point of reference for a mirrored PP

it is weird if you are used to DOS but you will figure it out, just keep working on it.

IBM Certified -- AIX 4.3 Obfuscation
 
wow thanks for the great response !

I will take in all suggestion's and start investigating the best course of action asap!

 
Hey guys !

I get this error when running the command through smit,
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.

I tried using (hd6) 16 instead of 32, to give a smaller paging space, but the same error came up.

Does this mean I have to use a different partition ? and some how tell AIX to use the another PP ?



 

No.

The 'lsvg rootvg' command will tell you how many free PPs you have. If it's full you can't increase it. You have to add another disk.

Using another partition (I assume you mean LV) won't help.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Could I reduce the size of another LP ? this would free up space with in the rootvg, then extend the LP hd6 which would increase my paging ?

Or is this cowboy talk ?

P.
 

LP are fixed size specific to a VG. You cannot change that.

You cannot free used PPs either (except if you delete an LV). The best way to deal with this problem is to add another disk.

Another (hard) way is to make a system backup and recreate the VG with smaller LVs but if you're not that experienced with AIX I'll definately not recommend it.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top