|
skydick: retire the iSCSI target, drop the rh1288v3 block export
The LIO target exporting dick/system/vm/rh1288v3 as an 8 TiB block LUN is
no longer needed. Remove the whole apparatus rather than leaving a
half-wired service:
- services.target and the iscsi-target unit ordering/overrides
- the skydick-iscsi-config-guard package and the iscsi-target-config-ready
validation unit
- the /var/lib/target persistence redirect, the iscsiTargetState activation
script, and the etc.deps hook that sequenced them
- iscsi-target.service from storageServices
- the nftables rule admitting the initiator on TCP 3260
- the iSCSI zvol provisioning notes in the datapool header
The export was never durable here: its definition lived only in the
imperative /etc/target/saveconfig.json, while the generated /etc ships that
same path as a managed copy of an empty {} template, so every activation
overwrote the live target config. That is what silently emptied it.
Also note the removed firewall rule admitted 10.0.200.11, but the initiator
was actually attaching from 10.0.200.5 — the ACL had drifted from reality.
The zvol and its ~917 GiB of data are untouched; reclaiming that space is a
separate decision.
Co-Authored-By: Claude Opus 5 <[email protected]>
|
|---|
|
|
| hosts/skydick/datapool.nix |
|---|
| hosts/skydick/default.nix |
|---|