Removing virtual logs or virtual log devices

You can use the rmvlog command to remove virtual logs or virtual log devices from a virtual Small Computer Serial Interface (SCSI) adapter, or to unconfigure a virtual log device. The virtual log can be specified by using the UUID or by the associated virtual log device name, if it exists.

To remove virtual log devices or virtual logs, use the following commands, as applicable:

  • To change the specified virtual log device from the Available state to the Defined state, enter the rmvlog command. To specify the virtual log device by name, use the -dev option. For example, entering rmvlog -dev vtlog0 returns results similar to the following:
    vtlog0 Defined
  • To specify the virtual log device, use the -uuid option. When you use this option, the virtual log device that is currently associated with a virtual log and the specified UUID is changed. For example, entering rmvlog -uuid 0000000000000000a3e4dd0ba75972c2 returns results similar to the following:
    vtlog0 Defined
  • To remove the specified virtual log device, specify the -d option in addition to either the -dev or -uuid option. When you use the -d option, the virtual log device is deleted. However, the virtual log and all associated properties and data are retained. For example, entering the rmvlog -dev vtlog0 -d returns results similar to the following:
    vtlog0 deleted
  • To remove the virtual log device and the virtual log, specify the -db option. When you use this option, the data is still retained. For example, entering the rmvlog -uuid 9705340b31a7883573a1cd04b2254efd -db command returns results similar to the following:
    Virtual log 9705340b31a7883573a1cd04b2254efd deleted.
  • To remove the virtual log device, the virtual log, and any log files that are associated with the virtual log, specify the -dbdata option. For example, entering the rmvlog -dev vtlog0 -dbdata command returns results similar to the following:
    vtlog1 deleted
    Virtual log 02392437473b6c552680a9ddd2fd8d06 deleted.
    Log files deleted.



Last updated: Thu, October 15, 2020