- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
тАО01-16-2003 11:13 AM
тАО01-16-2003 11:13 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2003 11:16 AM
тАО01-16-2003 11:16 AM
Re: Mirroring
I'm missing something here, I think. How are these disks mirrored? If you're using MirrorDisk/UX, mirroring is done at the LV level and there is no way that one logical volume could be mirrored to itself. Since you're using a simple disk enclosure, that eliminates RAID 0/1 mirroring from the picture.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2003 11:20 AM
тАО01-16-2003 11:20 AM
Re: Mirroring
No (but read on). MirrorDisk/UX for LVM is implemented at the logical volume level. By default, mirrored extents cannot occupy the same physical volume. This is "strict allocation" and is usually observed for very good reasons. If you didn't use this initially, you could use 'lvchange' to transition it from strict to nonstrict, but then you would loose valuable protection against physical disk failure in the first place.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2003 11:24 AM
тАО01-16-2003 11:24 AM
Re: Mirroring
Mirroring is at the Logical Volume level, not the PV or even VG level.
You'll have to add two disks to the VG / LV to get true mirroring. Then extend the VG with both disks. Then extend the LV with both disks & because you already defined the LV as mirrored, it'll extend & mirror the LV extension simultaneously. I suspect the LV mirror is defined as "strict" (this is default) - which means mirrors MUST occupy seperate PVs. This cannot be changed or overridden. Besides it's pointless to mirror data on the same disk. If it fails you lose BOTH copies.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2003 11:26 AM
тАО01-16-2003 11:26 AM
Re: Mirroring
#lvdisplay /dev/vgepic/lvepic
--- Logical volumes ---
LV Name /dev/vgepic/lvepic
VG Name /dev/vgepic
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 33000
Current LE 8250
Allocated PE 16500
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation non-strict
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2003 11:32 AM
тАО01-16-2003 11:32 AM
Re: Mirroring
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2003 11:35 AM
тАО01-16-2003 11:35 AM
Re: Mirroring
BUT again this is not recommended. The predominate need for mirroring is disk failure. IF that disk fails you WILL lose BOTH copies of the data contained on it.
I strongly suggest you run
lvdisplay -v against that LV & note just WHERE the copies are residing. Hopefully they are on seperate PVs but just might not be. You could be in a precarious posistion & NOT be protected from simple disk falures. That's playing with fire.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2003 11:40 AM
тАО01-16-2003 11:40 AM
Re: Mirroring
It should be noted that mirroring does not have to be a one-to-one thing.
For example you could use an 18 Gb disk to mirror TWO seperate 9 Gb disks. Just have to make sure that the total size of the 18 is => the total size of the 2 9s together.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2003 11:48 AM
тАО01-16-2003 11:48 AM
Re: Mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2003 12:04 PM
тАО01-16-2003 12:04 PM
SolutionWith regard to using 'lvchange' to alter the strict allocation policy of a mirrored logical volume, you will note from the man pages that the following are *not allowed*:
> From nonstrict to strict <
> From nonstrict to PVG-strict <
> From strict to PVG-strict <
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 06:57 AM
тАО01-17-2003 06:57 AM
Re: Mirroring
If you added that 5th disk now and did an lvextend, it will try to add the extents to that new disk and mirror to that new disk. You really only get to use half of the disk.
You really do need to break the mirrors, add 2 more disks and then re-mirror with strict allocation.