Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Data is getting lost after RHGS node reboot. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a volume 2. mount it to any app 3. Generate some data 4. Reboot any RHGS node Actual results: Data is missing from brick paths Expected results: Old data should be available under brick paths Additional info:
This doesn't look like a Heketi bug, right?
Moved it to RHGS GlusterFS container
Pointed out by Humble and Ashiq, Heketi needs to use /dev/mapper/... device nodes in the fstab.
Luis, Also merge this PR(https://github.com/heketi/heketi/pull/440) to update templates.
With latest build: rhgs-server-docker-3.1.3-13 rhgs3-rhgs-volmanager-rhel7-3.1.3-12 Don;t see data loss , also fstab path is changed to /dev/mapper.. cat /var/lib/heketi/fstab /dev/mapper/vg_5d59ca08593a21a0b5932315de85c919-brick_2b982a20aff0c7db0c1874463d44478b /var/lib/heketi/mounts/vg_5d59ca08593a21a0b5932315de85c919/brick_2b982a20aff0c7db0c1874463d44478b xfs rw,inode64,noatime,nouuid 1 2 /dev/mapper/vg_5d59ca08593a21a0b5932315de85c919-brick_9298bd4e5943fdb859cce104643f9cb7 /var/lib/heketi/mounts/vg_5d59ca08593a21a0b5932315de85c919/brick_9298bd4e5943fdb859cce104643f9cb7 xfs rw,inode64,noatime,nouuid 1 2
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/RHBA-2016-1498.html