Difference between revisions of "Mounting Directories of FLOW and HERO"
Albensoeder (talk | contribs) |
Albensoeder (talk | contribs) |
||
Line 2: | Line 2: | ||
Under Windows the HOME and WORK directory of FLOW and HERO can be mount as network drive by using | 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 | 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 ([[#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 FLOW and HERO will be requested to connect this share. | ||
Line 17: | Line 17: | ||
Under Linux the HOME and WORK directory of FLOW and HERO can be mount by the command | 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> // | 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 | and | ||
sudo mount -t cifs -o workgroup=W2KROOT,username=<user>,file_mode=0600,dir_mode=0700,uid=<linux_username>,gid=<linux_group> // | 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 ([[#Working group names|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. | 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 ([[#Working group names|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. | ||
Line 27: | Line 27: | ||
Alternatively one can extent the file ''/etc/fstab'' by the lines | 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 | and then mount the devices by | ||
Line 74: | Line 74: | ||
2) Enter the connection details: as <code>Serveraddress</code> fill in | 2) Enter the connection details: as <code>Serveraddress</code> fill in | ||
cifs:// | cifs://daten.uni-oldenburg.de/hpc_<working_group>_home | ||
where you need to replace <code><workin_group></code> | where you need to replace <code><workin_group></code> |
Revision as of 09:32, 16 October 2015
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 FLOW and HERO will be requested to connect this share.
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