Use the commands in this section to manage the cache for NSS volumes.
Sets the specified minimum number of NSS buffer cache entries, where value is the number of 4-KB buffers to assign for NSS.
Default: 30000 for NSS
Range: 10000 for NSS to the amount of memory in KB divided by 4 KB (the block size).
Use the following command at the nsscon prompt in order to synchronize the cache of eDirectory IDs that is maintained for controlling access to NSS volumes.
Set the number of seconds between invalidation of the ID cache.
Default: 90000
Range: 0 to 200000000
Reset the various eDirectory ID caches.
If you Linux-enable a user who has been logged into the system before being Linux-enabled, ensure to execute the resetidcache command from the NSS Console (nsscon) utility. This allows proper reporting of ownership because it resets the mapping of user identities in the ID cache and forces it to update with the Linux UID for the user.
If you LUM disable the user, ensure to execute the resetidcache command from the NSS Console (nsscon) utility. Run this command after 30 minutes, because NCP server clears its cache periodically at the interval of 30 minutes. This allows proper reporting of ownership because it resets the mapping of user identities in the ID cache.
Sets the maximum number of entries for NSS GUID to ID and ID to GUID cache.
For example, nss /IDCacheSize = 256000
Default: 16384
Range: 16384 to 524288
Shows the caching statistics for buffers.
Resets caching and file statistics.
When enabled, this option allows NSS to unplug the device queue after queuing each read. This improves performance significantly on certain workloads, such as Linux copy (cp) command.
NOTE:In OES 2 SP1, the UnplugAlways default setting is on (enabled). OES 2 SP2 onwards, the UnplugAlways default setting is off (disabled).
For OES 2 and OES 2015 the UnplugAlways default setting is off (disabled). The OES 2 version of this option is available as patch OES Storage Services (NSS) and OES Cluster Services (NCS) 20080806 (oes2-novell-nss-5503) for 32-bit and 64-bit architectures. The patch is available on the Micro Focus Downloads Web site.
Examples
Enable UnplugAlways by entering the following at the nsscon prompt as the root user:
nss /UnplugAlways
Disable UnplugAlways by entering the following at the nsscon prompt as the root user:
nss /NoUnplugAlways