fix(xfs, uuid): fixed uuid generation issue when mount fails

This issue is specific to xfs only, when we create a clone volume and system is taking time in creating the device.

When we create a clone volume from a xfs filesystem, ZFS-LocalPV will go ahead and generate a new UUID for the clone volumes as we need a new UUID to mount the new clone filesystem. To generate a new UUID for the clone volume, ZFS-LocalPV first replays the xfs log by mounting the device to a tmp localtion.

Here, what is happening is since device creation is slow, so we went ahead and created the tmp location to mount the clone volume but since device has not created yet, the mount failed. In the next try since the tmp location is present, it will keep failing there only at every reconciliation time.

Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
Pawan 2020-07-15 19:14:24 +05:30 committed by Kiran Mova
parent e00a6b9ae2
commit ea552beb1f
2 changed files with 31 additions and 10 deletions

View file

@ -0,0 +1 @@
fixed uuid generation issue when mount fails