Author | Frank Steinberg | ||||||||||||||||||
Keywords | |||||||||||||||||||
Categories | Administrivia | ||||||||||||||||||
Almost all data processed by IBR services, hosts and users is stored on a single storage server,
ServicesThe server supplies the following services:
ZFSZFS builds the powerful layer between the raw capacity of >100TB HDD and SSD space and ~60TB of useable storage space featured with striped layout for better performance, two parity disks per stripe for reliaabilty and spare disk(s) for easy replacement in case of failing disks. The storage can be used as filesystems with quota limits and as iSCSI volumes. User accessible snapshots allow easy restauration and are the basis for a poweful send/recv based backup to other ZFS backup systems (one in house, a second located at GITZ (not yet)). As of May 2017 these datasets are in use:
In most cases you don't have to care about the different datasets. You can navigate smoothly within the complete NFSMost ZFS filesystem datasets are exported via NFS. To those hosts, that are located in the same room and maintained by no other persons than the IBR admins, a plain NFSv3 export is used. Most servers use NFS-over-RDMA via a separate SAN which allows to fill up the clients' 10GBit links by >90% (with appropriate access patterns). Other machines in the LAN or even clients via VPN access the datasets via NFSv4 with Kerberos5 authentication and encryption ("sec=krb5p"). Common IBR client configuration Most IBR Linux systems mount the NFS volumes automatically via autofs. The complete SambaUser home directories and the "/ibr" dataset tree are also exported via SMB/CIFS. Please note that the filesystems' nature is based on UNIX permissions. Windows clients cannot get permissions correctly. Therefore users which can access the data via a UNIX/Linux system (e.g. by SSH to an IBR Linux system and working on the data remotely) are encouraged to choose that way! iSCSIAs a first step some VMs will be switched from a local disk image to iSCSI volumes. Especially iSCSI over RDMA (iSER) looks quite promising. Later, we will probably supply iSCSI volumes to IBR users on demand. More to follow... Snapshots ZFS allows to take snapshots of datasets. In case of filesystems there is a hidden steinb@x1 ~/ 502 $ pwd /ibr/home/steinb steinb@x1 ~/ 503 $ date Fri May 26 21:00:49 CEST 2017 steinb@x1 ~/ 504 $ ibr-snapshot took snapshot /ibr/home/steinb/.zfs/snapshot/steinb-20170526-210054 steinb@x1 ~/ 505 $ ls -l /ibr/home/steinb/.zfs/snapshot/ total 0 dr-xr-xr-x 1 root root 0 May 26 10:48 backup-20170526-090008 dr-xr-xr-x 1 root root 0 May 26 21:01 backup-20170526-150006 dr-xr-xr-x 1 root root 0 May 26 10:48 steinb-20170526-104656 dr-xr-xr-x 1 root root 0 May 26 10:48 steinb-20170526-104754 dr-xr-xr-x 1 root root 0 May 26 14:56 steinb-20170526-111543 dr-xr-xr-x 1 root root 0 May 26 14:56 steinb-20170526-111551 dr-xr-xr-x 1 root root 0 May 26 14:56 steinb-20170526-144931 dr-xr-xr-x 1 root root 0 May 26 14:56 steinb-20170526-145632 dr-xr-xr-x 1 root root 0 May 26 21:01 steinb-20170526-210054 Quota Limits Each regular IBR users has his own "home" dataset. This allows to simply use steinb@x1 ~/ 506 $ df -h . Filesystem Size Used Avail Use% Mounted on zfs1.san.ibr.cs.tu-bs.de:/pool1/ibr/home/steinb 250G 184G 67G 74% /misc/ibr/home/steinb y-accounts do not have individual datasets. However, all users (incl. y-users) can query for their personal quota limits with steinb@x1 ~/ 510 $ ibr-quota NAME PROPERTY VALUE SOURCE pool1/ibr/home/steinb quota 250G local pool1/ibr/home/steinb used 184G - pool1/ibr/home/steinb userquota@steinb none local pool1/ibr/home/steinb userused@steinb 172G local The size of new IBR user home datasets is usually initialized with a maximum size of 20GB, but they can easily be enlarge upon request. The common quota limit for y-users is 10GB. (Until May 2017 it has been 1GB.) Note that those filessystem blocks of snapshots that differ from the current filesystem content consume a fragment of the quota limit. This means that filesystems with heavy fluctuation may seem more occupied than you would expect due to (backup) snapshots. If this is the case for your home directory, you may wish to remove some old snapshots. This may be achieved with BackupA regular backup is realized based on ZFS's send/recv feature: complete identical copies of regular snapshots of all datasets are maintained by our own simple script. Currently we mirror 200+ dataset snapshots multiple times each day to a separate host located at IBR and to a another ZFS backup host located at the GITZ. [As of 2017-05-29 the first full copy to GITZ is running and takes a few days. During this time backups to the first machine are paused.] Volumes not (yet) located on the ZFS server are intergrated into an rsnapshot backup system. This will be intergrated with the ZFS system soon. Note that the formerly accessible Accessing filesystems from your own client host Accessing your home directory and the TBD: Samba with UNIX extensions... However using NFS might be preferable. For security reasons you have to use NFSv4 and Kerberos, which means you need:
|
Vacancies of TU Braunschweig
Career Service' Job Exchange
Merchandising
Term Dates
Courses
Degree Programmes
Information for Freshman
TUCard
Technische Universität Braunschweig
Universitätsplatz 2
38106 Braunschweig
P. O. Box: 38092 Braunschweig
GERMANY
Phone: +49 (0) 531 391-0