diff options
author | Avra Sengupta <asengupt@redhat.com> | 2014-04-03 03:36:28 +0000 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-04-28 03:51:29 -0700 |
commit | b46d0ba04901ebca81d0f477e3e9ac6ba8607946 (patch) | |
tree | 76409c205f8e6e23057fef95a81b0674fa3f0d86 /xlators/mgmt/glusterd/src/glusterd-op-sm.c | |
parent | 5d9172e0b3e14795db7aba321cfcac428a201399 (diff) |
glusterd/snapshot: Recreate the mount dirs and mount the lvm snapshots on node reboot.
The lvm snapshots of the bricks are mounted at /var/run/gluster/snaps/ or
/run/gluster/snaps. These paths being on a tempfs, on reboot are removed.
So when glusterd starts, we need to recreate these paths, activate the
respective logical volumes (lvm snapshots of the bricks), and mount
these logical volumes at their respective paths.
Change-Id: Ic5ef61e79a25d9830df717c592391965fe09db62
BUG: 1061685
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/7452
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c')
0 files changed, 0 insertions, 0 deletions