Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old November 29th, 2007
klimenta's Avatar
klimenta Offline
Junior Member
 
Join Date: September 2007
Location: Plainsboro, NJ
Posts: 17
Move paging space

Hi,

we are running AIX 5.2-09-04 on p660 server. This server contains 2 x 18Gb internal mirrored drives and 8 external hard drives (ExpPlus 2104-DU3 hdd rack).

rootvg is on both internal (hdisk0, hdisk1) drives. hd6 paging LV is on rootvg.

I am trying to install some DB2 fixpack but I don't have enough space in /usr.
/usr is also in rootvg.

I bought two external hard drives for the rack but as far as I understood I can't expand /usr on external hard drives. Right or wrong?

If I can't go with the above solution, I was thinking about this. Moving the paging space with migratepv -l hd6 hdiskX where hdiskX is my new external hard drive. Can I move paging space on external hard drives?

If this is possible, then I'll use the old paging space which is on rootvg and assign it to /usr.

And if the above is not possible too, how about this. I'll decrease my current 8Gb paging space to 7Gb and give that extra 1Gb to /usr. This shouldn't be a problem, because this is a test server and lsps -a shows only 8% use anytime.

Below is some output from the server.

Thanks for any input on this

(root)@eia2: />lslv hd6
LOGICAL VOLUME: hd6 VOLUME GROUP: rootvg
LV IDENTIFIER: 000fa79fe20457ee.2 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: paging WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: parallel
LPs: 272 PPs: 544
STALE PPs: 0 BB POLICY: non-relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: N/A LABEL: None
MIRROR WRITE CONSISTENCY: off
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO

(root)@eia2: />lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 8704MB 8 yes yes lv
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old November 29th, 2007
lawrenzo's Avatar
lawrenzo Offline
Member
 
Join Date: July 2006
Location: England Uk
Posts: 54
Re: Move paging space

This is what you are looking for my friend:

System Management Guide: Operating System and Devices - Resizing or Moving the hd6 Paging Space

basically you hit the nail on the head however you need to keep your primary paging on rootvg hd6.

The only way you can expand /usr onto the external hard drives is by adding the disk to rootvg which is not recommended.

how big is you /usr filesystem?

have you checked for any uncommitted software?

do you have any 3rd party apps in /usr that can be mounted elsewhere?

check all filesystems for data that can be moved to a new filesystem on another disk.

HTH.

Chris.
__________________
superuser apparently?


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old November 29th, 2007
klimenta's Avatar
klimenta Offline
Junior Member
 
Join Date: September 2007
Location: Plainsboro, NJ
Posts: 17
Re: Move paging space

Quote:
Originally Posted by lawrenzo
I was looking at this doc before I posted my question. If you look at the last command migratepv, it appears that you can move hd6 to some other disks. That's why I asked does it matter if it's internal or external. It's not clear from the doc.

Quote:
Originally Posted by lawrenzo
The only way you can expand /usr onto the external hard drives is by adding the disk to rootvg which is not recommended.
Why is not recommended? I'll use two mirrored hard drives and put them in the rack. Is that because, when the server boots, AIX is looking for /, /usr/var,/tmp on internal hard drives only?

Quote:
Originally Posted by lawrenzo
how big is you /usr filesystem?
have you checked for any uncommitted software?
do you have any 3rd party apps in /usr that can be mounted elsewhere?
check all filesystems for data that can be moved to a new filesystem on another disk.
I did that. I cleared everything, commited patches and fixes, moved some stuff and I still can't get my extra 1Gb. /usr is about 4Gb.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old November 30th, 2007
Frans's Avatar
Frans Offline
Member
 
Join Date: November 2006
Posts: 49
Re: Move paging space

There is no need for you to have such a big rootvg

You need to see what you have in your root vg and have to also be conservative in allocation space to the system.

Rootvg should only contain the most important rootvg elements. Paging space should also not be made to big. It is better to add more memory to the system.

18 gig is more than what you need for root

Do a
lsvg |lsvg –il what do you have in root vg
lsvg |lsvg –ip is there any free space in rootvg ?

I only have this in my rootvg
hd5 boot
hd6 paging
hd8 jfs2log
hd4 /
hd2 /usr
hd9var /var
hd3 /home
/hd10opt /opt
dumplv I have crated a dumplv dump filesystem that is not mirrored
I have created a /coredumps filesystem ( core file location ) directory
New in AIX 6.1 there is now also an /admin directory

Some more things to look at
Do not split paging on the same disk
Most other things you should keep on your exstra disks
You may want to check the size of your mksysb
Move all core files to central location ( syscorepath –p /coredumps (make FS first) )
Clear out all old logs and rotate syslog
Remove all junk from the rootvg
Clear /var/preserve



__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Glad to help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48