Goutham Pacha Ravi e9e4a3a6e3 [LVM] Run filesystem check before assigning UUID
We assign a random UUID with tune2fs to snapshots
and shares created from snapshots so that they
don't conflict with the parent shares/snapshots
when both of them are being mounted.

tune2fs requires that a filesystem check be
performed "recently" before UUID assignments.
So, perform a filesystem check right away to
allow tune2fs to assign a random UUID.

Depends-on: https://review.openstack.org/#/c/637565
Change-Id: I858a318f7a83e033cc3f2699859e38b6b74c8d24
Related-Bug: #1645751
Closes-Bug: #1798219
(cherry picked from commit 817cce347a567863173e3065084bfabc35845907)
(cherry picked from commit 55507cc603f8ab00b2b6dbeb2d4a2fa4e862f317)
2019-02-18 16:56:56 +00:00
..