- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Storage migration using mirror
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
01-31-2012 12:12 PM
01-31-2012 12:12 PM
Hi Guys,
I have VG01 on my HP-UX 11.11 v1 with 2 disks on 2 different storage) using mirror:
15995 /dev/dsk/c14t0d1 15995 current /dev/dsk/c12t0d1 15995 current
I have to replace one storage(c12t0d1), can I have third disk from new storage in mirror? After that remove the disk from old storage?
I am creating a procedure to complete this task, and I not sure if it is the best away or I am skipping steps , can someone give an idea?
1- Present new disk from new storage
2- pvcreate /dev/dsk/ cxtxdx
3- vgextend /dev/vg01 /dev/ cxtxdx
4- lvextend - m 1 /dev/vg01/lvxx /dev/dsk/cxtxdx
5- lvreduce -m 0 /dev/vg01/lvolxx /dev/dsk/c12t0d1
5- vgreduce /dev/vgxx /dev/dsk/c12t0d1
I appreciate your help on this.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2012 01:41 PM
01-31-2012 01:41 PM
Re: Storage migration using mirror
Your approach seems to be correct if you have Mirror/UX installed.
You can also consider pvmove.
Good Luck
-USA
- Tags:
- pvmove
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2012 02:01 PM
01-31-2012 02:01 PM
SolutionThe 2 things that need to change are in your lvextend and lvreduce commands.
After you extend you will have 2 mirrors, so you need:
4- lvextend - m 2 /dev/vg01/lvxx /dev/dsk/cxtxdx
After you reduce you will still have 1 mirror, so you need:
5- lvreduce -m 1 /dev/vg01/lvolxx /dev/dsk/c12t0d1
Other than that, all looks good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2012 04:25 PM
01-31-2012 04:25 PM
Re: Storage migration using mirror
Yes, I have mirror ux installed.
Thank you everyone. I appreciate your attention.