- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring of 2 discs in the same volume group
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
01-12-2004 02:24 AM
01-12-2004 02:24 AM
Regards Tony
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 02:27 AM
01-12-2004 02:27 AM
SolutionMirrorDisk/UX works on the logical volume level. You don't mirror whole disk but rather individual lvol's. The syntax you show will mirror the already existing lvolx onto /dev/dsk/cXtXdX, which has to be part of the same volume group.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 02:28 AM
01-12-2004 02:28 AM
Re: Mirroring of 2 discs in the same volume group
find out with the lvdsiplay -v /dev/vg01/lvolX
the lvextend command says in english, make one MIRROR copy of whats out there and put it on this disk.
The command won't work if you point the mirror copy to any of the disks the original is on.
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
01-12-2004 02:31 AM
01-12-2004 02:31 AM
Re: Mirroring of 2 discs in the same volume group
The mirroring takes place on lvol level. So
if you need to create new mirrored lvols i would suggest
lvcreate -M1 -L
If you have two disks in the vg UX knows that is should use both disks.
and you create one mirrored.
If you have a lvol on one disk and you need to add a mirror just use the lvextend command you found.
HTH,
Gideon
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 02:46 AM
01-12-2004 02:46 AM
Re: Mirroring of 2 discs in the same volume group
This is going to depend on how your system is set up.
do a strings /etc/lvmtab -- are these devices in one volume group or two?
How many disks are you going to mirror onto?
Are you mirroring disks that are used for booting? (this will change how you do this slightly).
basically you have to
pvcreate (-B if boot) -f /dev/rdsk/
vgextend /dev/
for each logical volume,
lvextend -m 1 /dev/
(this is assuming this is not a boot disk, and that you already have mirror disk/ux installed. If you get an error about the -m option, it probably means Mirror/DIsk UX is not installed yet and you'll have to purchase/install it).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 02:52 AM
01-12-2004 02:52 AM
Re: Mirroring of 2 discs in the same volume group
vgdisplay -v
will mirror each logical volume, but this will only work if you have one disk device that everything is going to mirrored onto (if you had one 8 GB device that you were going to mirror all the data onto, for example).