Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
The xrootd data server disk space is obtained twice a day and written to a nfs log directory. From these values a simple table with the last usage values is created:
...
The data are also loaded to an Oracle database and are accessible through a web application (currently in test stage):
The cronjob, running in crontab on each xrootd data server, is
...
The foramt of date is YYYYMMDDTHHMMSS, e.g. 20080712T123258. The totalSpace and freeSpace are in GB. The inode info is only shown for serves that use the ufs file system (all sulkies) but not for the servers that employ zfs.
In order to calculate the free disk and total disk space of the xrootd cluster the values, taken around the same time , for all data servers have to be summed.
The disk space usage values are stored in Oracle. A key-value together with the date is recorded. The following key names are used:
...