Bug 1242442 - Restoring volume should change fstab entry
Summary: Restoring volume should change fstab entry
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Sahina Bose
QA Contact: RHS-C QE
URL:
Whiteboard:
Depends On:
Blocks: 1216951
TreeView+ depends on / blocked
 
Reported: 2015-07-13 10:59 UTC by Stanislav Graf
Modified: 2018-01-30 11:40 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2018-01-30 11:40:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1230669 0 high CLOSED Used brick is shown in add bricks dialog with different mount point after creating snapshot 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1242128 0 unspecified CLOSED Deleting a volume should delete also fstab entry 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1242444 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1230669 1242128 1242444

Description Stanislav Graf 2015-07-13 10:59:34 UTC
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 16:00:51 UTC
Doc text is edited. Please sign off to be included in Known Issues.

Comment 4 Ramesh N 2015-07-24 11:07:18 UTC
doc text looks good. Approved.

Comment 7 Sahina Bose 2018-01-30 11:40:01 UTC
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.