- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- migrate from storage array to hardware raid
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
08-17-2005 03:03 AM
08-17-2005 03:03 AM
I have a T520 running HPUX 10.20. Currently, the volume group containing all of the system partitions is located on non hardware raid storage. I want to move these partitions to a hardware raid. This is what I would like to do:
1. Add physical devices to the current volume group.
2. Use pvmove to move the data off the non raid storage.
3. Use pvreduce to remove the non raid devices from the volume group.
4. Reboot.
5. Reset the PRIMPATH to the new raid device's hardware address.
Am I missing anything? Would this work?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 03:10 AM
08-17-2005 03:10 AM
Re: migrate from storage array to hardware raid
- You may have problems depending on how your volume group was configured, in terms of maxpv etc (ie if you can't add enough extra PVs to your volume group).
- If you have mirrordisk/ux I would choose to lvextend each logical volume then lvreduce the non-raid portion rather than using pvmove. Whilst pvmove will work I'd always be happier having 2 lots of my data than risk a failure during pvmove.
- I'm sure it was a mistype, but you'll need lvreduce not pvreduce to remove the non-raid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 03:12 AM
08-17-2005 03:12 AM
Solutionbetween steps 3 & 4, after the mirroring completes, you will need to make these volumes bootable by executing few commands as follows:
rootdisk_raw=/dev/rdsk/cXtXdX
mkboot -a "hpux -lq (;0)/stand/vmunix" ${rootdisk_raw}
mkboot -l ${rootdisk_raw}
cd /usr/sbin/diag/lif
mkboot -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL ${rootdisk_raw}
lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 03:15 AM
08-17-2005 03:15 AM
Re: migrate from storage array to hardware raid
Like Simon - I would use mirroring if available.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 03:15 AM
08-17-2005 03:15 AM
Re: migrate from storage array to hardware raid
I would do it differently.
1. Start with a good, cold backup of all data.
2. Use lvextend -m 1 to make mirror copies on the new storage, which has been added to the volume group and use lvsplit to break them apart later.
Note: Your volume group unless created properly might not be able to handle the new storage and the old at the same time. This is typical over 50 GB when special options -p command is not used to create the volume group and limit the number of physical volumes.
If this is the case you may have to use fbackup to write a backup and restore, or create a new volume group and use the cp command to copy the data.
In either event, you'll need to schedule downtime to handle that.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 03:28 AM
08-17-2005 03:28 AM
Re: migrate from storage array to hardware raid
So, since there seems to be support for the pvmove method working, I will try that.
Thanks everyone.