[Starlingx-discuss] RC2.0 - Change install device

von Hoesslin, Volker Volker.Hoesslin at swsn.de
Fri Nov 15 15:39:58 UTC 2019


Thats fine! Cool, thx!!!!

Von: Penney, Don [mailto:Don.Penney at windriver.com]
Gesendet: Freitag, 15. November 2019 15:30
An: von Hoesslin, Volker; 'starlingx-discuss at lists.starlingx.io'
Betreff: Re: [Starlingx-discuss] RC2.0 - Change install device

For nodes installing after the initial controller configuration, there are installation parameters for the host you can set, boot_device and rootfs_device.

For example, from the CLI:
system host-update 3 \
    boot_device=/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0 \
    rootfs_device=/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0

This can also be done via browser, by editing the host.

For initial installation of controller-0 from ISO, you can edit the boot cmdline by hitting tab on your selection, and modify these parameters.

In stx-3.0, we've introduced a utility called update-iso.sh that you can use to create a modified copy of the installation ISO with modified boot parameters:
https://opendev.org/starlingx/utilities/src/branch/master/utilities/platform-util/scripts/update-iso.sh

Example:
update-iso.sh -i bootimage.iso -o updated-bootimage.iso \
    -p boot_device=/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0 \
    -p rootfs_device=/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0

Hope this helps!


From: von Hoesslin, Volker [mailto:Volker.Hoesslin at swsn.de]
Sent: Friday, November 15, 2019 9:17 AM
To: 'starlingx-discuss at lists.starlingx.io'
Subject: [Starlingx-discuss] RC2.0 - Change install device

Hi,
how can i change the install device. My storage-node have some disks, but /dev/sda should not be my primary boot device. I want to install stx stuff at /dev/sdk, how can I change the destination install device for some hosts ?

greez & thx, Volker...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20191115/f9780a17/attachment-0001.html>


More information about the Starlingx-discuss mailing list