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

[src]

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

[src]

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.

[src]

return the thin id of the linear device

[src]

Get the current status of the thin device.

[src]

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

[src]

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

Trait Implementations

impl Debug for ThinDev
[src]

[src]

Formats the value using the given formatter.

impl DmDevice for ThinDev
[src]

[src]

The device's device node.

[src]

The device's number, formatted as a string maj:min.

[src]

The device's name.

[src]

The number of sectors available for user data.

[src]

Erase the kernel's memory of this device.