Lists the virtual log repositories.
To display the properties of all virtual log repositories:
lsvlrepo [-detail | -field FieldList]
To display the properties of the local virtual log repository:
lsvlrepo -local [-detail | -field FieldList]
To display the properties of the virtual log repository in the specified shared storage pool:
lsvlrepo -sp StoragePool [-detail | -field FieldList]
To display the properties of the virtual log repositories in the specified state:
lsvlrepo -state RepositoryState [-detail | -field FieldList]
| Field name | Description |
|---|---|
| lf | Maximum size of each log file |
| lfs | Maximum number of log files |
| path | Root directory of the repository |
| sf | Maximum size of each state file |
| sfs | Maximum number of state files |
| sp | Shared storage pool name |
| state | Repository state |
| Flag name | Description |
|---|---|
| -detail | Displays the extended output for the virtual log repository. |
| -field | Displays the output with the specified list of fields. |
| -local | Displays the properties of the local virtual log repository. |
| -state | Displays the properties of the virtual log repositories in the specified state. |
| -sp | Displays the properties of the virtual log repository in the specified shared storage pool. |
| Return code | Description |
|---|---|
| 0 | All files were written successfully. |
| >0 | An error occurred. |
lsvlrepo
The system displays
the output as follows: Local Virtual Log Repository:
Repository State: enabled
Path: /var/vio/vlogs
Maximum Log Files: 2
Maximum Log File Size: 1048576
Maximum State Files: 2
Maximum State File Size: 1048576
Virtual Log Repository for Shared Storage Pool spool1:
Repository State: enabled
Path: /var/vio/SSP/cluster1/D_E_F_A_U_L_T_061310/vlogs/
Maximum Log Files: 2
Maximum Log File Size: 1048576
Maximum State Files: 2
Maximum State File Size: 1048576
lsvlrepo -local
The system
displays the output as follows: Local Virtual Log Repository:
Repository State: enabled
Path: /var/vio/vlogs
Maximum Log Files: 2
Maximum Log File Size: 1048576
Maximum State Files: 2
Maximum State File Size: 1048576
lsvlrepo -sp sspool1
The system displays the output as follows: Virtual Log Repository for Shared Storage Pool spool1:
Repository State: enabled
Path: /var/vio/SSP/cluster1/D_E_F_A_U_L_T_061310/vlogs/
Maximum Log Files: 2
Maximum Log File Size: 1048576
Maximum State Files: 2
Maximum State File Size: 1048576
lsvlrepo -field "state-path lf"
The system displays the output as follows: enabled-/var/vio/vlogs 2
enabled-/var/vio/SSP/cTA1/D_E_F_A_U_L_T_061310/vlogs/ 2