EasyManua.ls Logo

H3C MSR 810 - Delete Sriov VM

H3C MSR 810
69 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7
Syntax
delete disk vm vm-name target target
Views
VMM view
Predefined user roles
network-admin
Parameters
vm-name: Specifies a VM by its name. The vm-name argument is a case-sensitive string of 1 to 30
characters.
target target: Specifies a disk or CD-ROM by its drive name. The target argument is a
case-sensitive string of three characters.
Usage guidelines
If you use this command on a running VM, you must restart the VM for the configuration to take effect.
If you use this command on a stopped VM, the configuration takes effect after you start the VM.
Removing a disk or CD-ROM from a VM does not delete the disk or delete the image files uploaded
by the CD-ROM. To release storage space, you must use the
delete command to manually delete
the disk or the image files. For more information, see file system management in Fundamentals
Configuration Guide.
Examples
# Remove disk hdb from VM centos7.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] delete disk vm centos7 target hdb
delete sriov vm
Use delete sriov vm to remove an SR-IOV NIC from a VM.
Syntax
In passthrough mode:
delete sriov vm vm-name pf pfid
In SR-IOV share mode:
delete sriov vm vm-name pf pfid vf vfid
Views
VMM view
Predefined user roles
network-admin
Parameters
vm-name: Specifies a VM by its name. The vm-name argument is a case-sensitive string of 1 to 30
characters.
pf pfid: Specifies a physical NIC by its PF ID. The value for the pfid argument is 0.
vf vfid: Specifies a vNIC by its VF ID. The value range for the vfid argument is 0 to 7.

Related product manuals