diff options
author | Avra Sengupta <asengupt@redhat.com> | 2014-10-21 08:42:40 +0000 |
---|---|---|
committer | Krishnan Parthasarathi <kparthas@redhat.com> | 2014-11-12 03:30:29 -0800 |
commit | 55aa4b185561edd7b3d1ab77a4f29a4facfdd7ff (patch) | |
tree | 057adbecb8c92fe3099004a5bd5daf2646eb0e30 /tests/bugs | |
parent | e607ca013f106bffe7f141d92a70e60c659c47d5 (diff) |
glusterd/snapshot: Check if LVM device path exists before delete.
Check if the LV is present before deleting the LV. In case where
the LV is absent (already deleted?), need not fail the snap delete
operation.
Also check if the LV is mounted before trying umount. In case it
isn't umounted, only remove the LV.
Change-Id: I0f5b2674797299d8748c6fac5b091f0caba65ca4
BUG: 1104714
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/8954
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'tests/bugs')
0 files changed, 0 insertions, 0 deletions