We are using charles's proddisk_clean.py to clean our proddisk regularly..
1 login dq2.aglt2.org as dq2
2.setup the env.
export LFC_HOST=lfc.aglt2.org
source /afs/atlas.umich.edu/opt/WLCG-client/setup.sh
voms-proxy-init -voms atlas:/Role=production 
source /afs/atlas.umich.edu/opt/localDQ2LCG/0.1.24/dq2_setup.sh 

3. make sure Pnfs is mounted
[dq2:ccc]$ df -h|grep pnfs
head02.aglt2.org:/pnfsdoors
                      391M   79M  278M  22% /pnfs/aglt2.org
[dq2:ccc]$ 

4. run the script.

nohup /var/tmp/ccc/proddisk-cleanse.py -dq2 AGLT2_PRODDISK -dbhost lfc.aglt2.org -dbuser DBUSER -dbpasswd ThePASSWD&

-- WenjingWu - 16 Feb 2009
Topic revision: r1 - 16 Feb 2009, WenjingWu
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback