Parameter | Type | Required | Description |
---|---|---|---|
--backend | Storage Backend | true | A specification of the AHCI storage device backend to add |
--comment | String | false | A comment describing the new disk |
--configuration | Path | false | The path to the configuration file (environment variable: $WAXMILL_CONFIGURATION_FILE) |
--device-slot | Device Slot | true | The slot to which the device will be attached. |
--machine | UUID | true | The ID of the virtual machine |
--open-option | OpenOption | false | The options that will be used when opening the storage device. |
--verbose | Log Level | false | Set the minimum logging verbosity level. |
--replace | Boolean | false | true if an existing device in the given slot should be replaced. |
bus = ? [0 .. 255] ? ; slot = ? [0 .. 31] ? ; function = ? [0 .. 7] ? ; deviceSlot = bus , ":" , slot , ":" , function ; Examples: 0:0:0 255:31:7
path = ? Any UNIX-like path ? ; size = ? Any non-negative multiple of 128000 (bytes) ? ; fileBackend = "file" , ";" , path ; zfsBackend = "zfs-volume" , [ ";" , size ] ; storageBackend = fileBackend | zfsBackend ; Examples: file;/tmp/xyz zfs-volume zfs-volume;1280000000
Name | Description |
---|---|
NO_CACHE | Do not use caching (O_DIRECT). |
SYNCHRONOUS | Writes to the file are synchronous (O_SYNC). |
READ_ONLY | The file is opened read-only. |
$ waxmill vm-add-ahci-disk \ --machine de17174a-1b3c-4ebc-80af-cb239aa18cbd \ --device-slot 0:4:0 \ --backend file;/tmp/disk.img