[linux-lvm] snapshot an lvm disk containing ext4 partitions

Alexis alexis.pellicier at nds.k12.tr
Thu May 23 06:31:23 UTC 2013


I was use to snapshot an LVM volume containing ext4 partitions for backup 
purpose. This is a disk for Xen DomU paravirtualized linux box.

With lvm-2.02.98 and kernel  3.4.11 from opensuse 12.2 the ext4 partitions 
inside  the snapshot were clean.

Now I've upgraded to opensuse 12.3 (kernel 3.7.10 lvm-2.02.98)

Is lvm supposed to keep my inside ext4 partitions clean when snapshotting my 
volume? If not is theire any way of doing this?

Any advices welcome.

Thyank you.

Here some informations on my volume
#lvdisplay /dev/mes_volumes/serveur2
  --- Logical volume ---
  LV Path                /dev/mes_volumes/serveur2
  LV Name                serveur2
  VG Name                mes_volumes
  LV UUID                RcWN3e-oBYI-OnhW-Hdi5-eHjR-pe6R-ldpKDU
  LV Write Access        read/write
  LV Creation host, time , 
  LV Status              available
  # open                 1
  LV Size                100,00 GiB
  Current LE             25600
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           253:1

#kpartx /dev/mes_volumes/serveur2
mes_volumes-serveur2p1 : 0 4176837 /dev/mes_volumes/serveur2 63
mes_volumes-serveur2p2 : 0 41913585 /dev/mes_volumes/serveur2 4176900
mes_volumes-serveur2p3 : 0 142303770 /dev/mes_volumes/serveur2 46090485
mes_volumes-serveur2p4 : 0 21237930 /dev/mes_volumes/serveur2 188394255

More information about the linux-lvm mailing list