diff options
author | Avra Sengupta <asengupt@redhat.com> | 2014-10-21 08:42:40 +0000 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2014-12-22 04:17:19 -0800 |
commit | f9b4ef19d9e80ab4723e947a04c1c094843a0b6f (patch) | |
tree | bc25ee7e2d3169040d0a639353b43e7aa9f9be7e /xlators/features/snapview-server | |
parent | d2bde251a93968a03b7b49b3127f29ebdce73b13 (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: 1175754
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>
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/9299
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/features/snapview-server')
0 files changed, 0 insertions, 0 deletions