SLC6: Accessing CERN DFS from Linux¶
Accessing CERN DFS /dfs/cern.ch from Linux
CERN uses Microsoft DFS file system for storing users and application data for Windows systems.
This documentation outlines the setup process allowing Linux clients to access this file system.
While the configuration may be specific to CERN SLC6 Linux distribution, it should be applicable to a modern Linux platform, providing it features at least: samba 3.5.X, Gnome 2.28 and Kerberos 5.
Mounting CERN DFS as a Linux file systemStarting with SLC 6.2 it is possible to mount DFS as any other remote file system (with some limitations): please see documentation for details.
Access via native SMB/CIFS protocol
NautilusNautilus can access CERN DFS filesystem using pre-installed gvfs smb addon. SLC6 nautilus/gvfs is an kerberized application allowing access to CERN DFS using Keberos credentials, without the need to type username/password.
To mount DFS from command line use:
# gvfs-mount smb://cerndfs.cern.ch/dfs/To list DFS content:
gvfs-ls smb://cerndfs.cern.ch/dfs/Other useful gvfs related commands are:
gvfs-cat gvfs-less gvfs-monitor-dir gvfs-move gvfs-rm gvfs-trash gvfs-copy gvfs-ls gvfs-monitor-file gvfs-open gvfs-save gvfs-tree gvfs-info gvfs-mkdir gvfs-mount gvfs-rename gvfs-set-attribute
smbclientSmbclient is an ftp-like client to access SMB/CIFS resources on servers. SLC6 smbclient is an kerberized application allowing access to CERN DFS using Keberos credentials, without the need to type username/password.
To access CERN DFS using smbclient type:
smbclient -k //cerndfs.cern.ch/dfsFor smbclient commands please see:
# man smbclient
Access using Web DAV clients
NautilusNautilus can access Web DAV using built-in Web DAV protocol handler.
Open Nautilus from Places menu. From the nautilus windows File menu you can select Connect to Server, this will bring up a dialog box. Select/enter the following:
|Service Type: Secure WebDAV (HTTPS)
DO NOT fill in User Name (or it will prevent password authentication).
optionally check Add bookmark and enter a Bookmark name
, next click Connect to initiate connection.
|Provide your CERN account login
Select if the password should be: immediately forgotten, stored temporarily or permanently.