List all EFL Epochs

0 Likes

This tool lists all Event File List (EFL) epochs (both active and used) for an NSS Volume on a Linux server. It uses the Virtual File Services (Originally called Virtual File Services for NetWare) which were ported over to Linux. The SDK for this API set can be downloaded from http://developer.novell.com/wiki/index.php/Virtual_File_Services_for_NetWare. The objective of the tool is to list the EFL epochs for an NSS Volume in an XML output as specified in the VFS for NetWare specification. It is intended to be used as a sample script for developers that may want to use the VFS API set to view and manage storage.



How to Use the file:

linuxListEpochs.pl is a Perl script. So Perl must be installed and running on the Linux server that this file is being loaded on. NSS must be installed to get the VFS support.



From a terminal prompt type: Perl linuxListEpochs.pl Volume_Name <enter>



A sample output would be the following:



grep57:/a # perl linuxListEpochs.pl NSS1
file is now open </_admin/Manage_NSS/Volume/NSS1/FileEvents.xml
<nssRequest><fileEventList><listEpochs/></fileEventList></nssRequest>
<nssReply>
<fileEventList>
<listEpochs>
<activeEpochs>
<epoch value="e5d831be-7680-01db-80-00-bd1cd5b47e57"/>
</activeEpochs>
<usedEpochs>
<epoch value="e5d831be-7680-01db-80-00-bd1cd5b47e57"/>
</usedEpochs>
<result value="0"><description>success</description></result>
</listEpochs>
</fileEventList>
</nssReply>


The specifications explain the XML tags, but the information present here would let someone know the file or directory found on the NSS volume, the file name, file ID, modified time, and file size.


Labels:

How To-Best Practice
Collateral
Comment List
Anonymous
Related Discussions
Recommended