Difference between revisions of "Mounting Directories of FLOW and HERO"

From HPC users
Jump to navigationJump to search
 
Line 8: Line 8:
   \\daten.uni-oldenburg.de\hpc_<working_group>_work
   \\daten.uni-oldenburg.de\hpc_<working_group>_work


as address, respectively. The name <working_group> has to be replaced to the users working group name on FLOW and HERE ([[#Working group names|see table below]]). After that username and password of FLOW and HERO will be requested to connect this share.
as address, respectively. The name <working_group> has to be replaced to the users working group name on FLOW and HERE ([[#Working group names|see table below]]). After that username and password of your university account (also used for FLOW and HERO) will be requested to connect this share.
 
There are two ways, to connect to a network share in Windows (also see web pages of IT Services regarding the L:-drive):
 
# Open the File Explorer and Right-Click on "This PC". Select "Map Network Drive". Choose a letter for the network drive (e.g. V:) and enter the address as explained above. If on your PC you are not using the university account to login, also tick "Using different credentials". Click "Finish" to proceed. You should be prompted for a user name (see below) and password. After entering both the network drive should be ready to use. If you have problems, try to google "windows map network drive" for more detailed instructions.
# Alternatively, open a command windows (cmd.exe). The command "net use" will show you any connected network drives. Use the command "net use <drive letter> /d /y" to remove any unwanted connection. Replace "<drive letter>" by e.g. "V:". The command "net use <drive letter> <network address> * /user:w2kroot\abcd1234" will prompt you for your password and connect the network drive. Replace "<drive letter>" (e.g. "V:"), "<network address>" as shown above, and "abcd1234" with your user name.
In either case contact Scientific Computing if you are getting an error message.


'''Note''':  
'''Note''':  
* The username has to be specified with the domain name, e.g. ''w2kroot\abcd1234''
* The username has to be specified with the domain name, e.g. ''w2kroot\abcd1234''


== Linux ==
== Linux ==

Latest revision as of 09:48, 4 April 2016

Windows

Under Windows the HOME and WORK directory of FLOW and HERO can be mount as network drive by using

 \\daten.uni-oldenburg.de\hpc_<working_group>_home

and

 \\daten.uni-oldenburg.de\hpc_<working_group>_work

as address, respectively. The name <working_group> has to be replaced to the users working group name on FLOW and HERE (see table below). After that username and password of your university account (also used for FLOW and HERO) will be requested to connect this share.

There are two ways, to connect to a network share in Windows (also see web pages of IT Services regarding the L:-drive):

  1. Open the File Explorer and Right-Click on "This PC". Select "Map Network Drive". Choose a letter for the network drive (e.g. V:) and enter the address as explained above. If on your PC you are not using the university account to login, also tick "Using different credentials". Click "Finish" to proceed. You should be prompted for a user name (see below) and password. After entering both the network drive should be ready to use. If you have problems, try to google "windows map network drive" for more detailed instructions.
  2. Alternatively, open a command windows (cmd.exe). The command "net use" will show you any connected network drives. Use the command "net use <drive letter> /d /y" to remove any unwanted connection. Replace "<drive letter>" by e.g. "V:". The command "net use <drive letter> <network address> * /user:w2kroot\abcd1234" will prompt you for your password and connect the network drive. Replace "<drive letter>" (e.g. "V:"), "<network address>" as shown above, and "abcd1234" with your user name.

In either case contact Scientific Computing if you are getting an error message.

Note:

  • The username has to be specified with the domain name, e.g. w2kroot\abcd1234

Linux

Under Linux the HOME and WORK directory of FLOW and HERO can be mount by the command

 sudo mount -t cifs -o workgroup=W2KROOT,username=<user>,file_mode=0600,dir_mode=0700,uid=<linux_username>,gid=<linux_group>  //daten.uni-oldenburg.de/hpc_<working_group>_home <mount_point4home>

and

 sudo mount -t cifs -o workgroup=W2KROOT,username=<user>,file_mode=0600,dir_mode=0700,uid=<linux_username>,gid=<linux_group>  //daten.uni-oldenburg.de/hpc_<working_group>_work <mount_point4work>

where <user> has to be replaced by the username on FLOW and HERO. The name <working_group> has to be replaced to the users working group name on FLOW and HERE (see table below). The place holder <mount_point> has to be replaced by an empty valid directory on your Linux. The variables <linux_username> and <linux_group> has to be replaced to the user and group name under linux if the user and the group ID/name is different to the Windows user and group ID. When executing the command first sudo ask for your password on you local machine. After that moount will ask for your password of FLOW or HERO.

Alternatively one can extent the file /etc/fstab by the lines

 //daten.uni-oldenburg.de/hpc_<working_group>_home  <mount_point4home> cifs workgroup=W2KROOT,username=<user>,file_mode=0600,dir_mode=0700,uid=<linux_username>,gid=<linux_group>,noauto,users
 //daten.uni-oldenburg.de/hpc_<working_group>_work  <mount_point4work> cifs workgroup=W2KROOT,username=<user>,file_mode=0600,dir_mode=0700,uid=<linux_username>,gid=<linux_group>,noauto,users

and then mount the devices by

 mount <mount_point4home>
 mount <mount_point4work>

Here the sudo command is not needed due to the users option.

Note:

  • The mount command without the entry in the /etc/fstab needs root permissions. Therefore the sudo command before the mount command.
  • To mount CIFS file systems under Linux usually additional packages have to be installed. E.g. on Ubuntu 12.04LTS the package 'smbfs' and 'smbclient' have to be installed by sudo apt-get install smbfs. For Ubuntu 14.04LTS you'll need 'cifs-utils'. For other Linux distributions please search for 'cifs' or 'smb' in your package manager.
  • The file system has to be mounted after each reboot or shutdown. They are not mounted automatically
  • sudo caches the password for a certain time. So if you call sudo twice sudo don't ask for the password.


GPFS filesystem of FLOW under Linux

On FLOW there exist a high-performance GPFS filesystem. This is not mountable by CIFS. An alternative way to mount this file system is the usage of sshfs which rely on SFTP-protocol. With the command

 sshfs <user>@flow.hpc.uni-oldenburg.de:/data/work/gpfs/<working_group>/<user> <mount_point4gpfs>

the filesystem can be mounted. The variables <user> and <working_group> have to be replaced by your username and usergroup on FLOW, respectively. The mount point <mount_point4gpfs> must be an existing empty directory on your local file system.

Alternatively one can extent the file /etc/fstab by the line

 <user>@flow.hpc.uni-oldenburg.de:/data/work/gpfs/<working_group>/<user>   <mount_point4gpfs>  fuse.sshfs noauto,_netdev,users,idmap=user,allow_other,reconnect 0 0

and then mount the devices by

 mount <mount_point4gpfs>


Note:

  • On Ubuntu 12.04LTS the package 'sshfs' has to be installed by sudo apt-get install sshfs. For other Linux distributions please show in your package manager.


OSX

Under OSX you can mount your HOME directory following the three-step procedure outlined below (here, tested working on OSX 10.7.5):

1) Open the Finder Window. Proceed to Finder Main Menu -> Go -> Connect to Server (similarly you might type cmd-K in the Finder window) in order to open a dialog box that will enable you to connect to a remote server.

2) Enter the connection details: as Serveraddress fill in

 cifs://daten.uni-oldenburg.de/hpc_<working_group>_home

where you need to replace <workin_group> to fully specify the network path to the directory you want to mount.

3) Once you try to connect to the server you will be prompted for your login details. These refer to your anonymous university username (in the form of aabb1122) and the corresponding password. Further, choose to login as a Registered User. After a successful login procedure, OSX will provide a mount point, appearing as additional icon in the Finder.

Working group names

Follwing working group names are available:

<working_group> Description
com ???
fk5 Members of Faculty V
fw Staff of ForWind
hpcguest Guest accounts
hrz Staff of the HRZ
iwes Fraunhofer Institute IWES

If you are a user of the HPC component HERO and if you would like to mount your home directory you need to replace <working_group> by the name of the group you are related to. The subsequent list specifies all available group names:

Available group names for HERO users
agacoustics
agamecon
agancp
aganimalbiodiv
agappanalysis
agbiopsych
agbuseng
agcoastal
agcogpsych
agcompchem
agcompint
agcomplexsys
agcompneuro
agcompphys
agcoordchem
agdistsys
agenvinf
agfieldtheo
aggeneralpsych
aghydrogeo
agmediainf
agmediphys
agmodelling
agmolchem
agnanoopt
agneuropsych
agnumerics
agphysocean
agphysocean
agplantbiodiv
agsigproc
agsofteng
agstatistics
agstatphys
agsystematics
agtheochem
agvlba
agzoophys