How to distribute paging space among multiple PV


 
Thread Tools Search this Thread
Operating Systems AIX How to distribute paging space among multiple PV
# 1  
Old 08-06-2006
How to distribute paging space among multiple PV

Greetings

I have an older box (H50) that has it's paging space setup the following way:

Code:
$ lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type
paging00        hdisk0            rootvg         224MB     1     yes   yes    lv
hd6             hdisk0            rootvg         288MB     1     yes   yes    lv

So here's what I'm thinking. If all my paging space is on hdisk0, and if hdisk0 were to go bad, I'd be screwed, glued, and tatooed.

Therefore, my question is this - How do I distribute my paging space evenly between two seperate physical volumes?

Much thanks!

outta.
# 2  
Old 08-07-2006
Mirror your disks
# 3  
Old 08-07-2006
Quote:
Originally Posted by truma1
Mirror your disks
My disks are mirrored:
Code:
> lsvg -p rootvg
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active            537         265         106..00..00..56..103
hdisk1            active            537         265         106..00..00..51..108
> lsvg -l rootvg
rootvg:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
hd5                 boot       2     4     2    closed/syncd  N/A
hd6                 paging     36    72    2    open/syncd    N/A
paging00            paging     28    56    2    open/syncd    N/A
hd8                 jfslog     1     2     2    open/syncd    N/A
hd4                 jfs        8     16    2    open/syncd    /
hd2                 jfs        179   358   2    open/syncd    /usr
hd9var              jfs        5     10    2    open/syncd    /var
hd3                 jfs        4     8     2    open/syncd    /tmp
hd1                 jfs        3     6     2    open/syncd    /home
hd10opt             jfs        6     12    2    open/syncd    /opt

# 4  
Old 08-07-2006
You could use migratepv to move one of the paging spaces to a different disk. I believe it would be:

migratepv -l paging00 hdisk0 targetdisk

I highly recommend checking the man page for migratepv to verify I have the syntax correct before running that though . . . .
# 5  
Old 08-08-2006
outta,
Your paging spaces are already mirrored onto both hdisk0 and hdisk1, lsps is just reporting that they reside on hdisk0. If you did loose hdisk0, the box would crash, but you should be able to just start the machine up and everything should be ok. If this is all the disk you have, remove paging00 and increase the size of hd6, as it's not recommended to have two paging devices on the same disk. If you do have another volume group, create a new paging device on it, and remove paging00

On a slightly related topic, what is you primary dump device, as if hd6 is your primary dump device I don't think it is supported, as the dump device cannot be mirrored.

Regards
Craig Murray
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

No Paging Space Available

Whilst perfoming some tests on lvm's I managed to crash our test box. No real problem as it is only used by our tech team. however I would like to know why this was actually caused as the task being performed at the time was one which I though would not have any impact. Using dd I was... (5 Replies)
Discussion started by: tugger
5 Replies

2. AIX

Paging space

Hi, I have paging size 2048M showed from topas and 10240M showed from "lsps -a", can anyone tell what is the difference? and how to change the PAGING SIZE (showed in topas) to 8192M? Can you please tell in detail step? Thanks! Victor #topas Topas Monitor for host: egsprc01dev ... (10 Replies)
Discussion started by: victorcheung
10 Replies

3. AIX

LV without Paging Space

Hello dear friends, We have VG filevg which consists of 2 PVs when I rechecked the VG there is no Pagingspace LV.. The VG is usually Highly loaded because much reads and writes.. Is this a must to create Paging space on the specified LV? (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies

4. AIX

paging space

Hello everyone I have a doubt about how many paging space can have in the same disk. lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type paging00 hdisk0 rootvg 3072MB 1 yes yes lv hd6 hdisk0 ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

5. AIX

reduce used paging space

Hi I have used gzip on AIX and the used paging space has jumped from 7% to 20%. The gzip process is finished since a long time. But the used paging space is still the same. How to release this space ? (1 Reply)
Discussion started by: bfarah
1 Replies

6. AIX

Paging space

Hello everyone I have 4g of paging space in my rootvg disk I´m going to reduce them to 1gb in my rootvg disk and add 3gb of paging space on my san disk. My rootvg disk is mirror. My question is I can do this on line ? and I can do with the mirror ? or I need to unmirror first my... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

7. UNIX for Dummies Questions & Answers

Paging space definition

sorry for this silly question, I am new to UNIX, what is meant by paging space and what is its purpose? what is also meant by hd6 paging space? (2 Replies)
Discussion started by: docaia
2 Replies

8. AIX

paging space out high

Hello, we have a problem with lpar with AIX 5.3, the issue is that has high level paging space with: _sqlsrv2 and its incremented continously (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

9. AIX

Paging Space per process

This is my first post, and I am new to the UNIX world. Hopefully this question won't be too lame. I know that I can use topas to see the paging space used by some processes. I would like to script something that can add up the paging space used by process owned by or associated with an... (1 Reply)
Discussion started by: alntht
1 Replies

10. AIX

swap space / paging space

how do you get the paging space reduced without rebooting the machine ? the os is aix (2 Replies)
Discussion started by: aaronh
2 Replies
Login or Register to Ask a Question