Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.15.0
-
None
-
3
-
9223372036854775807
Description
mds device calculated before stop () can not be used after stop() because of a device-mapper device is removed and facet device is restored:
stop () ->
elif dm_flakey_supported $facet; then
if [[ -n ${!failover_host} &&
${!failover_host} != ${!host} ]]
dm_cleanup_dev $facet ->
unexport_dm_dev $facet
Without the proposed fix the test_139 fails on failover setup:
losetup: /dev/mapper/mds1_flakey: failed to set up loop device: No such file or directory
To reproduce the failure just run:
sh llmountcleanup.sh ONLY=139 sh recovery-small.sh
on failover setup where mds1_HOST != mds1failover_HOST