3.2.21 Configuring a Virtual Disk Server
3.2.21 Configuring a Virtual Disk Server
Use the following commands to configure a virtual disk server.
Command | Functional Outline |
---|---|
ldm add-vdiskserverdevice | Adds a device volume to a virtual disk server. |
ldm remove-vdiskserverdevice | Removes a device volume from a virtual disk server. |
ldm add-vdiskserverdevice command
Use the ldm add-vdiskserverdevice command to add a volume to a virtual disk server.
# ldm add-vdiskserverdevice backend volume-name@service-name |
- backend
Specify a physical disk path. In addition to a file, you can specify the path of a disk, disk slice, etc. for backend. - volume-name
Specify a volume name that is unique within the virtual disk server. - service-name
Specify a virtual disk service name.
The following example creates and adds a file of 100 GB as a volume of the disk server primary-vds0.
# mkfile 100g /ldoms/domain/test/fdisk1 # ldm add-vdiskserverdevice /ldoms/domain/test/fdisk1 vol2@primary-vds0 |
Idm remove-vdiskserverdevice command
Use the ldm remove-vdiskserverdevice command to delete a volume from a virtual disk server.
# ldm remove-vdiskserverdevice volume-name@service-name |
- volume-name
Specify a volume name. - service-name
Specify a virtual disk server name.
The following example deletes the volume vol2 from the virtual disk server primary-vds0.
# ldm remove-vdiskserverdevice vol2@primary-vds0 |
< Previous Page | Next Page >