- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Physical Volume 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
01-12-2001 08:46 AM
01-12-2001 08:46 AM
I'm looking for the safiest and most elegant way to replace one unmirrored 9 GB disk (let's say A) with two mirrored 18 GB disks (let's say B and C). The system should remain running during the process.
Now | Goal |
Slot 1 A | B |
Slot 2 | C |
This is not a problem for me to create a mirror or two of the existing disk (pvcreate, vgextend, mkboot, lvextend). However, I'm not sure about correct way of removing the existing physical volume and plugging a new disk in the same slot.
Now I see two possible scenarios. The first one is creating one mirror of existing disk (A->B), removing of the old disk and creating one mirror once again (B->C).
Step1 | Step2 | Step3 | Step4
Slot 1 A | A | | C
Slot 2 | B | B | B
The second way could be creating of two mirrors (A->B,C), removing the old disk and moving one of the new disks from Slot3 to Slot 1.
Step1 | Step2 | Step3 | Step4
Slot 1 A | A | | C
Slot 2 | B | B | B
Slot 3 | C | C |
Thank you in advance for any advice!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 08:52 AM
01-12-2001 08:52 AM
Re: Physical Volume Migration
as long as you don't reboot the system it will not recognize when replacing a 9GB with a 18GB disk at the sam slot. So i think this job can't be done without reboot.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 08:57 AM
01-12-2001 08:57 AM
Re: Physical Volume Migration
Do the first version, it will work, but the second one is dangerous.
regards, Saa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 10:06 AM
01-12-2001 10:06 AM
Re: Physical Volume Migration
Goodluck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 10:29 AM
01-12-2001 10:29 AM
Re: Physical Volume Migration
I agree on the reply ofboth the forum members.Without a reboot the task is a bit complicated.Even thou the disk may be hot plug disks, I dont think the system would recognise the disk.You will have to create the device files for the disks manually.Chances are that you might run into trouble.
If you have accomplished this task then the first method is the only method you can go for.If you think of mirroring both the 18gb disk at the same time and then pulling out one of them and pushing it in 9gb slot does not work.The system is going to think one of the mirror copies is lost.It will not identify the disk in 9gb slot as its id is going to change. I dont know if you r thinking of pulling the unmirrored 9gb then pull out the mirror copy of 18 gb, the system will flash errors,change the id on the the 9gb slot to to the id of mirrored 18gb slot, plug the 18 gb in the 9gb slot and do a lvmerge - Dangerous. Also I dont understand if you have tow slots free to plug both the disk in, whats the need to swap one of the disks in the 9gb slot?
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 01:01 PM
01-12-2001 01:01 PM
SolutionIf you the disk you are wanting to replace is your root disk and has vg00 on it, then I would get the Ignite-UX product, make a make_recovery (or maybe soon make_tape_recovery) tape, shutdown the machine, replace your disk drives, boot the machine from the tape, reset your VG parameters and restore. This method works quite well. I recently migrated my vg00 from 8 mirrored 2GB drives to 2 mirrored 18GB drives.
The easiest way to accomplish the mirroring is to get the OS recovered on one drive and then manually mirror to the other drive. I find that a whole lot easier than messing with an Ignite post recovery script to do the work.
I hope this helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2001 12:11 AM
01-15-2001 12:11 AM
Re: Physical Volume Migration
It's not a problem when replacing a disk with another disk, when they have the same size.
But when replacing a disk with a bigger size, you can reach the max pe limit,
Take that in consideration.
You're first step shouldn't be a problem but check the above first.
Make a good backup + Ignite Recovery tape.
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2001 04:01 AM
01-15-2001 04:01 AM
Re: Physical Volume Migration
Thanks a lot to all of you! In my environment the best solution will be mirroring of old 9 GB disk to 18 GB disk without stopping the system..
Complete migration to 18 GB disks can be done later with ignite when it is possible to stop the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2001 09:01 AM
01-15-2001 09:01 AM
Re: Physical Volume Migration
there is a problem if appending 18 GB to a group consisting of smaller disks.
# vgextend /dev/vg00 /dev/dsk/c0t8d0
vgextend: Not enough physical extents per physical volume.
Need: 4341, Have: 2500.
Volume group "/dev/vg00" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
I understand this problem of Physical Extents.
Q. Will 18 GB disk work normally in this case (with 9 GB of space available)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 09:38 AM
02-15-2001 09:38 AM
Re: Physical Volume Migration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2001 03:00 AM
02-19-2001 03:00 AM
Re: Physical Volume Migration
I have already made migration using Ignite.
BR,
Mihails