Vpfsd logs for file system operations in universal shares
Vpfsd log reporting enables logging of the file system operations that took a longer time than expected. There are two configurations to enable vpfsd log reporting. Both configurations are disabled by default.
To enable vpfsd logging for the file system operations
- Enable logging for the file system operations:
/usr/openv/pdde/vpfs/bin/vpfs_actions --action setVpfsConfigValue --key enableVpfsdLogReporting --value true
The vpfsd logging is enabled for the following file system operations:
getattr
rename
open
read
write
fsync
truncate
getDataCacheNodeForWrite
- Enable logging for the extended file system operations:
/usr/openv/pdde/vpfs/bin/vpfs_actions --action setVpfsConfigValue --key enableVpfsdLogReportingExtended --value true
The vpfsd logging is enabled for all the file system operations.
- Search the messages in the file:
cat /msdp/vol/log/vpfs/vpfsd/vpfs0_vpfsd.log | grep "WARNING.*exceeded configured threshold"
- (Optional) Change the logging threshold:
/usr/openv/pdde/vpfs/bin/vpfs_actions --action setVpfsConfigValue --key logReportWriteTimeThreshold --value