Confluence will be down for maintenance June 14 2024 at 6AM PT.
Evert server runs a daily cron job that obtains the free disk space of a server. These values are written to files in nfs and
an trscrontab job creates the webpage with the current free disk space
The cronjob, running in crontab on each xrootd data server, is
/opt/xrootd/admin/mon_diskspace.sh
It collects the total and free diskspcae as well as the inode usage for ufs file systems (zfs has no inode restriction).
The disk usage is stored in files:
.bq /nfs/farm/g/glast/u15/xrootd/diskspace/df_server_YYYYMM
where server is the server name and YYYYMM is the year and month the values were collected. For example
/nfs/farm/g/glast/u15/xrootd/diskspace/df_wain020_200806 contains all disk usage values for wain021 for Juni, 2008.
These files contain one line per collection with:
bd. DF <date> <server> <totalSpace> <freeSpace> <%Used> [<inodesFree> <%inodesFree>]
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.