From 8d7784162a583edb95d9c3d911b49c1a778108d7 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Fri, 21 Feb 2025 15:51:57 +0100 Subject: [PATCH] unique link to systemdisk --- .../configuration/files/partitioning.md | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/admin-guide/configuration/files/partitioning.md b/admin-guide/configuration/files/partitioning.md index 3411b485..ea117815 100644 --- a/admin-guide/configuration/files/partitioning.md +++ b/admin-guide/configuration/files/partitioning.md @@ -76,4 +76,23 @@ lvm::volume_groups: lv_usr_local: mountpath: '/usr/local' fs_type: 'xfs' -``` \ No newline at end of file +``` + +Sometimes the classical disk names `sda` and `sdb` are not stable or may change due to a connected USB stick. +You can address a disk also by UID or hardware path with one of the links below `/dev/disk`: +```yaml +lvm::volume_groups: + vg_data: + followsymlinks: true + physical_volumes: + - '/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0' + logical_volumes: + lv_data: + mountpath: '/mnt/vd0' + fs_type: 'ext4' +``` +but for the `lvm` Puppet module to accept this you need to set `followsymlinks: true`. + + + +