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 October 1st, 2007
klimenta's Avatar
klimenta Offline
Junior Member
 
Join Date: September 2007
Location: Plainsboro, NJ
Posts: 17
Question Extend rootvg

Hi,

Our rootvg ran out of space. Currently we have 2 x 18Gb mirrored HDDs.
We want to upgrade to 2 X 72Gb HDDs. (AIX 5.2-9 running on 7026-6H1).
I want to make sure that everything goes OK when IBM replaces the hard drives.

First I did,

# mksysb -i -v -V /dev/rmt0

to create a bootable backup. I got warning that boot image is larger than 12Gb, but I verified that I have IY53546, IY56839 and firmware is CM060505.

Once they replace the hard drives, I'll boot from tape and restore the backup. After that I'll use # extendvg and increase the volume groups and then file systems (JFS) on fly.

Is there anything that should concern me? Any experience?

Thanks a lot...
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 October 1st, 2007
rbinkl's Avatar
rbinkl Offline
Junior Member
 
Join Date: May 2007
Posts: 5
Re: Extend rootvg

Here are the steps if root vg is mirrored. :

Unmirror rootvg
Remove hdisk1 from rootvg
rmdev -l hdisk1 -d
cfgmgr
Verify hdisk1 now has the new size
Add hdisk1 to rootvg
Mirror rootvg
sync AND WAIT TO COMPLETE
Redo for hdisk0
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 October 1st, 2007
klimenta's Avatar
klimenta Offline
Junior Member
 
Join Date: September 2007
Location: Plainsboro, NJ
Posts: 17
Re: Extend rootvg

This steps should be performed after I restore the tape on new drives? Right?

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 October 1st, 2007
schnupfy's Avatar
schnupfy Offline
Junior Member
 
Join Date: July 2007
Posts: 7
Re: Extend rootvg

no, if your SCSI Controller is hot plugable you don't need to reboot. You could do these steps with the running system and application.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old October 1st, 2007
klimenta's Avatar
klimenta Offline
Junior Member
 
Join Date: September 2007
Location: Plainsboro, NJ
Posts: 17
Re: Extend rootvg

Unfortunantely, the drives are internal and not hot plugable.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old October 1st, 2007
schnupfy's Avatar
schnupfy Offline
Junior Member
 
Join Date: July 2007
Posts: 7
Re: Extend rootvg

which is not a problem, so you just do these steps (described by rbinkl)
Unmirror rootvg
Remove hdisk1 from rootvg
rmdev -l hdisk1 -d

SHUTDOWN, swap hdisk1, BOOT

Verify hdisk1 now has the new size
Add hdisk1 to rootvg
Mirror rootvg
sync AND WAIT TO COMPLETE
Redo for hdisk0

so you need 2 reboots. Do the mksysb as a backup, but usually you don't need it.

Cheers.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old October 1st, 2007
babylonrocker's Avatar
babylonrocker Offline
Junior Member
 
Join Date: August 2007
Posts: 18
Re: Extend rootvg

and don't forget to fix bootlist and bootimage

for the bootimage use
bosboot -ad /dev/hdisk0 ... and hdisk1
for the bootlist
bootlist -m normal hdisk0 hdisk1

bye
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old October 5th, 2007
Chapter Eleven's Avatar
Chapter Eleven Offline
Junior Member
 
Join Date: February 2007
Posts: 2
Re: Extend rootvg

FYI: You cannot add a 72G drive to a rootvg built on 18G's.

The original install would have set the PP size on the 18G's to get as close to 1016 PPs per PV as possible, and a 72G would have way more than that per drive if added via extendvg.

The last time I tried to do a chvg on a rootvg to adjust the factors that control that, AIX (5.3) laughed at me and said go away. (I was doing the exact same thing only with virtual hdisks served up by a vio server).

mksysb or clean install. Personally I favor the latter as mksysbs are almost always messy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old October 12th, 2007
Frans's Avatar
Frans Offline
Member
 
Join Date: November 2006
Posts: 51
Re: Extend rootvg

There is an underlying problem that I can see in your system. If your rootvg has grown to this size you need to look at what is taking up all the space
Things to do
1. Go into all the files in rootvg and find out what the biggest files are and see what they are used for.
2. Look for core dumps and junk and remove them
3. Have a look in /var/preserve for any files you can remove
This relates to vi that was broken out ( man vi -r )
4. You should have no application filesystems in here at all
5. remove any old dumps snap and other old logs
6. Limit syslog to a rotate of 9 files have a look in syslog directory see how many files. remove old once add this sort of line to syslog to enforce this
At the end of the last entry in syslog add rotate time 1d files 9
7. Remove any old devices you have in AIX install that is no longer required

8. Have a look at the size of your wtmp
Cd /var/adm
To clear this file use /usr/sbin/acct/nulladm wtmp
9. Look in /var/adm/ras for old big logs that can be cleared
This cleared a lot of the space taken up in rootvg and will make your boot image much smaller.

Happy system cleaning
__________________

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 b181f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 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 49 50