Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Cron job that collects the disk space info

...

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:

Wiki Markup
DF  <date>  *server* *totalSpace*  *freeSpace*  *%Used* \[*inodesFree*  *%inodesFree*\]