Re: extracting thin mappings in real time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Could you say more about why you want to do this?

So that I can directly read the data block without having to pass through dm-thin, e.g. there might be a more direct datapath to the physical block device.

Mappings don't change if you're not using snapshots.  If you are, then any write
to a shared block will trigger a copy on write operation, and subsequently a new
mapping.
So for backups etc. I made the metadata snapshot available, which gives you a
view of all the metadata frozen at a point in time.  If you're using the metadata
snap you still need to guarantee the mappings for the devices that you're interested
in are not changing.  eg, instead of backing up a live thin, take a snapshot of the thin
and back this up instead.

For now I can guarantee that these mappings don't change (no snapshots, backups, etc), so it's safe to extract the mapping(s) without having acquired the meradata snapshot, correct? If this is the case, then how can I extract individual mappins? (Either from kernel space or from user space.) Are there specific dm-thin kernel functions I should start looking at?
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux