We help IT Professionals succeed at work.

aix and remove Backing device from vhost

unixcafe
unixcafe asked
on
aix and how to remove Backing device from vhost
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2013
Top Expert 2013
Commented:
rmvdev -vdev backing_device

e.g.

rmvdev -vdev hdisk7

If backing device is an LV you can specify "-rmlv" to delete the LV in the same go:

rmvdev -vdev backing_lv -rmlv

e.g.

rmvdev -vdev my_lv -rmlv

Instead of specifying the backing device you can also specify the virtual target device:

rmvdev -vtd virtual_target

e.g.

rmvdev -vtd vtscsi7

If there are several virtual target devices associated with the backing device in question use the "-f" flag to remove them all:

rmvdev -vdev hdisk7 -f
CERTIFIED EXPERT
Most Valuable Expert 2013
Top Expert 2013

Commented:
"rmvdev" is the only available (and well documented, by the way) command to remove a backing device from a vSCSI host on the IBM VIOS.
Thus the answer in
https:#a38291344
is valid and verifiable (e. g. by "man  rmvdev"), it should be accepted.