Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-05-2015, 03:39 PM   #1
Registered: Jul 2010
Posts: 170

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


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

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

>lvconvert -m1 --corelog VG/lvm1   /dev/disk_on_sanB
>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 ?


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

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

>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)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:20 AM
LXer: Migration Needs a Plan LXer Syndicated Linux News 0 04-10-2013 01:21 PM
LVM San migration pafoo Linux - Server 5 08-23-2011 01:22 AM
SAN Setup for migration of Xen Domains dmpatra Red Hat 0 07-10-2007 04:45 PM
swop out hard disk migration plan baird Member Success Stories 2 04-30-2007 11:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 PM.

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