Red Hat Bugzilla – Bug 1232159
Incorrect mountpoint for lv with existing snapshot lv
Last modified: 2015-07-29 01:04:40 EDT
Description of problem: Blivet devices list provides incorrect mount point for the snapshot lv. Version-Release number of selected component (if applicable): RHEL 6.7 and RHEL 7.1 How reproducible: Always Steps to Reproduce: 1. Create a Thin LV and format as xfs 2. Mount the thin lv (let us say path x) 3. Create a snapshot from the lv 4. Mount the snapshot lv in to some other path (let us say y) 5. Check the mount point for both lv 6. It shows snapshot lv's mount point for both lvs (shows path as y) Actual results: Blivet provides snapshot mount point for both lvs Expected results: It should provide the actual mount points Additional info: blivet.util.get_mount_paths(device.path) provides proper mount points for both lvs.
The problem was ultimately due to the snapshot and origin sharing the same format past the point at which they diverge from each other. A proposed patch has already been tested (#1230669).
We have tested this update through Gluster Console, following packages were used: # Console rhsc-3.1.0-0.62.el6.noarch # Gluster el6 nodes python-blivet-1.0.0.2-1.el6rhs.noarch pyparted-3.4-4.el6.x86_64 # Gluster el7 nodes python-blivet-0.61.15.11-2.el7.noarch pyparted-3.9-13.el7.x86_64 With those packages, issue from Comment 0 which corresponds to original issue from Bug 1230669, Comment 0 is gone. In addition to that, python-blivet was directly tested for this issue in Bug 1230669, comment 17. Thank you for the fix! --> VERIFIED
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. https://rhn.redhat.com/errata/RHSA-2015-1495.html