- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LVM 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
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
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-24-2003 05:30 AM
тАО08-24-2003 05:30 AM
LVM mirroring
I plan to mirror my oracle filesystem. But I am not certain on a few options. Can option -M y and -c y (Mirror write cache and Mirror consistency) be used together (are they mutually exclusive?). Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2003 05:57 AM
тАО08-24-2003 05:57 AM
Re: LVM mirroring
No, the man pages for 'lvcreate' answer this.
'-c mirror_consistency' is effective only when '-M n' is specified. It is ignored for '-M y'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2003 06:07 AM
тАО08-24-2003 06:07 AM
Re: LVM mirroring
Since the filesystem is already created, lvcreate is not the command to even discuss.
The prior post covers it anyway.
All that covers is how the mirror is recovered if it gets out of synch.
Process:
lvcreate the logcial volume
lvcreate -C y -n oracledata /dev/vg01
# Creates a contiguous required volume named oracledata in volume group vg01
lvextend -L
replaced the # signs with real disk
lvextend -m 1 /dev/vg01/oracledata /dev/dsk/c#t#d0
make the disk obviously a second valid disk.
Done, you are mirrored. If one disk fails, the database chugs 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
тАО08-24-2003 06:17 AM
тАО08-24-2003 06:17 AM
Re: LVM mirroring
Since they are mutually exclusive, then I wonder what would be best. Mirror write cache or Mirror conistency? Could someone share their experience on this issue? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2003 06:50 AM
тАО08-24-2003 06:50 AM
Re: LVM mirroring
If the logical volume has already been created, your options are defined in the man pages for 'lvchange'.
At 'lvcreate', the mirror write cache is *on* by default ('-M y') as is the mirror consistency flag ('-c y'). As the man pages for 'lvcreate' specify, setting mirror consistency *on* is actually *ignored* when the mirror write cache is enabled.
A good guide to how these choices interpolate can be found in the Technical Knowledge Base document #KBAN00000180.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2003 07:03 AM
тАО08-24-2003 07:03 AM
Re: LVM mirroring
You wrote, "Small tutorial: Since the filesystem is already created, lvcreate is not the command to even discuss."
Please note that that was not explicitly stated by the author. Further, the author specifically asked about using the mirror_write_cache and mirror_consistency options.
You did not address the later. Please reread my first post before you say "Small tutorial...lvcreate is not the command to even discuss".
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2003 06:15 PM
тАО08-24-2003 06:15 PM
Re: LVM mirroring
I just want to know if mirror write cache and mirror write consistency is mutually exclusive or not. Now that I know, my next question is which option of the two is best for an oracle database? If you need more info, such as type of raid or hardware, please let me know. Thanks.