The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Paging space definition docaia UNIX for Dummies Questions & Answers 2 02-29-2008 12:17 PM
paging space out high lo-lp-kl AIX 1 01-05-2008 12:34 PM
Paging Space per process alntht AIX 1 06-20-2005 02:04 PM
swap space / paging space aaronh AIX 2 05-19-2004 11:06 AM
paging space & monitor Erik Rooijmans UNIX for Dummies Questions & Answers 2 05-13-2003 01:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-06-2006
outtacontrol outtacontrol is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 31
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 (permalink)  
Old 08-07-2006
truma1 truma1 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Cape Town,South Africa
Posts: 41
Mirror your disks
  #3 (permalink)  
Old 08-07-2006
outtacontrol outtacontrol is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 31
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 (permalink)  
Old 08-07-2006
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2003
Location: Minnesota
Posts: 424
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 (permalink)  
Old 08-08-2006
cpmurray cpmurray is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 5
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0