zfs-localpv/pkg
Pawan Prakash Sharma 27517c6254
fix(xfs): clearing the xfs log before generating UUID (#64)
xfs_admin command to generate the new UUID for the cloned
volume fails without returning error if there is log available
in the filesystem :

ERROR: The filesystem has valuable metadata changes in a log that needs to
be replayed.  Mount the filesystem to replay the log, and unmount it before
re-running xfs_admin.  If you are unable to mount the filesystem, then use
the xfs_repair -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.

No UUID will be generated in this case and application can not mount the volume.

Here mounting the filesystem to the temp location with "nouuid" mount option first
so that it can replay the logs first and system is in clean state and then unmount it
and after that generating the UUID with the xfs_admin command.

Signed-off-by: Pawan <pawan@mayadata.io>
2020-03-26 20:52:53 +05:30
..
apis/openebs.io/core/v1alpha1 feat(zfspv): adding snapshot and clone support for ZFSPV (#39) 2020-02-13 13:31:17 +05:30
builder feat(zfspv): adding snapshot and clone support for ZFSPV (#39) 2020-02-13 13:31:17 +05:30
client/k8s/v1alpha1 feat(analytics): adding google analytics for ZFSPV 2020-03-02 23:00:22 +05:30
common feat(analytics): adding google analytics for ZFSPV 2020-03-02 23:00:22 +05:30
config feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
driver fix(clone): setting properties on the clone volume 2020-03-12 22:03:58 +05:30
generated feat(zfspv): adding snapshot and clone support for ZFSPV (#39) 2020-02-13 13:31:17 +05:30
mgmt feat(zfspv): adding snapshot and clone support for ZFSPV (#39) 2020-02-13 13:31:17 +05:30
response feat(resize): adding Online volume expansion support for ZFSPV 2020-03-04 18:30:28 +05:30
usage feat(analytics): adding google analytics for ZFSPV 2020-03-02 23:00:22 +05:30
version feat(analytics): adding google analytics for ZFSPV 2020-03-02 23:00:22 +05:30
zfs fix(xfs): clearing the xfs log before generating UUID (#64) 2020-03-26 20:52:53 +05:30