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 September 10th, 2007
cowens's Avatar
cowens Offline
Junior Member
 
Join Date: August 2007
Posts: 11
NIM restoring to dissimilar hardware

NIM restoring to dissimilar hardware

Last edited by cowens; September 17th, 2007 at 10:48.
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 September 10th, 2007
cowens's Avatar
cowens Offline
Junior Member
 
Join Date: August 2007
Posts: 11
Re: NIM restoring to dissimilar hardware

I am trying to restore a mksysb to a different AIX server. The rootvg on the server the mksysb was done on is 136 g in size the target server has a disk of 18 g. The source server's rootvg also contains user data hence the size of the rootvg. When the mksysb was created I excluded all but the OS ( basically just what would be required to restore and have the system boot ). the actual mksysb is about 2.6 g in size.
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 September 10th, 2007
cowens's Avatar
cowens Offline
Junior Member
 
Join Date: August 2007
Posts: 11
Re: NIM restoring to dissimilar hardware


Now I have tried following the NIM A-Z doc and restored the bosinst.data and image.data from the mksysb and tried tweaking them but the restore still falls with not enough disk space. Any Ideas or is this just trying to push a circle peg through a square hole.
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 September 10th, 2007
cowens's Avatar
cowens Offline
Junior Member
 
Join Date: August 2007
Posts: 11
Re: NIM restoring to dissimilar hardware

* no mirrors were used for this trick
* also I select the shrink filesytem option.
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 September 11th, 2007
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: NIM restoring to dissimilar hardware

How big was the swap space on the original system? An mksysb is not a tar file so it will take up much more space than the 2.6Gb.

Check the original system with to see how much space the rootvg takes up in your mksysb config.

Another thing it could be is the device drivers are not all installed on the original LPAR so it doesn't recognise the Disks. That would be solveable by restoring the mksysb with nim and giving an uptodate lpp_source to pull device drivers from.

Which hardware are you using, source and target?
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
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 September 11th, 2007
Frans's Avatar
Frans Offline
Member
 
Join Date: November 2006
Posts: 49
Re: NIM restoring to dissimilar hardware

does your mksysb source system's rootvg span more than one disk ?
if this is the case add exstra disk to the target ( look at the bosinst.data and image.data )
__________________

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
  #7  
Old September 13th, 2007
cowens's Avatar
cowens Offline
Junior Member
 
Join Date: August 2007
Posts: 11
Re: NIM restoring to dissimilar hardware

Okay I got it to work.  First I want to thank all that repied to my plea for help.

The problem was want it was. Not enough space to restore AND create the filesystems. Thats the big thing. Not the space required to restore the data but the space required to create the filesystems. O ya one more thing know the size of the disk you are restoring too. I thought the disk was a 18g drive when in fact it was a 8g drive. Once I replace this drive with the 18g thing went as I had expected the first time.

Because this was a test I was able to go to the system I was trying to restore and look at all the filesystems created under rootvg

#lsvg -l rootvg

I then add up all the space for each filesytem excluding the user filesystems. I added up the boot, paging, jfslog, /, /usr, ......., sysdump. Once done it came out to about 14g required. well below the 18g drive I was restoring to .

Now because I excluded the user filesystems I had to restore the image.data file from the mksysb edit it and remove the filesystem information for these filesystems.
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 September 13th, 2007
cowens's Avatar
cowens Offline
Junior Member
 
Join Date: August 2007
Posts: 11
Re: NIM restoring to dissimilar hardware

Then define the image.data as a resource and include it when you set the bos_inst.
#restore -xvqf ./midstjunx25 ./image.data
#vi image.data
# nim -o define -t image_data -a server=master -alocation=/export/mksysb_clients/image.data image_data_use
#nim -o bos_inst -a source=mksysb -a mksysb=midstjunx25_image -a image_data=image_data_use -a lpp_source=LPP_53_ML05 -
a spot=SPOT_53_ML05 -a accept_licenses=yes -a boot_client=no jdistjunx958
Then boot the server and restore.
Thanks for all the 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
  #9  
Old September 13th, 2007
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: NIM restoring to dissimilar hardware

If you need to know the size of a physical disk device use this as root:

getconf DISK_SIZE /dev/hdisk0

Will respond with disk size in Megabytes
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old September 13th, 2007
Frans's Avatar
Frans Offline
Member
 
Join Date: November 2006
Posts: 49
Re: NIM restoring to dissimilar hardware

you can also do bosboot -s hdisk
__________________

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