rmvlog command
Purpose
Removes the virtual log and virtual log device.
Syntax
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:
Description
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.
Flags
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. |
Exit Status
Return code | Description |
---|---|
0 | All files were written successfully. |
>0 | An error occurred. |
Examples
- To remove virtual log device vtlog0, type the
command as follows:
The system displays the output as follows:rmvlog -dev vtlog0 -d
vtlog0 deleted
- To remove the virtual log with UUID 9705340b31a7883573a1cd04b2254efd,
leaving the data intact, type the command as follows:
The system displays the output as follows:rmvlog -uuid 9705340b31a7883573a1cd04b2254efd -db
Virtual log 9705340b31a7883573a1cd04b2254efd deleted.
- To remove the virtual log device vtlog1, the
virtual log, and the virtual log data, type the command as follows:
The system displays the output as follows:rmvlog -dev vtlog0 -dbdata
vtlog0 deleted Virtual log 02392437473b6c552680a9ddd2fd8d06 deleted. Log files deleted.