Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1242442 - Restoring volume should change fstab entry
Restoring volume should change fstab entry
Status: CLOSED CANTFIX
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhsc (Show other bugs)
3.1
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Sahina Bose
RHS-C QE
: ZStream
Depends On:
Blocks: 1216951
  Show dependency treegraph
 
Reported: 2015-07-13 06:59 EDT by Stanislav Graf
Modified: 2018-01-30 06:40 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
Restoring a volume to a snapshot changes the volume to use the snapshot bricks mounted at /var/run/gluster/snaps/. However, it does not remove the /etc/fstab entries for the original brick. This could cause a RHEL-7 system to fail to boot. Workaround: 1. Ensure that /etc/fstab entries are removed when the LVs are deleted from system. 2. If the system fails to boot, then start the system in emergency mode, use the root password, remount '/' in rw, edit fstab, save it, and then reboot.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-01-30 06:40:01 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stanislav Graf 2015-07-13 06:59:34 EDT
Description of problem:
=======================

When we restore a volume to the previously created snapshot, we create a 'regular volume' from the above 'snap' volume, which has the same name and 
volume-id as the original volume. Hence after restore you see the volume 
has bricks like /var/run/gluster/snaps/<snap-id>.

--> this should be reflected also in /etc/fstab
Comment 3 monti lawrence 2015-07-23 12:00:51 EDT
Doc text is edited. Please sign off to be included in Known Issues.
Comment 4 Ramesh N 2015-07-24 07:07:18 EDT
doc text looks good. Approved.
Comment 7 Sahina Bose 2018-01-30 06:40:01 EST
Thank you for your bug report. However, this bug is being closed as it's on a component where no further new development is being undertaken.

Note You need to log in before you can comment on or make changes to this bug.