When restoring guest files/folders for a linux VM, we ran into an issue with the root folders.
Instead of restoring for example, var/log or home/ or whatever root folder, it restores it as rhel7-var/log or rhel7-home/ or rhel7-opt. Unfortunately we do not have access to the VMs in question so we cannot change the folder names afterwards.
We already determined it is not a fault in the restore process as it already shows the rhel7-var etc. nomenclature during the live browse.
When another party looked at one of the VMs in more detail, with the mount command they saw the following output:
/dev/mapper/rhel7-var on /var type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
/dev/mapper/rhel7-tmp on /tmp type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
This would explain where the rhel7 prefix is coming from, but why does it happen and how can we circumvent it?