On Thu, Dec 18, 2014 at 6:47 AM, Markus Lindholm
<markus.lindholm(a)gmail.com> wrote:
Hi
I just updated a computer from Fedora 19 to 21. I did it by adding a
second SSD to the computer on which I installed F21. The problem is
now that I can't access the files from the old SSD. They seem to be
overshadowed as the volume group has the same name as the new
installation.
Odd. The Fedora 21 installer should have avoided using the same VG
name as before. I just tried this with Fedora 20 and 21. Both default
to VG name "fedora" but Fedora 21's installer knows to add numbers if
"fedora" already exists. This is what I end up with:
[root@f21s ~]# lvs
LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert
home fedora -wi-ao---- 27.49g
root fedora -wi-ao---- 50.00g
swap fedora -wi-ao---- 2.02g
home fedora00 -wi-a----- 27.45g
root fedora00 -wi-a----- 50.00g
swap fedora00 -wi-a----- 2.00g
And hence no conflict.
Any way to get access to the old disk in this new setting?
vgrename
And then you need to make sure that you update grub.cfg and fstab or
you won't be able to boot. There's also a chance you'll need to
rebuild the initramfs too. So I suggest you pick which VG you want to
rename, and boot that instance first. Do the rename, change the fstab,
dracut -f, and then grub2-mkconfig -o /boot/grub2/grub.cfg.
--
Chris Murphy