Removes the virtual log and virtual log device.
To unconfigure the virtual log device that has the specified device name or the virtual log UUID:
rmvlog {-dev DeviceName | -uuid UUID}
To remove the virtual log device that has the specified device name or virtual log UUID:
rmvlog -d {-dev DeviceName | -uuid UUID}
To remove the virtual log and any virtual log device that has the specified device name or the virtual log UUID:
rmvlog -db {-dev DeviceName | -uuid UUID}
To remove the virtual log, log data, and any virtual log device that has the specified device name or virtual log UUID:
You can use the rmvlog command to detach the virtual logs from virtual SCSI (VSCSI) host adapters, leaving the virtual log intact. You can also delete the virtual log, optionally including all user data in it, by using this command.
Flag name | Description |
---|---|
-d | Removes the device definition. |
-db | Removes the virtual log. |
-dbdata | Removes the virtual log and associated data in the repository. |
-dev | Specifies the name of the virtual log device to be removed. |
-uuid | Specifies the UUID of an existing virtual log to be removed. |
Return code | Description |
---|---|
0 | All files were written successfully. |
>0 | An error occurred. |
rmvlog -dev vtlog0 -d
The
system displays the output as follows: vtlog0 deleted
rmvlog -uuid 9705340b31a7883573a1cd04b2254efd -db
The system displays the output as follows: Virtual log 9705340b31a7883573a1cd04b2254efd deleted.
rmvlog -dev vtlog0 -dbdata
The system displays the output as follows: vtlog0 deleted
Virtual log 02392437473b6c552680a9ddd2fd8d06 deleted.
Log files deleted.