Перейти к содержанию

Svc vm create attach vdisk

svc vm create_attach_vdisk

Create and attach vdisk to domain

svc vm create_attach_vdisk <DOMAIN-NAME>|<DOMAIN-ID> [flags]

Options

  -a, --async                 Display information about the task in progress, without waiting for the task to complete
      --datapool string       Datapool Id
      --description string    Vdisk description
      --driver_cache string   DriverCache, (default|none|writethrough|writeback|directsync|unsafe)
  -f, --file string           File to get the json config from
  -h, --help                  help for create_attach_vdisk
  -i, --id string             Domain id
  -n, --name string           Domain name
      --preallocation         Preallocate vdisk
      --size float            New vdisk size
      --target_bus string     TargetBus, (virtio|ide|scsi|sata)
      --vdisk_id string       Vdisk id
      --vdisk_name string     Vdisk name

Options inherited from parent commands

      --debug           Debug logging
      --format string   Set the output format: table, text, yaml, json, json-rest (default "table")
      --token string    Set the jwt token to use
      --url string      Set the API url, for example https://192.168.150.11.

SEE ALSO