[linux-lvm] LVM2 - pvresize alert

VESELÍK Jan jveselik at csob.cz
Tue Dec 12 13:13:06 UTC 2017


Hello,

I would like to suggest small tweak in command pvresize. If you use parameter -setphysicalvolumesize, you will get only pasive wargning with this potentially dangerous action. In comparrison to lvresize with parameter -L -, meaning making logical volume smaller, you receive warning and prompt to continue.

Is it possible to implement this kind of prompt to enter yes or no before every lvm action that could pottentially lead to data loss.

Thank you for consideration and have a great day.


Best regards


Jan Veselik
Administrátor
Československá obchodní banka, a. s.
Linux Servery
Radlická 714/113a
158 00 Praha 5

e-mail: jveselik at csob.cz<mailto:jveselik at csob.cz>
http://www.csob.cz/
Je nutné tento e-mail tisknout? Myslete na životní prostředí.

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Pravni informace: Tento e-mail a vsechny pripojene soubory (i) jsou duverne a mohou byt chraneny zakonem a (ii) nejsou navrhem na uzavreni smlouvy, ledaze jsou jako navrh na uzavreni smlouvy vyslovne oznaceny. Tento e-mail je urcen pouze uvedenemu prijemci a dalsim osobam, ktere  jsou jmenovite uvedeny jako prijemci. Jestlize nejste opravneny prijemce, pak jakakoliv forma zverejneni, reprodukce, kopirovani, distribuce nebo sireni je prisne zakazana. Pokud jste obdrzel tento e-mail omylem, oznamte to, prosim, neprodlene jeho odesilateli a pak jej vymazte. CSOB neruci za bezchybny a uplny prenos zasilanych informaci, ani za zpozdeni nebo preruseni prenosu a ani za skody zpusobene pouzitim nebo duverou v tyto informace.

Legal Disclaimer: This e-mail and any attached files (i) are confidential and may be legally privileged and (ii) do not constitute any proposal for conclusion of an agreement, unless they are expressly designated as such. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify CSOB immediately and then delete this e-mail. CSOB does not accept liability for the correct and complete transmission of the information, nor for any delay or interruption of the transmission, nor for damages arising from the use of or reliance on the information. All e-mail messages addressed to, received or sent by CSOB or CSOB employees are deemed to be professional in nature. Accordingly, the sender or recipient of these messages agrees that they may be read by other CSOB employees than the official recipient or sender in order to ensure the continuity of work-related activities and allow supervision thereof.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20171212/e1d8ff54/attachment.htm>


More information about the linux-lvm mailing list