ceph / ceph-iscsi-config

NOTICE: moved to https://github.com/ceph/ceph-iscsi
GNU General Public License v3.0
22 stars 28 forks source link

Check for max supported disks during lun validation #98

Closed mikechristie closed 5 years ago

mikechristie commented 5 years ago

This moves the max luns check from ceph-iscsi-cli to ceph-iscsi-config.

Note:

The 256 value came from older kernels and rtslibs which had this limit. Newer versions of the kernel support 64 bit luns and rtslib now supports 65536 unmapped luns and had a limit of 256 luns mapped to an ACL.

In future versions, we should have rtslib detect what the kernel supports, base its limits on that, then export what it supports.