Access your files

Here we describe how to access our fileservers from the different operating systems.

Note that file server access from outside the ETH network only works via VPN!

Don't be confused about the different "server names" (see Hostnames of our services). All of them will serve you the same files. Access with a Windows-Client to winhome.phys.ethz.ch, with a Mac to machome.phys.ethz.ch and see the same files!

On Windows

How to connect your home drive

  • Click your Start button
  • select run
  • Type \\winhome.phys.ethz.ch\USERNAME eg: \\winhome.phys.ethz.ch\patrika
  • Connect using ad\USERNAME and password. Select OK
  • Optionally click with the right mouse button on your home and assign a drive letter

How to connect a group share

  • Click your Start button
  • select run
  • Type \\windata.phys.ethz.ch\SHARENAME eg: \\windata.phys.ethz.ch\nano1
  • Connect using ad\USERNAME and password. Select OK
  • Optionally click with the right mouse button on your home and assign a drive letter

Astronomers:

You can access your /scratch and /export/data1 with

\\astrogate.ethz.ch\workstation\WORKSTATIONNAME

IPA:

\\ipa-gate.phys.ethz.ch\ipa

IGP:

You can access your /scratch and /export/data1 with

\\windata.ethz.ch\workstation\WORKSTATIONNAME

Troubleshooting:

If you do a clean install of Windows 10 with build 1709 and later you will get an error message like this:

You can't access this shared folder because your organization's security 
policies block unauthenticated guest access.
These polices help to protect you PC from unsafe or 
malicious devices on the network

the technical explanation for this error message is given here

In order to connect to the group share, you have to set up a network drive and select the Connect using different credentials checkbox on the setup wizard and save the credentials.

On macOS

  • Select the Finder
  • In the menu Go, click on Connect to server...
  • Type in smb://machome.phys.ethz.ch/homes for your home, respectively smb://macdata.phys.ethz.ch/SHARENAME for group share and click Connect
  • In the following dialog enter your D-Phys username and password
  • The mounted share should appear on your desktop or Finder window

Cosmologists:

If you don't see all files inside the ipa/refreg/data subfolder, please create a /etc/nsmb.conf file, with the following contents

[default]
file_ids_off=yes

to fix bugs because of nested file systems.

You can also access your /scratch and /export/data1 with smb://astrogate.ethz.ch/workstation/WORKSTATIONNAME

Troubleshooting:

It may happen that the wrong username or password were saved and you can no longer connect to the network share. You may either remove the entry in the Keychain Access application, or provide the correct username when connecting: smb://username:*@machome.phys.ethz.ch/homes

On Linux

You may access an SMB server with several interfaces (replace "USERNAME" with your D-PHYS user name).

The package cifs-utils must be installed on your system:

apt install cifs-utils

Konqueror, Midnight commander and others

You are able to connect directly to:

smb://unixhome.phys.ethz.ch/homes

If you get an error, you may need to configure samba. Check that the following line is in the section [global] in your /etc/samba/smb.conf:

[global]
client max protocol = SMB3

mount

You may mount the files erver on your local workstation.

To access your home:

mkdir -p /media/dphys
sudo mount -t cifs -o domain=AD,user=USERNAME,vers=3.0 //unixhome.phys.ethz.ch/homes /media/dphys

To access the group share "SHARENAME":

mkdir -p /media/GROUP
sudo mount -t cifs -o domain=AD,user=USERNAME,vers=3.0 //unixdata.phys.ethz.ch/SHARENAME /media/SHARENAME

To map the uid to your local User:

sudo mount -t cifs -o domain=AD,user=USERNAME,vers=3.0,uid=$(id -u),gid=$(id -g) //unixhome.phys.ethz.ch/homes /media/dphys

smbclient

This will give you a ftp-like interface.

To access your home:

smbclient --max-protocol SMB3 -W AD -U USERNAME //unixhome.phys.ethz.ch/homes

To access the group share "SHARENAME":

smbclient --max-protocol SMB3 -W AD -U USERNAME //unixdata.phys.ethz.ch/SHARENAME

Using SCP or SFTP (any operating system)

You can access your files also using SCP (Secure Copy) or SFTP (Secure File Transfer Protocol) clients, e.g. WinSCP or Putty under Windows or CyberDuck under macOS. See our Readme SFTP Samples Windows Workstation to D-PHYS Workstation for how to use SFTP with WinSCP.

Just connect to login.phys.ethz.ch or one of our student pool workstation using you normal D-PHYS username and password.

Your password as well as your data will be encrypted for the transmission since both protocols are based on the SSH (Secure Shell) protocol.

See also our Readme on SSH.