[CentOS] lvm snapshot

Micky mickylmartin at gmail.com
Wed Dec 2 22:56:17 UTC 2015


LVM is terribly flawed and most imprudent piece of any filesystem that you
can have for snapshot'ing!

The only snapshot-friendly filesystem or volume manager is ZFS.
Whether create a single snapshot or few hundred thousand. It is instant and
no data is lost.

On Thu, Dec 3, 2015 at 12:09 AM, Axel Glienke <axel at glienke.cc> wrote:

>
> Hello
>
> after a lvm snapshot creation and a reboot are all logical volumes are
> missing, only swap is present.
>
>
>     lvcreate -L 5000M -s -n centos_h1-root_snap /dev/mapper/centos_h1-root
>
>     lvs
>       LV                  VG        Attr       LSize    Pool Origin Data%
> Meta%  Move Log Cpy%Sync Convert
>       centos_h1-root_snap centos_h1 swi-a-s---    4,88g      root   0,00
>       home                centos_h1 -wi-ao----   15,00g
>       root                centos_h1 owi-aos---   20,00g
>       swap                centos_h1 -wi-ao----    7,62g
>       var                 centos_h1 -wi-ao---- 1000,00g
>
>
>     after reboot no complete start, dracut console is running:
>
>    dracut:#
>     ls /dev/centos_h1/
>     swap
>
>     dmsetup info shows swap only, too
>
> I can reproduce this on 2 different Servers and a Virtual Machine have
> same behavior.
>
> What do i wrong?
>
>
>
> Greetings
>
> Axel
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list