Storage: User Mode iSCSI: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
(fix duplicate import)
No edit summary
 
Line 5: Line 5:
<pvehide>
<pvehide>
Storage pool type: iscsidirect
Storage pool type: iscsidirect
This backend provides basically the same functionality as the
This backend provides basically the same functionality as the Open-iSCSI backed,
Open-iSCSI backed, but uses a user-level library (package libiscsi2)
but uses a user-level library to implement it. You need to install the
to implement it.
libiscsi-bin package in order to use this backend.
It should be noted that there are no kernel drivers involved, so this
It should be noted that there are no kernel drivers involved, so this
can be viewed as performance optimization. But this comes with the
can be viewed as performance optimization. But this comes with the

Latest revision as of 09:11, 23 March 2023

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