- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Backup using 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
тАО12-11-2003 07:24 AM
тАО12-11-2003 07:24 AM
I guess to take a cold backup of the m1 and either keep the m0 running.
I can only guess at this point.
I guess to then resync later... not exactly sure...
Any advice on the trepidation of doing this? Is it a viable option? is it inherently dangerous...
I will post back when I know more if it is needed.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 07:26 AM
тАО12-11-2003 07:26 AM
Re: Backup using mirroring
Yes, it's absolutely a valid method. It's even taught in HP's "Hands On With LVM and Mirror/UX" course.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 07:26 AM
тАО12-11-2003 07:26 AM
Re: Backup using mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 07:28 AM
тАО12-11-2003 07:28 AM
Re: Backup using mirroring
I had that course but it has been a few years...
Would that be with lvsplit or simply lvreduce -m1? How would I go about it?
I am very knowledgeable about LVM, just not in this manner.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 07:32 AM
тАО12-11-2003 07:32 AM
SolutionYes it can be done this way. But it's much safer to use a 3-way (-m 2) for this because with a 2-way mirror, when you split one away you'll have an SPOF for the time that it's not in the mirror set.
So you would do a
lvreduce -m 1 /dev/vg_name/lv_name /dev/dsk/cXtYdZ
to split it off
And a
lvextend -m 2 /dev/vg_name/lv_name /dev/dsk/cXtYdZ
to bring it back & sync it.
We did this with OpenMail datastore disks all the time. It assures the data is completely inactive for a backup of the data on that disk.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 07:33 AM
тАО12-11-2003 07:33 AM
Re: Backup using mirroring
As said a very viable method, BUT
I would suggest using a tripple mirror on a live important database - spit one away and you still have a mirror safty net.
Basically
1. Split the mirror
2. Mount the mirror split
3. Back it up
4. Join the mirror.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 07:36 AM
тАО12-11-2003 07:36 AM
Re: Backup using mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 07:38 AM
тАО12-11-2003 07:38 AM
Re: Backup using mirroring
This however, is for an application unlike mine...they dont have BCVs.
heh my company is a big one and requires red tape/capacity planning/Project Creation, et al for disk purchases...long and drawn out..
they only have 2 mirrors m1 and m2... I fear they wont have time or $$ to get additional disks...
also, we are talking about 1TB of data here... across several fielsystems/LVOLS...
As I think about it more... I think they are going to be shooting themselves in the foot by trying to find a shortcut....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 07:39 AM
тАО12-11-2003 07:39 AM
Re: Backup using mirroring
/dev/vg_name/lv_nameb
it suffixes b to the org lv_name.
You have to fsck the "b" LV before you can mount it for "cooked" access.
You then umount the b LV use lvmerge to rejoin them.
But the same rule applies - A 2-way mirror split any way will leave you exposed for the amount of time it's not in the mirror set.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2003 07:46 AM
тАО12-11-2003 07:46 AM
Re: Backup using mirroring
No it's not wrong - it just depends on the backup method you intend to use.
You can lvreduce/lvextend if you are going to backup it up raw - like using dd or such.
There's more than one way to skin a cat my friend.
Rgds,
Jeff