[linux-lvm] lvm thin provisioning snapshots and btrfs

Zdenek Kabelac zkabelac at redhat.com
Mon Sep 22 23:02:24 UTC 2014


Dne 23.9.2014 v 00:15 Robb Walker napsal(a):
> Also see the same results on ubu 14.04.1 lvm thin provisioning + btrfs. haven't tried arch 3.16 kernel and tools yet
>

It's likely btrfs problem that it is not reporting duplicity problem?

In lvm2 we try to detect duplicate PVs and report problem and pick one to use.

Btrfs needs to do the same - I'd expect some kernel messages about these kind 
of problems?

Snapshot activation is skipped here for a reason.

It's upto user/admin to avoid system confusion.

So my best advice is - to ensure you do not have active origin & snapshot at 
the same time - especially when manipulating with btrfs - since it most likely 
ignore device UUID generated by lvm (and that should be unique)

You will need to check disk btrfs identifiers if you need to have active these 
volumes at the same time.

> Robb Walker
> Linux/Unix Services
> Desk (312)542-2361 ~ Mobile (312)804-6034
> Email: rwalker at drw.com
> DRW Holdings, LLC ~ 540 West Madison St. Chicago, IL 60661
>

Regards

Zdenek




More information about the linux-lvm mailing list