Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old January 25th, 2008   #1
JohnDear
First Cup of Ubuntu
 
Join Date: Aug 2007
Beans: 6
Transfering LVM to other computer

Hello all,

I am not much of a Linux expert, but I have managed to run Linux in a "quasi server" environment. Now, I have decided to get a better motherboard and a faster processor (Celeron to C2D so major chipset change). I don't have a problem reinstalling Linux, all it basically does is sit and serve media to the network, so there are not files that need saving from the main drive.

Now, my LVM is a totally different situation. I have close to 3 TB of data in an LVM with 4 drives, and those I really can't lose. Can I just disconnect that and plug it into a new computer? Do I have to back something up first? I think there is a file with LVM data somewhere, but I am not sure if I have to do something about that.

Any help is greatly appreciated
John

PS: This is the right forum for this, right?
JohnDear is offline  
Old January 26th, 2008   #2
jeffus_il
Grande Half-n-Half Cinnamon Ubuntu
 
jeffus_il's Avatar
 
Join Date: Dec 2007
Location: Israel
Beans: 980
Ubuntu 9.10 Karmic Koala
Send a message via ICQ to jeffus_il
Re: Transfering LVM to other computer

The Linux kernel can boot after changing hardware, take the livecd as an example. I would try it, You could make sure that you have support for the new hardware before you shut down the old machine, that is if the necessary kernel modules are installed. If you are comfortable working at the text console, you should be able to do it.
__________________
If you can, help others; if you cannot do that, at least do not harm them.
Dalai Lama
jeffus_il is offline  
Old January 26th, 2008   #3
JohnDear
First Cup of Ubuntu
 
Join Date: Aug 2007
Beans: 6
Re: Transfering LVM to other computer

Hi Jeffus,

thanks for the reply. So the OS may work, but what if it doesn't?

If I have to reinstall, what am I doing with my LVM? Any precautions I need to take?

John
JohnDear is offline  
Old January 26th, 2008   #4
jeffus_il
Grande Half-n-Half Cinnamon Ubuntu
 
jeffus_il's Avatar
 
Join Date: Dec 2007
Location: Israel
Beans: 980
Ubuntu 9.10 Karmic Koala
Send a message via ICQ to jeffus_il
Re: Transfering LVM to other computer

I guess I would make sure that the LVM software to be installed is backward compatible with your current version.
Do you have a backup of the LVM?
I found this on moving a volume group to another system, Which would be relevant if you installed a new system:
http://tldp.org/HOWTO/LVM-HOWTO/reci...gtonewsys.html
__________________
If you can, help others; if you cannot do that, at least do not harm them.
Dalai Lama
jeffus_il is offline  
Old January 26th, 2008   #5
JohnDear
First Cup of Ubuntu
 
Join Date: Aug 2007
Beans: 6
Re: Transfering LVM to other computer

Well, I did not export my volume group. According to the page you linked it is not necessary. Now, if I do "pvscan", I get:
Couldn't find device with uuid 'uwcDst-NCXr-vEqC-2DFD-0Me4-iZdn-meeSWS'.
Couldn't find device with uuid 'IhIVJ9-L5Bj-1Jut-V5fL-w426-2TWq-0HwMaJ'.
Couldn't find device with uuid 'uwcDst-NCXr-vEqC-2DFD-0Me4-iZdn-meeSWS'.
Couldn't find device with uuid 'IhIVJ9-L5Bj-1Jut-V5fL-w426-2TWq-0HwMaJ'.
Couldn't find device with uuid 'uwcDst-NCXr-vEqC-2DFD-0Me4-iZdn-meeSWS'.
Couldn't find device with uuid 'IhIVJ9-L5Bj-1Jut-V5fL-w426-2TWq-0HwMaJ'.
Couldn't find device with uuid 'uwcDst-NCXr-vEqC-2DFD-0Me4-iZdn-meeSWS'.
Couldn't find device with uuid 'IhIVJ9-L5Bj-1Jut-V5fL-w426-2TWq-0HwMaJ'.
Couldn't find device with uuid 'uwcDst-NCXr-vEqC-2DFD-0Me4-iZdn-meeSWS'.
Couldn't find device with uuid 'IhIVJ9-L5Bj-1Jut-V5fL-w426-2TWq-0HwMaJ'.
Couldn't find device with uuid 'uwcDst-NCXr-vEqC-2DFD-0Me4-iZdn-meeSWS'.
Couldn't find device with uuid 'IhIVJ9-L5Bj-1Jut-V5fL-w426-2TWq-0HwMaJ'.
PV /dev/sdb1 VG server lvm2 [465.76 GB / 0 free]
PV /dev/sda1 VG server lvm2 [465.76 GB / 0 free]
PV /dev/sdd1 VG server lvm2 [698.63 GB / 0 free]
PV unknown device VG server lvm2 [167.68 GB / 8.00 MB free]
PV unknown device VG server lvm2 [232.88 GB / 0 free]
Total: 5 [1.98 TB] / in use: 5 [1.98 TB] / in no VG: 0 [0 ]

I think my mistake is, that I have a weird setup, probably due to my inexperience. I have one big volume group, which includes 5 drives. 3 of those drives are in one volume group and the other 2 a another volume group.
Unfortunately, right now I can only use the set of 3, because I am an idiot and didn't realize that new motherboards only have 1 PATA connector and I have the system disk and the set of 2 as PATA.

That seems to make the restore pretty inconvenient, and I am not sure what to do now

Any ideas?
JohnDear is offline  
Old January 27th, 2008   #6
jeffus_il
Grande Half-n-Half Cinnamon Ubuntu
 
jeffus_il's Avatar
 
Join Date: Dec 2007
Location: Israel
Beans: 980
Ubuntu 9.10 Karmic Koala
Send a message via ICQ to jeffus_il
Re: Transfering LVM to other computer

Would you want to purchase a PCI IDE card? They are very reasonable.
Another option is to put them into an external USB-2 enclosure.
__________________
If you can, help others; if you cannot do that, at least do not harm them.
Dalai Lama

Last edited by jeffus_il; January 27th, 2008 at 04:26 AM..
jeffus_il is offline  
Old January 28th, 2008   #7
JohnDear
First Cup of Ubuntu
 
Join Date: Aug 2007
Beans: 6
Re: Transfering LVM to other computer

Yeah, I considered that. I spend a whole night ruminating about this, and I came to the conclusion that I need to get rid of the 2 old PATA drives. But in order to do that I have to get the volume group up and running again. So I did what I had to do, I removed the new hardware and put the old crap back in, reconnected all the drives. I freed up a 250 GB drive in one other computer and made some more room on other drives, and I spend all of yesterday and half of today to move 430 GB through my network.
I am about done now and will then remove the logical volume with the two PATA drives from the volume group. Then I can take the old hardware out, put the new stuff back in and hope I can get it back up and running.

I already had to manually reconfigure the xserver because I am switching between ATI and NVidia....

I can do it, I can do it

Thanks for your help
JohnDear is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:51 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry