[lvm-devel] Batch/queue LVM operations

Eric Wheeler lvm-devel at lists.ewheeler.net
Fri Jul 28 19:22:33 UTC 2017


Hello,

Is there an option to batch LVM operations?  

For example, I would like to delete 100 thin snapshots without updating 
the vgmeta 100 times.

Same thing with lvcreate, lvresize, etc.  

If would be neat if `lvm`'s readline prompt could take multiple commands 
via stdin and commit them once, even at the expense of longer lock times.

Is there already support for this in some form?


--
Eric Wheeler




More information about the lvm-devel mailing list