A.0 Configuring Settings for the NLVM Library

The Novell Linux Volume Manager (NLVM) library software has some configurable settings that are exposed in the /etc/opt/novell/nss/nlvm.conf file. The default settings are automatically configured. To modify the default behavior, use the options described in Table A-1.

Table A-1 Default Settings for the NLVM LIbrary

Parameter

Description

Debug on

If this line is enabled, the command allows the debug feature of the NLVM utility to run every time without needing to use the -d option.

The default is off (commented out). You can enable debug as needed by using the -d option when you start the utility.

To enable debug to run every time, you can uncomment the Debug on command in the nlvm.conf file.

To return to the default debug behavior with the -d option, you can comment out the Debug on command again.

Debug files 10

If this line is enabled, the command specifies the number of NLVM debug log files to keep before deleting the oldest file. A log file shows actions that were performed by the NLVM library.

The default is to keep the 10 most recent files. The minimum value is 1. The default setting applies when the command is commented out.

To modify the number of files kept, uncomment the line and specify a new value.

To use the default setting, comment out the command again.

When debug runs, a debug log file is opened in the /var/opt/novell/log/nss/debug directory. The debug files are named nlvm_debug.<number.>log, such as nlvm_debug.log, nlvm_debug.1.log, and so on.

Data base files 10

If this line is enabled, the command specifies the number of NLVM database files to keep before deleting the oldest file. Database files are stored every time a change is made to the system with the NLVM library.

The default is to keep the 10 most recent files. The minimum value is 1. The default setting applies when the command is commented out.

To modify the number of files kept, uncomment the line and specify a new value.

To use the default setting, comment out the command.

When a change is made to the system, a database file is opened in the /opt/novell/nss/nlvm/ directory. The database files are named nlvm.<number.>db, such as nlvm.db, nlvm.1.db, and so on.

Auto refresh off

If this line is enabled, the command turns off the autorefresh. The system gets its information from the database files. This results in much faster load times for utilities, but might require a refresh within the utility. If the autorefresh is off, a refresh can be triggered by using the -r option when you start the NLVM utility.

IMPORTANT:If OES Cluster Services is on, the autorefresh is always on.

The default is that autorefresh is enabled (the line is commented out). This allows the NLVM library to refresh the system each time it is used. The autorefresh picks up any changes to the system that happened outside the library.

Blk_discard_on_delete on

If this parameter is enabled, the command discards the blocks on a thin-provisioned storage disk when you delete a pool on that disk. This allows all the allocated blocks for that pool to be made available to the storage disk.

By default, this parameter is off (the line is commented out).