[linux-lvm] reduce size of snapshot - what is about previous reduce of file system ?

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Thu Aug 28 12:50:00 UTC 2014


Hi,

i have a lv which has a snapshot. Size of the snapshot was too big while creating. So I'd like now to reduce the size of the snapshot for being able to create a second one. man lvreduce says: Shrinking snapshot logical volumes (...) is supported as well. Ok, that's fine. But normally, before shrinking a lv, the file system has to be reduced. But does the snapshot have a fs ? I never ran a mkfs.xxxx on it. Can I just reduce the size without doing anything before ? Or do I have to provide a -r to lvreduce ?

Thanks for any information.


Bernd

--
Bernd Lentes

Systemadministration
Institut für Entwicklungsgenetik
Gebäude 35.34 - Raum 208
HelmholtzZentrum münchen
bernd.lentes at helmholtz-muenchen.de
phone: +49 89 3187 1241
fax:   +49 89 3187 2294
http://www.helmholtz-muenchen.de/idg

Die Freiheit wird nicht durch weniger Freiheit verteidigt



Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671




More information about the linux-lvm mailing list