<!-- keep this as a security measure: * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.LCGAdminGroup * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.LCGAdminGroup #uncomment this if you want the page only be viewable by the internal people #* Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.LCGAdminGroup --> ---+ Procedure to recreate the scratch filesystem There are two steps to recreate the scratch filesystem. 1 Recreate the filesystem structure: Make sure that the following directories exist in the scratch filesystem: <verbatim> # Create Nordugrid skeleton. After this, you need to restart ARC services. cd /gpfs2 mkdir -p gridhome/nordugrid-atlas-slurm mkdir -p gridhome/wlcg mkdir -p scratch/tmpdir_slurm chmod 1777 scratch/tmpdir_slurm mkdir -p scratch/tmpdir_slurm/arc_cache mkdir -p scratch/tmpdir_slurm/arc_sessiondir mkdir -p scratch/tmpdir_slurm/{cream01.lcg.cscs.ch,cream02.lcg.cscs.ch,cream03.lcg.cscs.ch,cream04.lcg.cscs.ch} chmod 1777 scratch/tmpdir_slurm/cream* # chown nordugrid-atlas.atlas home/nordugrid-atlas -R # chmod 1777 home/nordugrid-atlas/sessiondir</verbatim> 1 Destroy user accounts and all data related to the old grid users existing in the system. <verbatim>/opt/cscs/sbin/clean_grid_accounts.bash</verbatim> 1 Run YAIM 1 Set the sticky bit and correct permissions in *tmpdir_slurm* <verbatim>chmod 1777 /gpfs2/scratch/tmpdir_slurm/ </verbatim> 1 Make it visible for our local scripts <verbatim>echo OK > /gpfs2/chk_mount</verbatim> On all WNs, the following structure needs to exist: * =/home/nordugrid-atlas --> /gpfs2/gridhome/nordugrid-atlas-slurm/= * =/home/nordugrid-atlas-slurm --> /gpfs2/gridhome/nordugrid-atlas-slurm/= * =/home/wlcg --> /gpfs2/gridhome/wlcg= * =/tmpdir_slurm --> /gpfs2/scratch/tmpdir_slurm= -- Main.MiguelGila - 2011-10-21
This topic: LCGTier2
>
WebHome
>
ToolsBoard
>
FormsAndTemplates
>
HOWTORecreateSCRATCH
Topic revision: r8 - 2015-04-16 - DarioPetrusic
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback