- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disk mirroring
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
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
10-04-2005 12:17 AM
10-04-2005 12:17 AM
Disk mirroring
Can someone tell me what I might be doing wrong? Thank you much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 12:19 AM
10-04-2005 12:19 AM
Re: Disk mirroring
=> vgdisplay -v vg00
=> vgdisplay -v vg01
In attachment a working script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 12:19 AM
10-04-2005 12:19 AM
Re: Disk mirroring
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 12:20 AM
10-04-2005 12:20 AM
Re: Disk mirroring
Do you have all four disks in vg00??
Also what is the pe settings for vg??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 12:20 AM
10-04-2005 12:20 AM
Re: Disk mirroring
Could you post an
# ioscan -fnCdisk
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 12:33 AM
10-04-2005 12:33 AM
Re: Disk mirroring
In order to mirror with e the HP mirroring product, all the disks need to in the same volume group. You cannot mirror one VG to another.
Remove the non vg00 vg and add the disks to vg00.
Be sure to run pvcreate -b against the mirror boot disk before you add it to the vg in order to make the mirror bootable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 12:35 AM
10-04-2005 12:35 AM
Re: Disk mirroring
What I'm understanding from your questions is that all four disks need to be in vg00, in which case I would just extend it. I guess I don't properly understand the process.
I figured that if I wanted to mirror vg00, the destination disks would need to be outside vg00. Is that not the case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 12:37 AM
10-04-2005 12:37 AM
Re: Disk mirroring
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 12:42 AM
10-04-2005 12:42 AM
Re: Disk mirroring
Then you can mirror them. lvextend -m 1 /dev/vgXX/lvolX /dev/dsk/cXtXdX /dev/dsk/cXtXdX
No need to transfer files, does your terminal emulator have a buffer? or can you cut and paste?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 12:58 AM
10-04-2005 12:58 AM
Re: Disk mirroring
I may be hallucinating, but it appears to me that the script has a bug in it %~/
...
#set -x
echo "Mirroring root disk to $DEV"
echo "Do you want to proceed (y/n) [n] ? \c"
read answer
...
DEV=$1
RDEV=$(echo $DEV|sed 's/dsk/rdsk/')
It asks if you want to mirror to $DEV *before* it sets $DEV to $1
I also notice that it *assumes* that the user put in a non-raw device name. I would check for that and exit if not :
if ! echo $DEV | grep /rdsk/ > /dev/null ; then
echo you must enter raw device name -$DEV- is not raw.
exit 1
fi
(or you could allow him to enter either type and fix it in the script)
bv