Mount LVM "bubba" volumes in new B3
Posted: 28 Sep 2011, 16:08
I'm not very experienced with LVM and have a hopefully simple question.
I recently upgraded my B3 by getting a new 3TB disk. I mounted this new disk and did a clean install of the B3. It is now up and working fine.
Next step was that I took the original hard disk from my B3 and attached it to the B3 via e-sata.
When I do a sudo pvs I get this:
As you can see I have the two physical disk attached to my system. What I want to do is to mount the smaller disk /dev/sdb2/ so that I can copy the files off from this disk onto the new larger internal disk /dev/sda2/
I guess the problem is that the volume groups use the same name ("bubba")? if so, how can I fix this? It would be so nice if I can simply mount the old disk and just copy everything off of it.
I have tried to understand the LVM man pages but am not sure... and I don't want to risk damaging the disk. Can anyone more experienced with LVMs help me?
I'd be very grateful for any advice!
I recently upgraded my B3 by getting a new 3TB disk. I mounted this new disk and did a clean install of the B3. It is now up and working fine.
Next step was that I took the original hard disk from my B3 and attached it to the B3 via e-sata.
When I do a sudo pvs I get this:
Code: Select all
root@b3:/home/joakim# sudo pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 bubba lvm2 a- 2.72t 0
/dev/sdb2 bubba lvm2 a- 1.81t 0
I guess the problem is that the volume groups use the same name ("bubba")? if so, how can I fix this? It would be so nice if I can simply mount the old disk and just copy everything off of it.
I have tried to understand the LVM man pages but am not sure... and I don't want to risk damaging the disk. Can anyone more experienced with LVMs help me?
I'd be very grateful for any advice!