Documentation menu
Docs / SimpleVirt HCI storage

SimpleVirt HCI: one datastore, honest health, and where your data lives

SimpleVirt HCI pools the local disks of a cluster's hosts into replicated shared storage. This page explains what you see, what is underneath, and how the console tells you about maintenance and risk.

One datastore

A SimpleVirt HCI cluster has one datastore, named after its storage pool (for example simplevirt-hci). It holds both things you keep on shared storage:

  • VM disks — the virtual disks of your VMs, stored as replicated block storage.
  • Files & ISOs — the ISO library, uploads and anything you browse from the datastore's Files tab.

You choose the datastore when you create a VM, attach an ISO or add a disk; you never pick between "block" and "file" storage. SimpleVirt sends VM disks to the block part and ISOs and files to the file part for you.

Underneath, the two parts are separate on purpose. VM disks stay on block storage because HA needs its single-writer fence and its speed; files live on a shared file system. The console merges them into one entry, and it does so only in how it presents them: nothing on your hosts or in the storage cluster was renamed or moved, so a cluster set up before this change keeps working as it was, with its VMs and attached ISOs untouched.

If the file part is missing or attached on only some hosts, the datastore says so — for example Files & ISOs: attached on 2 of 3 hosts — and offers the repair. It never shows a healthy state it cannot prove.

If Files says The shared file storage is not attached on the host serving this request, that host's shared file system did not mount when it was accessed. Nothing was written and VM disks are not affected. Press Retry (it attaches on access), and if it stays this way use Repair file storage…, which re-mounts it on every member host. The datastore's Files & ISOs row shows how many hosts really have it mounted, so a store no host can write to is never described as attached.

You will see the datastore in three places:

  • the Storage view and the inventory tree (one entry, with the number of hosts that reach it);
  • the cluster's Datastores tab, under a SimpleVirt HCI heading, above any NFS datastores the cluster's hosts mount. Both are discovered from what the hosts actually mount — not declared on the cluster — so neither has a Remove button here: HCI storage is removed from the SimpleVirt HCI tab's Danger zone, and a shared NFS datastore by unmounting it from its hosts;
  • the cluster's SimpleVirt HCI tab, Datastores page, as one card with a VM disks row and a Files & ISOs row and a single capacity figure.

Removing HCI storage is done only from the SimpleVirt HCI tab's Danger zone, where you type the cluster name. A datastore's own Delete and Unmount actions are refused for HCI pools.

Which disks it uses

SimpleVirt HCI is built only from local disks: a whole disk that is not the boot disk, is not mounted, holds no partitions or filesystem, and that no other host can see. The disk picker greys out every other disk with the reason, and the same rules apply when SimpleVirt replaces a failed disk on its own.

A LUN from a storage array is never used, even when it is blank. Over iSCSI, Fibre Channel, SRP, NVMe over Fabrics or a SAS cable, a LUN looks like an empty local disk, but every host it is mapped to writes the same blocks, so building storage on it would overwrite their data. A disk is treated as shared, and is never offered, when:

  • its transport is iSCSI, Fibre Channel (including FCoE), SRP or NVMe over Fabrics, or it is a network block device;
  • it is a path of a multipath device, or multipath-tools lists its WWID;
  • it is a LUN of a SAN datastore, or a LUN SimpleVirt-Command has recorded a claim for;
  • it is a storage array's LUN, whatever cable carries it: a multipath device handler written for one array family (any handler but the generic alua one) is attached to it, or its SCSI vendor and model are a storage array's;
  • its host sees it through more than one path, or another host reports a disk with the same world-wide name (for example a disk shelf cabled to two hosts).

Each host checks its own disks and refuses to create a storage disk on, or wipe, a shared one, whatever it is asked. SimpleVirt-Command also checks every selected disk against what all hosts report before it creates anything. If the target host's disks cannot be read, or it runs a release that cannot tell a LUN from a local disk, nothing is created on it and the reason is shown: update that host and try again. An NVMe disk whose transport the kernel does not report is not offered either.

A disk that reports ALUA target port groups (in its SCSI INQUIRY data or identification page, or through the generic alua device handler), or an NVMe disk that reports asymmetric namespace access, is still offered. Storage arrays report these, but so do many local dual-port SAS drives, so they do not prove a disk is shared. Such a disk carries shared_hint in the disk list, and the disk picker shows a caution under it: confirm no other host is cabled to it before you claim it. A generic array that reports only ALUA, sits on a SAS cable, has no multipath map and is not in the vendor list is therefore offered too. If another host reports the same disk, it is still refused.

When another host cannot be checked (it is down, its disks cannot be read, or it runs an older release), SimpleVirt-Command uses what that host last listed. It keeps that list across its own restarts. A disk that host listed is refused, naming the host. Other disks are held back only when SimpleVirt-Command has no disk identities from that host (it was never read, or it runs an older release, as during a rolling update) and the host is in the same cluster or has SAN datastores. Even then only a SAS disk, or one whose transport is not reported, is held back. A SATA, PCIe NVMe, USB or virtio disk belongs to one host and goes ahead. Every disk held back names the host to bring back or update.

A storage array cabled to one host

A SAS-attached array whose LUNs only this host can see (direct-attached storage) is still detected as a storage array, so its LUNs are not offered by default. If the array really is cabled to this host alone, mark each LUN local: POST /api/v1/hosts/{id}/disks/mark-local with {"disk": "/dev/sdX", "local": true} (host.manage; "local": false withdraws it). There is no button for this in SimpleVirt-Command yet; use the API. The mark is kept on the host by the disk's world-wide name and only lifts the storage-array rule. An iSCSI, Fibre Channel, multipath or SAN datastore LUN cannot be marked, and a disk another host also reports is still refused.

Findings

  • Storage disk on shared storage (critical): a storage disk built on a disk another host can see, for example by an earlier release. Every host that disk is mapped to can overwrite that copy of the data. Add a local disk to that host, then remove the named disk (Remove disk on the SimpleVirt HCI tab), which moves its data onto the other disks first. The disks are compared every 10 minutes, and only with disk lists read in that pass from hosts that are up. A host that is down does not raise it from what it listed before.
  • Automatic replacement paused (warning; the alarm reads … lost a storage disk, and automatic replacement on it is paused: …): a host lost a storage disk, and SimpleVirt cannot refill it from a blank disk on its own, with the reason: its disks cannot be read, it runs an older release, or its blank disks cannot be proven local. Nothing is added until it is resolved. A host counts as having lost a disk only when SimpleVirt-Command saw the loss since it last started; otherwise add the replacement with Add disks. The whole procedure is in Replace a failed SimpleVirt HCI disk (in the appliance's documentation).

VM disks on HCI

  • Freed space goes back to the pool. A VM disk passes the guest's trims to its HCI image (discard='unmap', detect_zeroes='unmap'), so space a guest frees is deallocated in Ceph and shows up as free capacity again. A VM created before this release gets it the next time it is started from off; its Disks list says so until then. The guest still has to trim (a scheduled fstrim on Linux, Optimize Drives on Windows).
  • A multi-disk snapshot is one instant. When no guest agent can freeze a running VM with more than one HCI disk, the VM is paused for the moment the disks' snapshots take (normally well under a second), so all disks are captured at the same point; a snapshot whose pause could not be taken says crash-consistent-per-disk. If the host service stops during that pause, the VM is resumed when the service starts again only when this host provably still holds its disks; otherwise it stays paused and a critical alert says why.
  • Disks move onto and off HCI. Migrate… → Move its disks to another datastore moves a disk between a file datastore and HCI, live while the VM runs or offline while it is stopped. See known limitations §33.

Health that understands maintenance

The Health page groups every finding by what it affects (cluster, hosts, disks, data protection, capacity, network and storage services), says what it means, why it matters and what to do, and has a Retest button that takes a fresh reading.

When you put a host into maintenance, some degradation is expected: that host's copies are offline on purpose. SimpleVirt knows which hosts are in maintenance and classifies each finding:

  • Expected — every affected disk belongs to a host in maintenance. The badge reads Maintenance, the finding carries an Expected chip, and the page explains it (redundancy is reduced while simplevirt-02 is in maintenance; copies resync automatically when it returns). Repair is not offered for what will fix itself.
  • Unexpected — anything else. A failed disk on a host that is not in maintenance stays red, even while another host is in maintenance. A host in maintenance that is still up with only some of its disks down has a real disk failure, not the plan, so that is unexpected too. A problem is never hidden behind maintenance.

Data that cannot be served is never "expected". Maintenance that runs longer than a day, or a host that fails to come back cleanly, is reported as unexpected.

After the host returns, the Data and resync page shows the resync until every copy is back and the status returns to healthy. While the host is away it says waiting for it to return, not a rebuild that is not happening.

Protection that cannot be talked out of

  • Entering maintenance on a host is refused when it would leave any placement group with fewer than its minimum copies — including when another host is already in maintenance and still serving. The message names the host and how many disks would stop serving I/O.
  • A pool configured to accept writes with a single copy is not treated as safe to take a host away from; raise its protection first, or force the operation knowing the risk.
  • Raise protection (including any grow or "add disks" that would change an existing pool's protection), removing a disk and decommissioning a host are refused while a host is in a fresh maintenance window, and while the storage cluster's own state is unreadable. Raising protection is also refused whenever the live status shows a disk down or any placement group not active and clean. Try again when the host is back. A host that has been in maintenance for over a day, has stopped answering for longer than the outage window, or did not finish its restart cleanly no longer blocks: it is shown as a warning, so a host that died in maintenance can still be decommissioned. The host an operation targets never blocks itself.

On Hosts and disks, each host shows If this host goes offline: safe, or not safe with the VMs that would be affected, plus whether the cluster can tolerate one more failure. The reading is dated; an old or missing reading shows Unknown, never safe.

Virtual Objects: where each copy lives

The Virtual Objects page lists every virtual disk (and the file store) on the cluster with its owner VM, size, protection policy (for example 3 copies · min 2 · host-separated) and compliance:

Compliance Meaning
Compliant Every placement group is active and holds all its copies. Host separation is reported separately.
Reconciling Copies are being created or moved; nothing is missing for long.
Reduced availability Some data has fewer copies than the policy asks. Data is served, with less margin.
Inaccessible Some data cannot be served right now.
Unknown The reading is missing or partial; SimpleVirt will not guess.

Expand an object to see how many copies each host holds and whether hosts are separated as the policy requires, and load a sampled physical placement (which disks hold which copy). A virtual disk is spread across the pool's placement groups, so one short group can affect every disk in that pool — compliance is therefore reported per pool and shown on each disk.

The page always says how old its reading is. If it is stale, partial, or an older host does not yet support the placement view, it says exactly that instead of showing an empty or green list.

This page is part of the SimpleVirt 1.1.0 documentation set. The same guides ship inside the appliance images at /usr/share/doc/simplevirt.