Re: Accessing disk from F19 in F21

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 18, 2014 at 6:47 AM, Markus Lindholm
<markus.lindholm@xxxxxxxxx> 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
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux