150 likes | 268 Views
Introduction to File Systems. Computer User Training Course 2004 Carsten Maaß User Support. Overview. Workstation server ecgate HOME SCRATCH SCRATCHDIR (TMPDIR) Supercomputer: hpca HOME TEMP TMPDIR File systems cross-mounted Important remarks - Summary.
E N D
Introduction to File Systems Computer User Training Course 2004 Carsten Maaß User Support
Overview • Workstation server ecgate • HOME • SCRATCH • SCRATCHDIR • (TMPDIR) • Supercomputer: hpca • HOME • TEMP • TMPDIR • File systems cross-mounted • Important remarks - Summary
File system types • Permanent • $HOME is the only permanent file system • backed up daily • Temporary • files are kept as long as possible • no backups • Automatically deleted • files are deleted at the end of your job or interactive session • no backups • ECFS (archive) • long term archive • for excess data/files
ecgate: $HOME NFS mounted from HP High Availability servers, ≈ 14GB • backups • permanent files: profile files + e.g. utilities, source, jobs • quota of 40 MB • ecquota–v will show disk usage $HOME examples /home/$GROUP/$USER /home/ms/$GROUP/$USER /home/ectrain/tra /home/ms/it/cnv /home/ms/spfrpech/aum
ecgate: $SCRATCH (locally) mounted, currently 1 file system, ≈ 530 GB • to be used for temporary data • quota: 2 GB (soft limit 1.5 GB) • select/delete is running: • when 80% full, file system cleans up to 50% • files newer than 3 days not removed • Please remove all files no longer needed! $SCRATCH examples /scratch/$GROUP/$USER /scratch/ms/$GROUP/$USER /scratch/ectrain/tra /scratch/ms/it/cn0 /scratch/ms/spfrpech/aum
ecgate: $SCRATCHDIR Part of $SCRATCH, ≈ 530 GB • automatically deleted at the end of job • suitable for temporary data $SCRATCHDIR examples: interactive: /scratch/$GROUP/$USER/scratchdir/$HOST.PID /scratch/us/usc/scratchdir/ecgate.144600 batch: /scratch/$GROUP/$USER/scratchdir/$HOST.JobID.StepID /scratch/us/usc/scratchdir/ecgate.31487.0
ecgate: $TMPDIR Local file system, ≈ 2.0 GB • Don’t use it! • used by the system for temporary file storage • automatically deleted at the end of job/session $TMPDIR examples: • interactive: • /var/tmp/tmpdir/$USER/jtmp.PID • /var/tmp/tmpdir/usc/jtmp.14460 • batch: • /var/tmp/nqstmp/$USER/host.JobID.StepID • /var/tmp/nqstmp/usc/ecgate.31489.0
hpca: $HOME General Parallel File System (GPFS), ≈ 8.7 GB • permanent files: profile files + e.g. utilities, source, jobs • block size 64 KB • quota of 80 MB • quota command will show disk usage $HOME examples /home/$GROUP/$USER /home/ms/$GROUP/$USER /home/ectrain/tra /home/ms/it/cn0 /home/ms/spfrpech/aum more permanent disk space for common library or data installation on request
hpca: $TEMP GPFS, ≈ 1.1 TB (shared between all MS users) • to be used for temporary data • block size 256 KB • select/delete is running • Please remove all files no longer needed! $TEMP examples /hpca/tmp/$GROUP/$USER /hpca/tmp/ms/$GROUP/$USER /hpca/tmp/ectrain/tra /hpca/tmp/ms/it/cn0 /hpca/tmp/ms/spfrpech/aum
hpca: $TMPDIR Part of $TEMP, ≈ 1.1 TB (shared between all MS users) • automatically deleted at the end of job or interactive login • can be used for data $TMPDIR examples: interactive: /hpca/tmp/$GROUP/TMP/JTMP/#/$HOST_$USER_PID /hpca/tmp/us/TMP/JTMP/7/hpca2501_usc_p77840 batch: /hpca/tmp/$GROUP/TMP/BATCH/#/$HOST.JobID.StepID /hpca/tmp/us/TMP/BATCH/2/hpca2401.36350.0
Cross mounted file systems Purpose: facilitate commands like ls etc. on remote machines, not suitable for large data transfers, preferably not to be used in batch on hpca on ecgate
Important remarks – Summary Use only the following file systems
Important remarks – Summary • Only $HOME is backed up • All $HOME file systems are different • A select/delete policy is applied on all temporary file systems • Make use of the environment variables $HOME etc. • Check your quota with • ecquota –v # on ecgate • quota # on hpca • Clear your space as soon as possible • Do not rely on select/delete • ECFS is accessible from both hpca and ecgate
Exercise On Linux desktop or ecgate: • List for your training uid the paths for the following file systems: $HOME, $TMPDIR, $SCRATCH, $SCRATCHDIR. • Check your quotas. • Which is your largest directory/file (in kb)? • Find any file in your directories larger than 100 kb! • How much disk space (in kb) is available in the /home/ectrain file system? • List your hpca HOME directory! • How many directories with the name “Trash” do you find under your HOME directory? • In your HOME directory create a directory called public with the following permissions: rwxrwxr-x.