User Home Directories (NFS)
Categories: Data Management, File Systems
Each user is provided a home directory to store frequently used items such as source code, binaries, and scripts.
User Home Path
Home directories are located in a Network File Service (NFS) that is accessible from all OLCF resources as /ccs/home/$USER
.
The environment variable $HOME
will always point to your current home directory. It is recommended, where possible, that you use this variable to reference your home directory. In cases in which using $HOME
is not feasible, it is recommended that you use /ccs/home/$USER
.
Users should note that since this is an NFS-mounted filesystem, its performance will not be as high as other filesystems.
User Home Quotas
Quotas are enforced on user home directories. To request an increased quota, contact the OLCF User Assistance Center. To view your current quota and usage, use the quota
command:
$ quota -Qs Disk quotas for user usrid (uid 12345): Filesystem blocks quota limit grace files quota limit grace nccsfiler1a.ccs.ornl.gov:/vol/home 4858M 5000M 5000M 29379 4295m 4295m
User Home Backups
If you accidentally delete files from your home directory, you may be able to retrieve them. Online backups performed hourly and nightly, with the most recent 6 hours and the most recent 2 nights available. These are available in /ccs/home/.snapshot/hourly.*
and /ccs/home/.snapshot/nightly.*
.
It is possible the files that were deleted will be available in one of those directories. Note that in the directory name, lower numbers represent more recent backups. Thus, /ccs/home/.snapshot/hourly.0
is a more recent backup than /ccs/home/.snapshot/hourly.1
.
A ~/.yesterday
link exists in many users' home directory pointing to the most recent hourly backup directory.
User Home Permissions
The default permissions for user home directories are 0750
(full access to the user, read and execute for the group). Users have the ability to change permissions on their home directories, although it is recommended that permissions be set to as restrictive as possible (without interfering with your work).
Special User Website Directory
User Home spaces may contain a directory named /www
. If this directory exists, and if appropriate permissions exist, files in that directory will be accessible via the World Wide Web at http://users.nccs.gov/~user
(where user
is your userid).