- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: breaking a root 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
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
09-28-2001 11:07 AM
09-28-2001 11:07 AM
breaking a root mirror
I am upgrading my disk subsystem.
I have 2 x internal disks and a Jamaica
array among other things. I am replacing the
Jamaica array. My vg00 is located on one of
the internal disks and mirrored to one of the
disks in the Jamaica.
How do I break my root mirror in order to finally
rid myself of the Jamaica array?
Thanks, Nora
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 11:19 AM
09-28-2001 11:19 AM
Re: breaking a root mirror
lvreduce -m 0 /dev/vg??/lvol?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 11:25 AM
09-28-2001 11:25 AM
Re: breaking a root mirror
First do a vgdisplay -v /dev/vg00 and note ALL the logical volumes you wish to unmirror and the drives you wish to remove from the volume group.
For each logical drive:
lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c0t5d0
this will remove the mirror lvol1 on /dev/dsk/c0t5d0. Substitute your correct values.
When all the logical volumes have been reduced, you then do a vgreduce /dev/vg00 /dev/dsk/c0t5d0 - again using the correct device.
That should fix you but I would man lvreduce and vgreduce to better understand these commands.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 11:25 AM
09-28-2001 11:25 AM
Re: breaking a root mirror
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 11:27 AM
09-28-2001 11:27 AM
Re: breaking a root mirror
use lvreduce -m 0 /dev/vg00/lvolx
for all logical volumes mirrored.
then use "vgreduce" to remove that disk from vg00.
check with lvlnboot -v that all your root boot and swap definitions are correct.
thanks
GK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 11:34 AM
09-28-2001 11:34 AM
Re: breaking a root mirror
Use 'lvreduce' to unmirror each logical volume. The use 'vgreduce' to remove the physical volume you want to free:
# for I in 1 2 3 #...for how many mirrored...
> do
> lvreduce -m 0 /dev/vgXX/lvol${I}
> done
# vgreduce /dev/vgXX /dev/dsk/cXtYdZ
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 11:37 AM
09-28-2001 11:37 AM
Re: breaking a root mirror
Sorry, I can't type today:
# for I in 1 2 3 #...for how many mirrored...
> do
> lvreduce -m 0 /dev/vg00/lvol${I} /dev/dsk/cXtYdZ
> done
# vgreduce /dev/vg00 /dev/dsk/cXtYdZ
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:02 PM
09-28-2001 12:02 PM
Re: breaking a root mirror
Use lvreduce command to break mirror.
lvreduce -m 0 /dev/vg00/lvol?? /dev/dsk/cXtYdZ
Once mirror is removed, remove the PV from VG.
vgreduce /dev/vg00 /dev/dsk/cXtYdZ
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:12 PM
09-28-2001 12:12 PM
Re: breaking a root mirror
Yes, I knew about the lvreduce part but do I have to
do anything else to make sure that the system won't
try to boot off of that root mirror in the future?
--Nora
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:18 PM
09-28-2001 12:18 PM
Re: breaking a root mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:20 PM
09-28-2001 12:20 PM
Re: breaking a root mirror
lvlnboot -v
to verify that everything is correct and only the correct drive is set to boot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:23 PM
09-28-2001 12:23 PM
Re: breaking a root mirror
no other steps required.
lvlnboot -v
confirmed it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:31 PM
09-28-2001 12:31 PM
Re: breaking a root mirror
i just need 3... that will give me 500 and a prettier hat...
Thanks.... with a big grin...
I have no dignity... no self respect... i need the status!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 12:48 PM
09-28-2001 12:48 PM
Re: breaking a root mirror
I'm in a generous mood :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2001 02:44 PM
09-28-2001 02:44 PM
Re: breaking a root mirror
how about first adding your new disks to VG00 and then 'pvmove' data from the yamaica disks to the new ones, and then removing the jamaica disks? Just to play safe ;)
regards,
Thierry.