- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to turn off 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
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
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
тАО08-13-2002 04:26 AM
тАО08-13-2002 04:26 AM
Greetings!
My system disk has one mirror. If a problem occurs with either disk they both go down, that's what I'm told. How do I turn off mirroring in order to bring the system back up with a single non-mirrored disk?
Thanks
-john
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 04:31 AM
тАО08-13-2002 04:31 AM
Re: How to turn off mirroring
There are instances with a mirrored boot disk where a failure of the primary copy will necessitate a reboot to recover. However, mirroring has protected your data.
To turn off mirroring for a logical volume do the following:
# lvreduce -m 0 /dev/vgXX/lvolN /dev/csk/cXtYdZ
Remember that mirroring in HP-UX LVM is done at the logical volume level, not at the physical disk or volume group levels.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 04:35 AM
тАО08-13-2002 04:35 AM
Re: How to turn off mirroring
Please do also an "lvlnboot -R vgXY" after reducing the mirror copies from the lvols.
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 04:39 AM
тАО08-13-2002 04:39 AM
Re: How to turn off mirroring
Can I do this after the system has failed? Can I bring is up in single user mode and use these commands to turn off mirroring?
-john
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 04:39 AM
тАО08-13-2002 04:39 AM
Re: How to turn off mirroring
For the boot disks, make sure the boot string has been setup on the secondary boot disk to use hpux -lq (if you have only one mirror--some sysadmins have 2 mirrors) so LVM will reboot automatically on the secondary without a quorum requirement.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 04:40 AM
тАО08-13-2002 04:40 AM
Re: How to turn off mirroring
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 04:46 AM
тАО08-13-2002 04:46 AM
SolutionFirst use setboot -a "primary disk HW/path" -a "secondary disk HW/PATH"
now mkboot
mkboot -a "hpux -lq " /dev/rdsk/cxxxx # primary
mkboot -a "hpux -lq " /dev/rdsk/cyyyy # secondary disk.
Now you are sure that if your system goes down you will be able to startup even one of the boot disks is out/off.
Bill: The first disk could break too...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 04:47 AM
тАО08-13-2002 04:47 AM
Re: How to turn off mirroring
Could you tell us how come both your harddisks will both go down in the event of either one of them failing?
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 05:09 AM
тАО08-13-2002 05:09 AM
Re: How to turn off mirroring
Hi Vincent, I was told that in a two disk mirrored setup that when one of the disk becomes unmirrorable (has problems) that the mirror system will take itself out because the mirroring (integraty) has failed; it has to maintain the mirror. In a three disk mirrored system a failure of one disk can be tolerated because mirroring is still occuring between the remaining two. This is what I was told by some HP experts (which I am not).
-john
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 05:24 AM
тАО08-13-2002 05:24 AM
Re: How to turn off mirroring
That description about mirroring not actually true. If that is the case, then nobody will keep their disk mirrored! Mirror/UX and LVM are more capable of finding out all these issues and defects and is intelligent to make sure that atleast one disk is good. Keep your disk as mirrored, find out the SCSI issues, apply the patches and keep tracking your log files.
For reducing mirror:
# lvreduce -m 0 ...
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 05:24 AM
тАО08-13-2002 05:24 AM
Re: How to turn off mirroring
Well, let me tell you from experience, all our root disks are mirrored, and I have had a failure or 2 but with it being mirrored, the system didnt even hic up for the users. I usually find out by a messge in syslog, or an event monitor message, but both the "good" disk was never effective. I just had to bring the system down to single user only to replace it, and replace the boot parms on it, then re-sync them up. I would keep the mirror, and not reduce it if you can, its a good fail safe.
and like mentioned, in a rare instance they both can go. But if you reduce your mirror, what is the point if you only root drive goes bad?
I would also have an Ignite tape made, just incase of that rare time when both would corrupt.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 05:30 AM
тАО08-13-2002 05:30 AM
Re: How to turn off mirroring
Well, it's true that when you have mirroring and one disk fails, the other disk "expects" that mirroring is still there. This will result in unsynced mirroring or a stale harddisk.
But... this does not mean that the healthy disk will fail too. Otherwise, what is the use of mirroring? Mirroring is there so that, if a disk fails, you can continue working. We recommend every customer to have at least software mirroring of their root disks. With mirroring, the other disk will automatically take control and continue normal operation. Sometimes you won't even notice you have a harddisk failure unless you have EMS notification.
With only one disk, take regular Ignite backups and make sure that they're good.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 05:36 AM
тАО08-13-2002 05:36 AM
Re: How to turn off mirroring
Thanks, You guys have been great! I had some bad information.
-john
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2002 12:23 PM
тАО08-13-2002 12:23 PM
Re: How to turn off mirroring
I think what you need is not to reduce the mirror but to tell the system to boot even though it hasn't met the quorum.
To do this boot the system, and when it asks if you want to interact with the ISL say yes.
Then issue "hpux -lq".
This will boot the system even though only 1 of the 2 disks in the mirror is available.