Skip to content

Can the meta and data device of thin pool to be loop back device? #1000

@huang-jl

Description

@huang-jl

I notice that the meta and data device of thin pool has to be a linear dev for now. I test locally on my machine, that directly pass a loop device to dmsetup command to create a thin pool is fine.

I also find a related issure #52 many years ago, but seems without any further updates.

I wonder, at least, if is it possible to use lookback device directly, as meta and data device of thin pool for devicemapper-rs. I doubt whether create a linear device based on loopback device maybe:

  1. Add latency during create? Of course, creating the thin-pool might not be too frequent, so this might not be a big problem.
  2. Performance penalty of creating linear device on loopback device? (I do not test it, but I concern it might be a problem?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions