LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-01-2008, 09:52 AM   #1
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Rep: Reputation: 15
Moving LVM Between Machines...


I've got a hard drive in one machine that currently has LVM setup on it. If I physically move that disk and add it to a machine with its own LVM setup, will I be able to use it without problems? (The volume names are unique.)

Also, if I extend this example to two disks--i.e. I have two physical volumes comprising one volume group on a machine--can I then move those two disks to another machine with LVM already setup? (Again, the volume names are unique.)

Lastly, if either of the above are possible, does it matter to which cable I connect the drives to in the target machine? These are all SATA drives.

Thanks!
 
Old 03-01-2008, 10:38 AM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 475

Rep: Reputation: 73
As long as the VG names are unique there should not be a problem. It should pick them up on the LVM scan during boot and then you just mount the LVs and go. There'd be a bit more work if they were not unique in that you'd need to export them first and then import them on new system as new VG name (for simplicity). Should not matter where they are connected as long as it doesn't push your /boot partition to a different device. If it does this you'll know because grub likely will not find the menu.lst (grub.conf) and boot your system normally. Even if that does happen, it's easily recoverable by reinstalling grub and pointing to correct hd.
 
  


Reply


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
Directly Moving files to Linux Machines??? ajeetraina Linux - Newbie 1 12-03-2007 03:27 AM
LVM Moving from one server to another adamski2000 Linux - Server 0 11-15-2007 05:37 PM
Moving a LVM set. Voltar Slackware 4 08-04-2006 05:10 PM
moving a file sequentially to different machines nightly mijohnst Programming 3 12-04-2005 06:44 PM
Moving Mozilla mail folders between machines rharvey@cox Linux - Software 6 02-13-2004 10:56 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration