Mounting Directories of FLOW and HERO

From HPC users
Revision as of 11:32, 26 November 2012 by Albensoeder (talk | contribs)
Jump to navigationJump to search

Windows

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

 \\cifs.storage.hpc.uni-oldenburg.de\hpc_<working_group>_home

as address. 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 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>  //cifs.storage.hpc.uni-oldenburg.de/hpc_<working_group>_home <mount_point>

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 line

 //cifs.storage.hpc.uni-oldenburg.de/hpc_<working_group>_home  <mount_point> cifs workgroup=W2KROOT,username=<user>,file_mode=0600,dir_mode=0700,uid=<linux_username>,gid=<linux_group>,noauto

and then mount the device by

 sudo mount <mount_point>


Note:

  • The mount command needs root permissions. Therefore the sudo command before the mount command.
  • On Ubuntu 12.04LTS the package 'smbfs' and 'smbclient' has to be installed by sudo apt-get install smbfs. For other Linux distribution please show in you 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.


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