Difference between revisions of "Storage: User Mode iSCSI"

From Proxmox VE
Jump to navigation Jump to search
(Created page with "{{#pvedocs:pve-storage-iscsidirect-plain.html}} Category:Reference Documentation")
 
(fix duplicate import)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<!--PVE_IMPORT_START_MARKER-->
 +
<!-- Do not edit - this is autogenerated content -->
 
{{#pvedocs:pve-storage-iscsidirect-plain.html}}
 
{{#pvedocs:pve-storage-iscsidirect-plain.html}}
 
 
[[Category:Reference Documentation]]
 
[[Category:Reference Documentation]]
 +
<pvehide>
 +
Storage pool type: iscsidirect
 +
This backend provides basically the same functionality as the
 +
Open-iSCSI backed, but uses a user-level library (package libiscsi2)
 +
to implement it.
 +
It should be noted that there are no kernel drivers involved, so this
 +
can be viewed as performance optimization. But this comes with the
 +
drawback that you cannot use LVM on top of such iSCSI LUN. So you need
 +
to manage all space allocations at the storage server side.
 +
Configuration
 +
The user mode iSCSI backend uses the same configuration options as the
 +
Open-iSCSI backed.
 +
Configuration Example (/etc/pve/storage.cfg)
 +
iscsidirect: faststore
 +
    portal 10.10.10.1
 +
    target iqn.2006-01.openfiler.com:tsn.dcb5aaaddd
 +
Storage Features
 +
This backend works with VMs only. Containers cannot use this
 +
driver.
 +
Table 1. Storage features for backend iscsidirect
 +
Content types
 +
Image formats
 +
Shared
 +
Snapshots
 +
Clones
 +
images
 +
raw
 +
yes
 +
no
 +
no
 +
See Also
 +
Storage
 +
</pvehide>
 +
<!--PVE_IMPORT_END_MARKER-->

Revision as of 09:30, 17 October 2016

Storage pool type: iscsidirect

This backend provides basically the same functionality as the Open-iSCSI backed, but uses a user-level library to implement it. You need to install the libiscsi-bin package in order to use this backend.

It should be noted that there are no kernel drivers involved, so this can be viewed as performance optimization. But this comes with the drawback that you cannot use LVM on top of such iSCSI LUN. So you need to manage all space allocations at the storage server side.

Configuration

The user mode iSCSI backend uses the same configuration options as the Open-iSCSI backed.

Configuration Example (/etc/pve/storage.cfg)
iscsidirect: faststore
     portal 10.10.10.1
     target iqn.2006-01.openfiler.com:tsn.dcb5aaaddd

Storage Features

Note This backend works with VMs only. Containers cannot use this driver.
Table 1. Storage features for backend iscsidirect
Content types Image formats Shared Snapshots Clones

images

raw

yes

no

no

See Also