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

From HPC users
Jump to navigationJump to search
Line 43: Line 43:
* ''sudo'' caches the password for a certain time. So if you call ''sudo'' twice sudo don't ask for the password.
* ''sudo'' caches the password for a certain time. So if you call ''sudo'' twice sudo don't ask for the password.


== 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 <code>Finder</code> Window. Proceed to <code>Finder Main Menu -> Go
-> Connect to Server</code> (similarly you might type <code>cmd-K</code> in the
<code>Finder</code> window) in order to open a dialog box that will enable you to connect to a
remote server.
2) Enter the connection details: as <code>Serveraddress</code> fill in
  cifs://cifs.storage.hpc.uni-oldenburg.de/hpc_<working_group>_home
where you need to replace <code><workin_group></code>
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
<code>aabb1122</code>) and the corresponding password.  Further, choose to
login as a <code>Registered User</code>.  After a successful login procedure,
OSX will provide a mount point, appearing as additional icon in the
<code>Finder</code>.


== Working group names ==
== Working group names ==

Revision as of 11:28, 12 June 2013

Windows

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

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

and

 \\cifs.storage.hpc.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>  //cifs.storage.hpc.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>  //cifs.storage.hpc.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

 //cifs.storage.hpc.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
 //cifs.storage.hpc.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

and then mount the devices by

 sudo mount <mount_point4home>
 sudo mount <mount_point4work>


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.

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://cifs.storage.hpc.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