acoustic-bird-95130
07/03/2025, 1:52 PMicy-agency-38675
07/03/2025, 3:10 PMlittle-kangaroo-65735
07/03/2025, 3:26 PMkubectl
ad described in https://longhorn.io/docs/1.9.0/nodes-and-volumes/nodes/multidisk/icy-agency-38675
07/04/2025, 11:24 AMext4
or xfs
.
2. Mount the formatted disks to desired mount points.
3. Add the disks to the Longhorn node by patching the <http://node.longhorn.io|node.longhorn.io>
resource. The Longhorn documentation provides an example using kubectl edit
, but you can also achieve this using kubectl patch
.
These steps can easily be automated with a shell script using a for
loop.
Feel free to let me know if you need helps. Thank you.eager-country-12101
07/06/2025, 3:26 PMicy-agency-38675
07/07/2025, 12:59 AMkubectl -n longhorn-system get <http://nodes.longhorn.io|nodes.longhorn.io>
, you can see all Longhorn nodes in your cluster. If your node A
has one disk, you can only add the disk to the node A
node.longhorn.io resource. If your control plane node doesn't have any disks for storage, you don't need to handle this node. One script is enough for the iteration.acoustic-bird-95130
07/08/2025, 12:48 PMicy-agency-38675
07/09/2025, 8:04 AMAre there any best practice naming schemes, things to now about creating custom storage classes to accomodate things like targeting NVME versus SSD (or even slower)?No, we don't have any recommendation for the naming.
Do people just create a storage class for database-targets?This is okay. No worries.