From 1cf8c43c1515604fdaabc43437db920ed489812f Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Fri, 21 Feb 2025 15:47:19 +0100 Subject: [PATCH] unique link to systemdisk --- admin-guide/deployment/basic_installation.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/admin-guide/deployment/basic_installation.md b/admin-guide/deployment/basic_installation.md index d4df9190..01a3f3f2 100644 --- a/admin-guide/deployment/basic_installation.md +++ b/admin-guide/deployment/basic_installation.md @@ -94,18 +94,27 @@ For custom kernel commandline arguments for the installer (e.g. to provide drive bob node set-attr lx-test-02.psi.ch kernel_cmdline=inst.dd=https://linuxsoft.cern.ch/elrepo/dud/el8/x86_64/dd-megaraid_sas-07.725.01.00-1.el8_9.elrepo.iso ``` -#### Custom Partitioning - -Partitions system are configured with a standard schema using LVM, so that they can be possibly changed afterwards. +#### Custom/Fixed System Disk By default the whole space available on the first block device is used and any existing partition is removed. -Alternatively you might set the sysdb attribute `system_disk` with the device name of the disk which should be used instead:: +Alternatively you might set the sysdb attribute `system_disk` with the device name of the disk which should be used instead: ```bash bob node set-attr $FQDN system_disk=md126 ``` +The ordering of disks (`sda`, `sdb`, ...) might sometimes not be stable. +To explicitely select the disk you might use on of the links below `/dev/disk` like + +```bash +bob node set-attr $FQDN system_disk=disk/by-path/pci-0000:a1:00.0-ata-1 +``` + + +#### Custom Partitioning +Partitions system are configured with a standard schema using LVM, so that they can be possibly changed afterwards. + It is also possible to customize the partitioning by using the `partitions` attribute on sysdb. See https://git.psi.ch/linux-infra/bob for more details.