This is an old revision of the document!
Home Directories
Your home directory in CS is a network storage volume that is associated with your account. Any Linux/Unix server you log in to should have your home directory mounted, likewise with Windows desktops (mounted as K:/). New home directories are now located under /u
and are limited to 20G of space.
After logging in to one of our Linux servers, your working directory will be your home directory
[abctest@portal01 ~]$ pwd /u/abctest [abctest@portal01 ~]$ df -h . Filesystem Size Used Avail Use% Mounted on corezfs01:/u/abctest 20G 5.2M 20G 1% /u/abctest
All user home directories for the department are now stored on ZFS storage located in the “003” server room in Rice Hall. ZFS is a widely used, industry-standard storage platform that offers modern features such as backups/snapshots. User data is stored on a Nexsan E-Series storage appliance capable of scaling to 6 petabytes in a single 42U server rack. The disk arrays in this device are connected to a SAN (storage area network) via 8Gb fiber-channel and served over NFS by servers running Solaris.
Home directories are quota limited in size, and should not be used for large data sets or project data. Users are encouraged to save large data sets or project data in a project directory (see Project Directories).
ZFS Partitions
There are four servers serving ZFS partitions:
Server | Partitions |
---|---|
zfs1.cs.virginia.edu | /zf1-zf6, /zf20-zf25 |
zfs2.cs.virginia.edu | /zf7-zf12, /if1-if6 |
zfs3.cs.virginia.edu | /zf13-zf19, /af1-af5, /af11-af12, /af25-af26 |
corezfs01.cs.virginia.edu | /u, /p |
Home Directory Access
NFS | CS filesystems are exported via NFS to department-managed Unix systems - Linux and Solaris interactive and compute nodes. Filesystems are mounted consistently across all nodes so the paths are identical no matter what node you are working on. If you have root on your own desktop or laptop, we do not export NFS to your machine, you'll need to use SMBFS/CIFS. |
---|---|
Samba/CIFS | Users logging into their “CSDOM” Windows account will automatically find their home directory mounted as their “K:\” drive. Anyone can mount their home directory using Samba on their personal computers. Windows, Linux and Mac OS all have clients that will allow you to mount your CS department home directory over Samba. |
SCP/SFTP | For truly remote access, we recommend using an SCP/SFTP client: the openssh package available on almost all *nix based systems - Solaris, Mac OS-X and the Linuxes. For Windows platform users, openssh is part of the cygwin packages, and ITS also provides SecureFX at ITS Software Central. For these connections, you should use the hostname portal.cs.virginia.edu to access the files; direct access to all file servers is restricted to Samba and NFS services. |
SCP/SFTP
You can use scp
or sftp
to access our filesystems through any given CS Linux server. We recommend that you use the host portal.cs.virginia.edu
for these connections.
Samba
We have a new central Samba server samba.cs.virginia.edu
that everyone can use to connect to their home directory. To connect to your home directory, use the following network share:
\\samba.cs.virginia.edu\userid
When asked to authenticate please format your usename like this:
CSDOM\userid
Available Samba Shares
In addition to home directories (described above), there are additional network storage volumes that are now available to mount via Samba.
Share | Share Path | Desc |
---|---|---|
/bigtemp | \\samba.cs.virginia.edu\bigtemp | /bigtemp temporary data space |
/sw | \\samba.cs.virginia.edu\sw | Software Partition |
/p/project_name | \\samba.cs.virginia.edu\p\project_name | Project Directories |
/u/username | \\samba.cs.virginia.edu\username | Home Directories |
Mounting on Linux/Mac OS
GUI Programs
Graphical file managers under Linux and Mac OS (e.g. Nautilus, Finder, Caja, etc.) allow you to enter your network path using the following formatting
smb://samba.cs.virginia.edu/ktm5j or smb://ktm5j@samba.cs.virginia.edu/ktm5j
You may be required to specify a user name in this path. If you are not asked for a username and password, try adding your username like in the second example. If you are asked for a domain or workgroup, use CSDOM
.
CLI Mount
You can mount your directory from the command line. First, make sure that you have the cifs-utils package installed.
For Debian/apt based distributions:
sudo apt-get install cifs-utils
For Red Hat/yum based distributions:
sudo yum install cifs-utils
And then run the following command to mount your home directory
sudo mount -t cifs -o username=ktm5j //samba/ktm5j /mnt/