Storage Arrays
Simplyblock can be deployed on the LUNs of an existing Fibre Channel, iSCSI, or NVMe-oF storage array instead of local NVMe devices. The architecture and the division of tasks between the array and simplyblock are described in Storage Arrays. This page lists what has to be prepared.
Recommended Array Configuration
- RAID level: RAID 5 for the LUNs. Together with an
n+1erasure coding scheme in simplyblock, this tolerates two failures, similar to RAID 6. - Thin provisioning: Thin LUNs are recommended. The array's thin pool must either be sized for the full capacity of all LUNs or be monitored with an alert well before it fills up, since a full pool fails the writes of all LUNs at once.
- Data services: Array snapshots, array replication, and array-side deduplication or compression are not used for simplyblock LUNs. Snapshots and disaster recovery are done in simplyblock. Volumes encrypted by simplyblock do not deduplicate or compress on the array.
- Shared failure domain: All hosts depend on the array. With several arrays, the hosts are spread evenly across them, and each array becomes a failure domain.
LUN Layout per Host
Every host that runs a storage node gets its own LUNs, which are not shared with any other host:
| LUN | Count | Size |
|---|---|---|
| Journal LUN | 1 | About 3% of the host's data LUN capacity, at least 2 GiB. It has to be the smallest LUN of the host. |
| Data LUNs | 1 or more | Large and equal in size, on all hosts. Thin LUNs are sized for the expected growth, so that they never need resizing. |
A storage node needs at least two LUNs: the journal LUN and one data LUN. The smallest LUN of a host is dedicated to the journal.
Important
LUNs cannot be resized after a storage node uses them, and a LUN cannot be added to a running storage node yet. Capacity is added with new storage nodes and their LUNs (see Operating on Storage Arrays). Large thin LUNs avoid the need for either.
Erasure Coding Scheme
The array protects against drive failures, so an n+1 scheme is sufficient. The scheme is chosen once, at cluster
creation:
| Scheme | Capacity overhead in simplyblock | Minimum hosts |
|---|---|---|
1+1 |
100% | 3 |
2+1 |
50% | 4 |
4+1 |
25% | 6 |
See Erasure Coding Scheme for the general guidance.
Host Connectivity
- NVMe-oF arrays (NVMe/FC, NVMe/TCP, NVMe/RoCE): Native NVMe multipathing of the Linux kernel is used, which
presents every LUN as one device, for example,
/dev/nvme1n1. - SCSI arrays (FC, iSCSI, iSER): Device-mapper multipath devices are not accepted as storage devices yet. Each LUN
is connected over a single path per host, and
multipathdmust not claim it (for example, through a blacklist entry for its WWID). A path loss is handled by simplyblock's erasure coding like a device failure. - Networks: The SAN or array network is kept separate from the simplyblock storage network, so that array I/O and simplyblock I/O do not compete for the same links.
- Persistent names: LUNs are selected by persistent names, such as
/dev/disk/by-id/wwn-<WWN>or/dev/disk/by-id/nvme-eui.<EUI>, never by kernel names such as/dev/sdb.
Eligibility
Every LUN has to be eligible as a Linux block device: not mounted, not partitioned, not used by LVM, MD RAID, or device-mapper, and not the root disk. See Linux Block Devices.
SMART health data is not available for array LUNs. The health of the drives is monitored by the array.