- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unmounting mirrors for restore later
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
12-03-2003 08:05 PM
12-03-2003 08:05 PM
This could be a tricky one.
We are in the process of planning a OVO upgrade and I would like some protection against it all going wrong!
I have the whole of OVO on one volume group (vgopc)which contains two physical disks (main and mirror).
I would like to split the disks leaving the mirror volume safe from the upgrade. Is there a away of mounting the mirror somewhere else and using it to restore from in the unlikely event of a problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 08:24 PM
12-03-2003 08:24 PM
SolutionYes it is very much possible but it has to be done logical volume level not on Disk level.
You can split volumes using lvsplit command and then you can mount bot volumes seperately.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 08:25 PM
12-03-2003 08:25 PM
Re: Unmounting mirrors for restore later
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 08:25 PM
12-03-2003 08:25 PM
Re: Unmounting mirrors for restore later
One more addition you can merge these voulmes again using lvmerge command.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 08:28 PM
12-03-2003 08:28 PM
Re: Unmounting mirrors for restore later
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2003 08:32 PM
12-03-2003 08:32 PM
Re: Unmounting mirrors for restore later
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:54 AM
12-04-2003 01:54 AM
Re: Unmounting mirrors for restore later
vgexport -p -s -m /path/to/mapfile.1 /dev/vgXX
lvsplit ... ... ... ## one for each LVol in vgXX
lvsplit ... ... ...
vgexport -p -s -m /path/to/mapfile.2 /dev/vgXX
Also, after you lvsplit and remove the -m 0, You might consider reducing out those disks. I believe you can then recreate the Lvols with only the m1 mirror disks.
This will then be a workaround for hte problem of having the m0 overwrite the m1 disk upon a resync of the mirrors.
I have not used this method before, but it seems to be sound logic. As long as the disks are still defined in the lvmtab, I see no problems.