Struct devicemapper::ThinDev [] [src]

pub struct ThinDev { /* fields omitted */ }

DM construct for a thin block device

Methods

impl ThinDev
[src]

support use of DM for thin provisioned devices over pools

Use the given ThinPoolDev as backing space for a newly constructed thin provisioned ThinDev returned by new().

Set up an existing thindev. By "existing" is here meant that metadata for this thin device exists on the metadata device for its thin pool. TODO: If the device is already known to the kernel, verify that kernel model matches arguments.

name of the thin device

Get the "x:y" device string for this LinearDev

return the total size of the linear device

return the thin id of the linear device

path of the device node

Get the current status of the thin device.

Extend the thin device's (virtual) size by the number of sectors given.

Tear down the DM device, and also delete resources associated with its thin id from the thinpool.

Tear down the DM device.

Trait Implementations

impl Debug for ThinDev
[src]

Formats the value using the given formatter.