Struct lsm::Volume [] [src]

pub struct Volume {
    pub id: String,
    pub name: String,
    pub enabled: bool,
    pub block_size: u64,
    pub num_of_blocks: u64,
    pub vpd83: String,
    pub system_id: String,
    pub pool_id: String,
    // some fields omitted
}

Represent a storage volume. Also known as LUN(Logical Unit Number) or Storage Volume or Virtual Disk. The host OS treats it as block devices (one volume can be exposed as many disks when multipath I/O is enabled).

Fields

Identifier.

Human friendly name.

Whether volume is online or offline(I/O access disabled by administrator.

Block size.

Number of blocks.

SCSI VPD 0x83 NAA type identifier. Udev treat it as ID_WWN_WITH_EXTENSION

Identifier of owner system.

Identifier of owner pool.

Methods

impl Volume
[src]

[src]

Retried the usable size of volume in bytes.

Trait Implementations

impl Debug for Volume
[src]

[src]

Formats the value using the given formatter.

impl Clone for Volume
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more