- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Moving data from old SAN to new SAN
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
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
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
03-11-2015 10:07 AM
03-11-2015 10:07 AM
We have purchased a new SAN and I need to move the data from our old san to the new one. The layout and sizes of the volume groups and logical volumes will remain the same.
Since everything is the same with the exception of the physical disks, I am thinking I should be able to add the new disks as alternate disks using vgextend. I can then remove the original disks with vgreduce and the data will apear on the new disks. Does this seem logical? If so, can someone help with the proper syntax.
The other two options I was thinking of involved vgexport/vgimport or restoring from tape.
Any help with the easiest way to do this would be greatly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2015 12:12 PM
03-11-2015 12:12 PM
SolutionComments on your ideas:
>> I am thinking I should be able to add the new disks as alternate disks using vgextend. I can then remove the original
>>disks with vgreduce and the data will apear on the new disks. Does this seem logical?
Unfortunately, no. When you add a new disk to a volume group, you cannot specify that it is an alternate path. LVM will determine if a new disk is an alternate path for an existing disk. Soo when you would a disk from the new array it would just show up in the VG as a new disk ready to be used.
Also, data will not just magically "apear on the new disks." Data has to be put there somehow.
>>The other two options I was thinking of involved vgexport/vgimport
vgexport / vgimport would not help you in this instance either. vgimporting a VG requires that there be VG structures on the disks that you are importing. In the case of the new disk array nothing would be there, so there's nothing to import.
>>or restoring from tape.
That would be an option, but you would have to create your VGs and LVs from scratch with LUNs from the new disk array. Depending on the number of VGs and LVs, this could take a while. As far as data restoration goes, that could take quite a while depending on the amount of data and type type of backup device you are using.
Here's how I would migrate data between disk arrays:
- Create LUNs on the new disk array
- Present them to the HP-UX server
- Add the LUNs into the appropriate volume groups (pvcreate, vgextend)
- Using LVM mirroring to mirror the data from the current LUNs to the new LUNs (lvextend -m 1)
- Verify that the data has been successfully mirrored (vgdisplay, lvdisplay)
- Reduce the mirrors from the old LUNs (lvreduce -m 0)
- Reduce the old LUNs out of the VG (vgreduce)
- Repeat as needed for each VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2015 12:29 PM
03-11-2015 12:29 PM
Re: Moving data from old SAN to new SAN
Reading the documention on lvextend, additional software is required to do the mirroring. I believe we have this:
/usr/sbin/swlist -l bundle | grep -i mirror
B2491BA B.11.23 MirrorDisk/UX (Server)
Is this the correct software?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2015 12:40 PM
03-11-2015 12:40 PM
Re: Moving data from old SAN to new SAN
Yes, that is the correct software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2015 12:53 PM
03-11-2015 12:53 PM
Re: Moving data from old SAN to new SAN
Fantastic. This is the approach I will take. Thank you very much for your help!