subscribe iconSubscribe to this information

rmvdev command

Purpose

To remove the connection between a physical device and its associated virtual SCSI adapter.

Syntax

rmvdev [ -f ] { -vdev TargetDevice | -vtd VirtualTargetDevice } [-rmlv]

Description

The rmdev command removes the connection between a physical device and its associated virtual SCSI adapter. The connection can be identified by specifying the backing (physical) device or the virtual target device. If the connection is specified by the device name and there are multiple connections between the physical device and virtual SCSI adapters and error is returned unless the -f flag is also specified. If -f is included then all connections associated with the physical device are removed.

If the backing (physical) device is a logical volume and the -rmlv flag is specified, then logical volume will be removed as well.

Flags

-f Forces the removal of all virtual target devices associated with the give backing device.
-vdev TargetDevice Specifies the physical backing device
-rmlv Deletes the backing device. This flag is valid only for logical volume backing devices.
-vtd VirtualTargetDevice Specifies the virtual target device to remove.

Send feedback | Rate this page

Last updated: Fri, Oct 30, 2009