Class LVM::Wrapper::LVS
In: lib/lvm/wrapper/lvs.rb
Parent: Object

Methods

list   new  

Included Modules

Reporting

Constants

BASE_COMMAND = "lvs #{Reporting::BASE_ARGUMENTS}"
ATTRIBUTES_FILE = 'lvs.yaml'
VOLUME_TYPE = { 'p' => :pvmove, 'c' => :conversion, 'M' => :mirror_not_synced, 'm' => :mirror, 'i' => :mirror_image, 'I' => :mirror_image_not_synced, 'l' => :mirror_log, 'v' => :virtual, 'o' => :origin, 's' => :snapshot, 'S' => :invalid_snapshot, # custom, empty is a standard volume '-' => :normal   lv_attr attribute handling constants roughly by order referenced in lib/report/report.c:292 (_lvstatus_disp)
PERMISSIONS = { 'w' => :writeable, 'r' => :readonly, # custom, from reading source '-' => :locked_by_pvmove, }
ALLOCATION_POLICY = { 'c' => :contiguous, 'l' => :cling, 'n' => :normal, 'a' => :anywhere, 'i' => :inherited, 'C' => :contiguous_locked, 'L' => :cling_locked, 'N' => :normal_locked, 'A' => :anywhere_locked, 'I' => :inherited_locked
FIXED_MINOR = { # code says its a boolean 'm' => true
STATE = { 's' => :suspended, 'a' => :active, 'i' => :inactive_with_table, 'd' => :inactive_without_table, 'S' => :suspended_snapshot, 'I' => :invalid_snapshot
DEVICE_OPEN = { # code says its a boolean 'o' => true

Attributes

attributes  [R] 
command  [R] 

Public Class methods

Public Instance methods

[Validate]