puppetlabs-lvm icon indicating copy to clipboard operation
puppetlabs-lvm copied to clipboard

MODULES-10620: Don't erase filesystem content and add force arg

Open ahmet2mir opened this issue 5 years ago • 1 comments

Hello,

When a device already contains a FS, the command mkfs use "force" and erase the content. It could be very dangerous causing data lost.

To avoid this, add a "force" arg to filesystem. When set to default false

a device without FS will be created
a device with a FS will not be changed until user specify force, in this case umount and create the FS

ahmet2mir avatar Apr 06 '20 22:04 ahmet2mir

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Sep 01 '21 18:09 CLAassistant