3.2.22 Configuring a Virtual Disk
3.2.22 Configuring a Virtual Disk
Use the following commands to configure a virtual disk.
Command | Functional Outline |
---|---|
ldm add-vdisk | Adds a virtual disk. |
ldm remove-vdisk | Removes a virtual disk. |
ldm add-vdisk command
Use the ldm add-vdisk command to add a virtual device as a virtual disk to a guest domain.
# ldm add-vdisk disk-name volume-name@service-name ldom |
- disk-name
Specify a virtual disk name. - volume-name
Specify the device name of the existing virtual disk server to be connected. - service-name
Specify the name of the existing virtual disk server to be connected. - ldom
Specify the logical domain.
The following example adds the added device vol2 of the virtual disk server primary-vds0 as the virtual disk vdisk1 to the guest domain ldom1.
# ldm add-vdisk vdisk1 vol2@primary-vds0 ldom1 |
ldm remove-vdisk command
Use the ldm remove-vdisk command to remove a virtual disk from a guest domain.
# ldm remove-vdisk disk-name ldom |
- disk-name
Specify a virtual disk name. - ldom
Specify the logical domain name.
The following example removes the virtual disk vdisk2 from the guest domain ldom1.
# ldm remove-vdisk vdisk2 ldom1 |
< Previous Page | Next Page >