unique link to systemdisk

This commit is contained in:
2025-02-21 15:51:57 +01:00
parent 1cf8c43c15
commit 8d7784162a
@@ -76,4 +76,23 @@ lvm::volume_groups:
lv_usr_local:
mountpath: '/usr/local'
fs_type: 'xfs'
```
```
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`.