LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-22-2009, 08:55 PM   #1
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
LVM transition issue


I've got a Mythbuntu setup for my parents, but it has come time for an upgrade. As I've added a new hard drive, I thought the easiest way was to simply give /var/lib more space by taking it from it's original partition to transitioning to lvm.

Because of some other repairs / updates I've done, I did a lot booted into a liveCD (SystemRescueCD latest version - Gentoo based). I got lvm working pretty easily, and it mounts with my restored backup no problem.

I didn't think that it might be a problem that these physical and logical volumes were created in the liveCD, but it seems it is. I'm trying to use this howto:
http://tldp.org/HOWTO/LVM-HOWTO/reci...gtonewsys.html
to transition the volumes to the mythbuntu system. However, after rebooting into the mythbuntu setup, pvscan never returns any physical volumes. The device nodes are there, and cfdisk correctly identifies the partitions as lvm volumes.

Is there a different procedure to follow when just moving a volume group between two different OS's on the same machine? Thanks!
 
Old 12-22-2009, 09:14 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
If it helps, pvscan does find any physical volumes even when chrooted into the mythbuntu system (with /dev bind mounted, and proc,sysfs,tmpfs all mounted). So does that indicate a problem with the Ubuntu lvm2 package, or is there just some setup I don't know?

Thanks.
 
Old 12-22-2009, 10:01 PM   #3
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
I'm having much more luck now, but I'll post to leave this advice behind.

When trying to do inter-machine or inter-OS stuff with LVM, make sure the versions match.
 
  


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
LVM issue AndyD236 Linux - General 2 11-24-2009 07:26 AM
XP --> Slackware Transition RaptorX Slackware 13 07-01-2009 11:51 AM
LVM Issue bondoq Linux - General 8 05-12-2009 09:35 AM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM
LVM issue pauloco Linux - Hardware 1 11-14-2006 11:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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