Class: Dcmgr::Drivers::LinuxIscsiInitiator

Inherits:
StorageInitiator show all
Defined in:
lib/dcmgr/drivers/storage_initiator.rb

Instance Method Summary collapse

Instance Method Details

#mount(hva_ctx) ⇒ Object



20
21
# File 'lib/dcmgr/drivers/storage_initiator.rb', line 20

def mount(hva_ctx)
end

#umount(hva_ctx, volume) ⇒ Object



23
24
25
# File 'lib/dcmgr/drivers/storage_initiator.rb', line 23

def umount(hva_ctx, volume)
  sh("iscsiadm -m node -T '%s' --logout", [volume[:transport_information][:iqn]])
end