- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Question about LVM 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
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-17-2003 08:33 AM
01-17-2003 08:33 AM
Question about LVM disk mirroring
and vgreduce to free up the disk, now that disk has free up all its partition. My question, once the pv has physically remove from the vg, can one boot it up using boot alternate mode? I am planning to do update on patches
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 08:38 AM
01-17-2003 08:38 AM
Re: Question about LVM disk mirroring
Take a look at next discussion.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6967c1c4ceddd61190050090279cd0f9,00.html
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 08:38 AM
01-17-2003 08:38 AM
Re: Question about LVM disk mirroring
Instead of just reducing the mirror, how about splitting it off via lvsplit? Once your patch update is complete and everything isi working, you can lvmerge them back together.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 08:40 AM
01-17-2003 08:40 AM
Re: Question about LVM disk mirroring
Try this posting, to check if your mirrored boot disk is valid.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 08:41 AM
01-17-2003 08:41 AM
Re: Question about LVM disk mirroring
Here is a more standard methodology for patching.
make_tape_recovery backup. vg00 only.
Install patches
If the machine won't boot, recover off the Ignite tape.
It's easier than messing around with Mirrors.
We mirror so the system will keep running in the event of a disk or controller failure.
Following your methodoloy, you can lvextend -m 1 after the update once you are happy with what what on.
I've had some issues breaking mirrors, and don't want to be troulbed with it in most cases.
Steve
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-17-2003 09:13 AM
01-17-2003 09:13 AM
Re: Question about LVM disk mirroring
*** I want to update patches and want to using this
method : lvreduce and vgreduce. ( i am currently testign this ). however, thank you for your suggestion on using lvslit
2 disks : one is primary and one is secondary. The primary disk is diskA and secondary disk is diskB. Create a mirror for them. So, let say that I went through the testing process to make sure I can boot on the primary and secondary. Now, currently, the system is boot on primary device. Here is what i want to accomplish at this point :
1. I want to break the mirror for this vg.
2. then vgreduce the primary disk (diskA) out of the volume group. This will leave the vgxx with only diskB.
3. Since now the diskA no longer part of the vg, I have to change the boot using (set boot command ) to set the primary boot to the h/w path of the secondary disk (diskB).
*** I am right on this?
4. So, once if this has been successfully update, I can
bring diskA back and mirror it.
*** How do I know if I am mirroring the new information vs the old information?
** Please check on the step...
pvcreate -B -f /dev/rdsk/cxtxdx...
** If the disk is created without the -f, doesn't it mean it still have information on it. If using pvcreate with -f then, it will initialize the disk and all the information pertains to the disks are no longer available.
** If I am correct on this...
then when to add the disk back and redo the mirroring then -f will be needed. this will do the mirroring of the new information. Is this how to check it ?
-- the rest of the steps on how to create a mirrorI have it under control... :)
5. What if after you have been successfully boot up the system by the secondary disk (diskB), and update the patches and during this process, you screw up very bad causes this disk no longer boot. Now I want to be able to use the mirror on the primary disk to go back where it was from the begining. How would I accomplish this?
would vgcfgrestore work?
I can't use lvextend to extend the bad mirror... so how do I go back to use the good mirror disk that has been remove earlier as I stated...
thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 04:21 PM
01-21-2003 04:21 PM