HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring an Array
Operating System - HP-UX
1834437
Members
2542
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-26-2001 07:57 AM
06-26-2001 07:57 AM
Mirroring an Array
Hi All:
I'm sure this is probably a simple question, however, being in a position of not having done it before and only having one chance to do it right, I thought it best to ask to be sure.
I have an VA 7100 currently configured at RAID 0 on the first controller. Tomorrow I will be mirroring everything over to the second controller, and I want to make sure that goes very smooth (I actually have two of them to configure). What's the best and/or recommended method of doing so? I'd prefer to have a direct script to do it instead of via SAM, as that way it's something that I have on file for future use (every now and then these types of situations come up).
Looking at another script I have (which is used to mirror a boot drive), I'm guessing the following should be pretty close, but as I said, I want to be sure.
pvcreate -B /dev/rdsk/c0t8d0
vgextend /dev/vg01 /dev/dsk/c0t8d0
lvextend -m 1 /dev/vg01/lvol1
lvextend -m 1 /dev/vg01/lvol2
lvextend -m 1 /dev/vg01/lvol3
Obviously updating this with the correct device and volume groups/logical volumes.
I appreciate your assistance and guidance!
Harvey
I'm sure this is probably a simple question, however, being in a position of not having done it before and only having one chance to do it right, I thought it best to ask to be sure.
I have an VA 7100 currently configured at RAID 0 on the first controller. Tomorrow I will be mirroring everything over to the second controller, and I want to make sure that goes very smooth (I actually have two of them to configure). What's the best and/or recommended method of doing so? I'd prefer to have a direct script to do it instead of via SAM, as that way it's something that I have on file for future use (every now and then these types of situations come up).
Looking at another script I have (which is used to mirror a boot drive), I'm guessing the following should be pretty close, but as I said, I want to be sure.
pvcreate -B /dev/rdsk/c0t8d0
vgextend /dev/vg01 /dev/dsk/c0t8d0
lvextend -m 1 /dev/vg01/lvol1
lvextend -m 1 /dev/vg01/lvol2
lvextend -m 1 /dev/vg01/lvol3
Obviously updating this with the correct device and volume groups/logical volumes.
I appreciate your assistance and guidance!
Harvey
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2001 08:06 AM
06-26-2001 08:06 AM
Re: Mirroring an Array
Pretty much right apart from the fact that you don't need the -b flag on pvcreate as the disk will not be bootable.
Depending on what disks you have in your volume group, you may want to ensure that the mirrors go where you expect by explicitly naming the disk(s) to lvextend:-
lvextend -m 1 /dev/vg??/lvol? /dev/dsk/?????
Regards,
John
Depending on what disks you have in your volume group, you may want to ensure that the mirrors go where you expect by explicitly naming the disk(s) to lvextend:-
lvextend -m 1 /dev/vg??/lvol? /dev/dsk/?????
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2001 08:10 AM
06-26-2001 08:10 AM
Re: Mirroring an Array
It looks okay in principle..
You might want to look at physical volume groups if you have lots of luns to mirror.
See the man on vgcreate section PVGs.
Physical volume groups allow you to make sure that your mirror is located accessing through a different controller so that you don't have to worry about mirroring through the same controller by accident or even mirroring across the same array introducing single points of failure.
I'm not sure on the VA disk system and perhaps you'll get more input in hte storage forum but on an autoraid for example mirroring your lun on the same array wouldn't make sense since the lun is distrubuted across all disks in any case.. if your VA array is fixed disk approach raid mirroring across one VA to another using PVGs is fine.. mirroring within the same enclosure is just going to cost you disk space if it is already raid protected and accessable from the other controller via lvm alternate links.. vgextend vgname /dev/dsk/ctd alternate.
Bill
You might want to look at physical volume groups if you have lots of luns to mirror.
See the man on vgcreate section PVGs.
Physical volume groups allow you to make sure that your mirror is located accessing through a different controller so that you don't have to worry about mirroring through the same controller by accident or even mirroring across the same array introducing single points of failure.
I'm not sure on the VA disk system and perhaps you'll get more input in hte storage forum but on an autoraid for example mirroring your lun on the same array wouldn't make sense since the lun is distrubuted across all disks in any case.. if your VA array is fixed disk approach raid mirroring across one VA to another using PVGs is fine.. mirroring within the same enclosure is just going to cost you disk space if it is already raid protected and accessable from the other controller via lvm alternate links.. vgextend vgname /dev/dsk/ctd alternate.
Bill
It works for me (tm)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP