Red Hat Bugzilla – Bug 1315408
Hyphen in LVM name caused wrong filesystem was used to search system files.
Last modified: 2017-08-31 07:06:36 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Linux OS will automatically double hyphen, if it exists in the LVM name whenever using as device path. Ex. if vgname = rhel_dhcp181-root, lvname = var, the device path will be /dev/mapper/rhel_dhcp181--root-var. Ignorance this may return empty information in smart state scanning.
Please add verification steps.
(In reply to Satyajit Bulage from comment #3)
> Please add verification steps.
1. Create a VM with multiple LVMs.
2. Name LVMs with hyphen inside, such as CFME-root.
3. Install different filesystems in root and other volumes (easier to reproduce the problem).
4. Run SSA to verify the fix.
Created lvm's with given information and Successfully ran SmartState Analysis on the VM. SSA did not return an empty information.
Verified Version :-22.214.171.124-beta2.6.20160516171555_b1be31f
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.