LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2015, 02:39 PM   #1
PoleStar
Member
 
Registered: Jul 2010
Posts: 231

Rep: Reputation: 2
Back up plan for san migration. lvmconvert--2 leg scenario.


Hello,

So I am going to move lvm from one san to anohter.
Its on CentOS 5.

so "lvm1" from "sanA" to "sanB"
I do

Code:
>lvconvert -m1 --corelog VG/lvm1   /dev/disk_on_sanB
check:
>lvmdisplay  -m
...
..
Logical volume lvm1_mimage_0
......
Logical volume lvm1_mimage_1

then I break the mirror, taking off lvm1 from old sanA
>lvconvert -m0 VG/lvm1  /dev/disk_on_sanA
At this point if some thing goes wrong, is there a way to bring back original lvm1(from sanA) back to the server ?

Thanks

Last edited by PoleStar; 03-05-2015 at 02:59 PM.
 
Old 03-06-2015, 09:19 AM   #2
PoleStar
Member
 
Registered: Jul 2010
Posts: 231

Original Poster
Rep: Reputation: 2
I found the solution.

after you remove one leg( it was writing on 2 sans simultaneously) from old sanA

>lvconvert -m0 VG/lvm1 /dev/disk_on_sanA

do
Quote:
>vgsplit VG backVG /dev/disk_on_sanA
make it to lvm
>lvcreate -l992G -n backlvm1 backVG
At this point you can mount /dev/backVG/backlvm1 (from old san)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Tamil Nadu's XP migration plan: Go Linux like a BOSS LXer Syndicated Linux News 0 04-04-2014 07:20 AM
LXer: Migration Needs a Plan LXer Syndicated Linux News 0 04-10-2013 12:21 PM
LVM San migration pafoo Linux - Server 5 08-23-2011 12:22 AM
SAN Setup for migration of Xen Domains dmpatra Red Hat 0 07-10-2007 03:45 PM
swop out hard disk migration plan baird LinuxQuestions.org Member Success Stories 2 04-30-2007 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration