Create-Disk; Delete Disk Vm - H3C MSR 810 Command Reference Manual

Hide thumbs Also See for MSR 810:
Table of Contents

Advertisement

Usage guidelines
Make sure the file path is correct and the target storage medium has sufficient storage space.
If a USB flash drive is used to store the backup file, make sure the file system format of the USB flash
drive is EXT4.
You must stop a VM by using the
Examples
# Back up VM centos7 to the specified path.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] backup vm centos7 hda0:/centos7.vmb

create-disk

Use
create-disk
Syntax
create-disk disk-file size size format { raw | qcow2 }
Views
VMM view
Predefined user roles
network-admin
Parameters
disk-file
be a .qcow2 or .raw file.
size size
integer. The value range for this argument depends on the available amount of storage space on the
device.
: Specifies the disk format.
format
: Specifies the RAW format.
raw
: Specifies the QCOW2 format.
qcow2
Usage guidelines
Use the
size size
actual amount of disk space occupied by the VM might differ from the configured value. If the disk
format is RAW, the
QCOW2, the
Examples
# Create a disk in QCOW2 format.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] create-disk hda0:/centos.qcow size 30 format qcow2

delete disk vm

Use
delete disk vm
stop vm
to create a VM disk.
: Specifies the disk file path, a case-sensitive string of 1 to 63 characters. The file must
: Sets the maximum disk size, in GB. The value for the
option to set the maximum amount of disk space that a VM can occupy. The
command displays the disk size configured for the VM. If the disk format is
dir
command displays the disk size actually occupied by the VM.
dir
to remove a disk or CD-ROM from a VM.
command before you can back up it.
6
argument must be an
size

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents