diff --git a/Servers/Virtualization/Proxmox/Configuring iSCSI-based Cluster Storage.md b/Servers/Virtualization/Proxmox/Configuring iSCSI-based Cluster Storage.md index 411605e..209d456 100644 --- a/Servers/Virtualization/Proxmox/Configuring iSCSI-based Cluster Storage.md +++ b/Servers/Virtualization/Proxmox/Configuring iSCSI-based Cluster Storage.md @@ -30,7 +30,7 @@ ZFS Pool └─ VM Disks ``` -## Step 1 – Create a Dedicated Zvol for Proxmox +## Create a Dedicated Zvol for Proxmox ### Variables Adjust as needed before execution. @@ -56,7 +56,7 @@ zfs create -V ${ZVOL_SIZE} \ --- -## Step 2 – Configure iSCSI Target (TrueNAS CLI) +## Configure iSCSI Target (TrueNAS CLI) ```sh # Enable iSCSI Service service iscsitarget start @@ -78,7 +78,7 @@ ctladm add -t proxmox-target -l proxmox-extent !!! tip At this point, the LUN is live and can be discovered by initiators. -## Step 3 – Connect from Proxmox VE Nodes +## Connect from Proxmox VE Nodes Perform the following **on each Proxmox node**. ```sh @@ -96,7 +96,7 @@ iscsiadm -m node --login lsblk ``` -## Step 4 – Create Shared LVM (One Node Only) +## Create Shared LVM (One Node Only) !!! warning "Important" **Only run LVM creation on ONE node**. All other nodes will only scan. @@ -109,7 +109,7 @@ pvcreate /dev/sdX vgcreate vg_proxmox_iscsi /dev/sdX ``` -## Step 5 – Register Storage in Proxmox +## Register Storage in Proxmox ### Rescan LVM (Other Nodes) ```sh @@ -126,7 +126,7 @@ vgscan - Content: `Disk image` - Shared: ✔️ -## Step 6 – Validation +## Validation - Snapshot create / revert / delete - Live migration between nodes @@ -135,13 +135,15 @@ vgscan !!! success If all validation tests pass, the storage is production-ready. -## Step 7 – Decommission NFS (After Cutover) +# Cutover-specific commands, not relevant to commands above if you are setting everything up new without NFS being a pre-existing thing. + +## Decommission NFS (After Cutover) ```sh zfs destroy CLUSTER-STORAGE/NFS-STORAGE ``` -## Step 8 – Expand iSCSI Storage (No Downtime) +## Expand iSCSI Storage (No Downtime) ```sh # Expand Zvol (TrueNAS)