System is booted from Fedora 23 system in HDD sda. The Fedora 21 HDD is in a USB dock that is switched on after booting of the Fedora 23 system is complete and gets the name sdb. The home directory of the Fedora 21 system is a file system in the 3rd partition of sdb, sdb3 which is an LVM partition containing one or more file systems one of which is the /home directory for the Fedora 21 system. Neither "fdisk l" nor "parted l" show the identifiers used to mount the file systems in the LVM partition.
To mount the old home directory I need the identifier of the file system but how does one interrogate an LVM partition for the names of file systems inside it. This directory does not auto mount.
I have now found the LVM tool and am investigating its use.
I think my problem is that on install Fedora uses standard names for the 3 logical volumes in the LVM partition and if one has 2 HDDs with Fedora on them in a single system names clash and only the logical volumes on the boot hard drive are accessible.
[root@localhost Carl]# lvm lvscan ACTIVE '/dev/fedora/swap' [5.75 GiB] inherit ACTIVE '/dev/fedora/home' [409.26 GiB] inherit ACTIVE '/dev/fedora/root' [50.00 GiB] inherit inactive '/dev/fedora/swap' [5.75 GiB] inherit inactive '/dev/fedora/home' [875.07 GiB] inherit inactive '/dev/fedora/root' [50.00 GiB] inherit
I need to restate my question thus:-
In Fedora installation can one overide the default names for the 3 logical volumes in the LVM partition so that they are something other than /dev/fedora/swap /dev/fedora/home & /dev/fedora/root. Actually only the home logical volume matters I would like to set it to /dev/fedora##/home where ## is the Fedora version number.
I have just installed Fedora25 on a new hard disk. The lvs are no longer /dev/fedora/xxxx but /dev/fedorahost01.xxx where host01 is the chosen hostname and when I boot Fedora 21 and put Fedora 25 in the USB dock all lvs in the 3rd partition of the HDD are visible in the file manager.