- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root disk migration
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 07:27 AM
05-29-2001 07:27 AM
I inherited two K210 servers running 10.20. The root disks (vg00) on these are spread out among two 2GB physical volumes.
Is there a relatively painless way to copy the contents of these two disks onto one 4GB disk?
Thanks,
Paul Wahner
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 07:35 AM
05-29-2001 07:35 AM
Solutionmy advise is to do a ignite backup with make_recovery to a tape ( the make_recovery will backup all the vg00 )
after that to boot with the cassete and restore all the data into the new disk .
i dont think that there is an another easy way to do it .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 07:37 AM
05-29-2001 07:37 AM
Re: root disk migration
You could try using 'pvmove' but since you are dealing with vg00 and the requirement for at least some of the filesystems to be contiguous, you probably won't find this approach simple, or certainly a one-step process.
Take a look at the '-n' option of 'pvmove' if you wish. This allows moving extents based on logical volume and could prove helpful in constructing a strategy depending upon how each logical volume is laid out.
Personally, I would probably resort to Ignite using 'make_tape_recovery' and simply reinstall onto a single physical disk.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 07:39 AM
05-29-2001 07:39 AM
Re: root disk migration
You've got a couple of options here:
1) Download and install HPs Ignite/UX product ( http://software.hp.com/products/IUX ), do a make_tape_recovery of your VG00 and then boot from that tape and re-install on your 4GB drive. I have done this in the past and it worked well. I went from a VG00 of 8 x 2GB drives to 2 x 18GB drives and it worked like a champ. The command to use to create the tape is:
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -v -x inc_entire=vgboot
Just make sure you put the appropriate tape device name where I have /dev/rmt/0mn above and be sure to use the no-rewind tape device.
2) Have a look at the following thread, and specifically Peggy Fongs response in that thread. She outline a process that does NOT use Ignite that makes a copy of VG00 to another disk. I don't know if it will work since your VG00 is spread over 2 disks, but I think it might.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xa1c6d06ed8c8d4118fef0090279cd0f9,00.html
Hope all this helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 08:58 AM
05-29-2001 08:58 AM
Re: root disk migration
summary of the major steps. Please do not try this without planning and reviewing the steps with your specific device files. You will need to review man pages on pvcreate, mkboot,pvmove and lvlnboot at a minimum but it is possible.
1. pvcreate -B
mkboot
mkboot -a of your new disk
2. vgextend (add disk to volume group)
3. pvmove all LV to other disk.
You must do this in order with /stand swap, /
first and then the other logical volumes
4. make sure BDRA is correct
lvlnboot -v
5. edit /stand/bootconf
6. You should then be able to vgreduce the old
disks out of the volume group.
I have done this procedure many times and it must be carefully planned and done and if one step is missed your system can be rendered unbootable. (Is that a warning enough)..
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 09:06 AM
05-29-2001 09:06 AM
Re: root disk migration
how about the easy way: through mirroring ?!?
This can be done online (maybe just a shutdown to attach the drive physically) and with little risk. Simply add the 4GB drive to VG00, make it bootable, mirror all lvols to this drive, and remove the 2GB disks from VG00.
(little hint: try to boot from the 4GB disk before you remove it from VG00)
"Just" two requirements:
- you need Mirror/UX software
- Max PE per VG of VG00 has to be large enough to hold a 4GB disk (should be!)
good luck,
Thierry.