Home Directories

From CS Support Wiki
Jump to: navigation, search

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.

ZFS Partitions

There are four servers serving ZFS partitions:

zfs1.cs.virginia.edu/zf1 - /zf6
zfs2.cs.virginia.edu/zf7 - /zf12
zfs3.cs.virginia.edu/zf13 - /zf19
zfs4.cs.virginia.edu/zf20 - /zf25

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 "sftp.cs.virginia.edu" to access the files; direct access to all file servers is restricted to Samba and NFS services.

Mounting Your Home Directory via Samba/CIFS

Path for ZFS Home Directories

This is the basic format for network paths for home directories on ZFS storage. You can find which server corresponds to your partition using the chart above:


For example, if my home directory is /zf15/ktm5j then my network path is:


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://zfs3.cs.virginia.edu/zf15_smb/ktm5j     or     smb://ktm5j@zfs3.cs.virginia.edu/zf15_smb/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 //zfs3/zf15_smb/ktm5j /mnt/