Home Directory (Network Drive)
Access
Access to your home directory is possible within the ETH network or via VPN only.
Expand title Connect to Home Directory (Windows) Info icon false - Open File Explorer from the taskbar or the Start menu, or press the Windows logo key + E.
- Select This PC from the left pane. Then, on the Computer tab, select Map network drive.
- In the "Drive" list, select a drive letter. (Any available letter will do.)
In the "Folder" box, type\\d.ethz.ch\users\all\<ETH user name>
Check the box "Connect using different credentials"
Select "Finish" Enter your ETH user name ("d\" in front of it E.g. d\hansmuster) and ETH password for email (Active Directory) and click on "OK"
Note title Login with another user Click on "More choices" and then on "Use a different account"
Expand title Connect to Home Directory (Mac) Info icon false - Go to “Finder"
- Go to the "Finder" menu select "Go" and select "Connect to Server.." (or CMD+K)
- Enter
smb://d.ethz.ch/users/all/<ETH user name>
and click "Connect" - Enter your ETH user name and ETH password for email (Active Directory) and click on "Connect"
Expand title Connect to Home Directory (Linux) Info icon false - The software package “cifs-utils” must be installed.
- Some commands require that you have “sudo” permissions or that you know the root password.
- First create a mount point. This is a directory where the NAS drive should be connected to.e.g. "mkdir /home/localuser/nashome".
- Now you can connect the NAS drive with the «mount» command.
- The command "mount" must be executed together with "sudo" or directly as user "root".
sudo mount -t cifs -o username=domainuser,domain=D,vers=2.0,uid=localuser,gid=localgroup //testnas13.ethz.ch/id_service_sth_d/domainuser /home/localuser/nashome
domainuser = ETHZ username
d = First character of ETHZ username
localuser = Local username on your Linux machine (“uid” from command «id»)
localgroup = Primary group from localuser (“gid” from command «id»)
- After entering the «sudo» password and the domainuser password, the NAS drive is connected to the directory «/home/localuser/nashome» and you can work with this directory like a local one.
If access to the home drive is no longer needed, you can disconnect it with the command “sudo umount /home/localuser/nashome”.
Info | ||
---|---|---|
| ||
The procedure is the same as for the Home Directory. Access is possible within the ETH network or via VPN only. You need to know the path to your share. The paths are different for each department, institute or group. If the paths are not known, they can be obtained from the respective Support group: IT Support Group |
Data recovery
To restore a deleted file from your Home Directory or from a Network Drive follow the guide below
Expand title How to recover deleted files in Windows Info icon false - Locate the network folder where the deleted file was stored.
- For your home directory, enter in the address bar
\\d.ethz.ch\users\all\<ETH user name>
. Replace<ETH user name>
with your ETH username. - In the context menu (right mouse click) select the entry "Restore previous versions".
- In the following dialog, select the date from which the data should be restored.
- You can restore the entire folder by clicking on «Restore»……
- or you can restore individual files by double-clicking on the folder of the desired date, marking the files and copying them to the target folder.
Expand title How to recover deleted files in Mac Info icon false - Open Finder and go to "Go‐Connect to Server". Enter the server path to your drive: e.g.
smb://d.ethz.ch/users/all/<ETH user name>/.snapshot
- You can now get an overview of different drive versions stored on the server. The name of the folder symbolizes time of backup. With drag and drop you can copy an entire backup to the location of your choice. Double‐clicking on a backup copy, allows you to do the same with individual files.
- Open Finder and go to "Go‐Connect to Server". Enter the server path to your drive: e.g.
Expand title How to recover deleted files in Linux Info icon false - Create a new directory in your /home (in our case directory name is NETHZ)
- Open terminal and run the following command:
sudo mount -t cifs -o username=uexample,domain=D,vers=2.0 //testnas13.ethz.ch/id_service_sth_u/uxample/.snapshots /home/localuser/NETHZ
uexample = your ethz username
u= first letter of your ethz username
- You will now be prompted to enter your password. The first one is the local “sudo” password and the second is your ethz password.
- After you have successfully entered both passwords, all saved files from the last 7 days will appear in the newly created directory NETHZ and can be easily restored using the “Files” app.
- After you have closed the “Files” app, enter the command «sudo umount /home/localuser/NETHZ» in the terminal to close the network connection to the NAS properly.
In rare cases it may happen that the permissions for your home directory are no longer correct. In this case please contact the Service Desk.
FAQ
Expand | ||
---|---|---|
| ||
Our NAS systems have limits on size and number of files/directories. Most operating systems don't have a special warning when the number of files/directories has reached its limit. They simply report a space problem. Remedy can then be to clean up the data stock, or to increase the limits of the share. The enlargements are usually made by the IT support of the department. In this case, please contact your IT support group. |
Expand | ||
---|---|---|
| ||
Depending on the department at ETH, the paths of the home directories point to different servers. However, as a student, doctoral student, postdoc and employee, you have a homedirectory on the servers of the ID Homedirectories with a capacity of 5 GiB. |
Expand | ||
---|---|---|
| ||
With DFS : or with a UNC path: Advantages of using DFS: Advantages of the UNC path: |
Expand | ||
---|---|---|
| ||
If the share is already attached, you can follow this process in a terminal environment:: Important: Example: id-als-docking-143:.snapshots userid$ cd \@GMT-2019.02.07-07.44.40/AB id-als-docking-143:ID userid$ ls id-als-docking-143:.snapshots userid$ cd \@GMT-2019.02.07-07.44.40/AB/this → eh voila |
Expand | ||
---|---|---|
| ||
Open the File Explorer and navigate to the folder where a file or folder was deleted. For your home directory, for example, enter \\d.ethz.ch\users\all\%USER% ( %USER% is replaced with your ETH username ) in the address bar. Select the entry "Restore previous versions" in the context menu (right mouse button). In the following dialog, select the date from which the data should be restored. With a click on "Restore" you will restore the entire folder to the content of that date (destructiv).
|
Expand | ||
---|---|---|
| ||
Our NAS systems have limits on the size and number of files/directories. Most operating systems do not have a special warning when the number of files/directories has reached its limit. They only report a space problem. Remedy can then be found by cleaning up the database or increasing the share limits. The extensions are usually carried out by the IT support of the department. In this case, please contact your IT support group. |
Expand | ||
---|---|---|
| ||
*** Translated with www.DeepL.com/Translator (free version) *** |
Expand | ||
---|---|---|
| ||
To mount a NAS share it is required to install the appropriate packages first. most of the Linux Distribtions have the package "cifs-utils" NOT installed by default. How to install Packages is not topic here. username=[ActiveDirectory account] <this is usually your ETH user name> domain=D <this is the ActiveDirectory Domain name> Beispiel: mount -t cifs -o username=testuser,vers=3,domain=D //nas22/beispiel_share_s1 /mnt/t4 Some OS Levels may require also the option: Vers=2.1 <this specifies explicitly the SMB Release to be used for the new session> Please consult the man-Pages of your system for more information, avoid adding options not needed explicitly. It is important that your system is up to date, since the SMB protocol has been enhanced havily for security reasons. Please remember that SMB1 protocol is not supported anymore! SMB Servers do not support multiple users on the same SMB Session. This means that if you need to connect to a share with a different user on the same NAS, this will not be allowed. You may need to umount the old share first. |
Expand | ||
---|---|---|
| ||
We reference here to the detailed description of the Department Biol: |
Expand | ||
---|---|---|
| ||
Generally, the date of recalculation is different for each share. It depends on the creation date. The clearing period is one year. However, each share owner can read the specific date in the IT Shop under 'My Products -> Storage'. The 'Valid To' indicates until when a share is paid and therefore also when the re-invoicing takes place. (see attachment) Usually the share owners can be found in the IT support of the department / institute (ISG).
In the ITShop the 'Valid To' field shows until when the use of the share has been paid. Will I get a refund if I find out after 3 months that my share is too big?
However, the share size can be adjusted at close to the end (directly after receipt of the mail and before the new billing for another year) or the share can be deleted without further cost consequences before billing. |
Expand | ||
---|---|---|
| ||
At ETH, data stores are subject to a fee. Therefore, new shares can only be ordered and defined by authorized persons. The order is processed via the ITShop. Billing is done for one year in advance, analogous to software licenses. Extensions are also invoiced directly via SAP in advance for the remaining annual term. Each billing of a share increase must be approved by the budget manager. If the approval is denied, the corresponding resizing has to be done by the purchaser, as he is best able to assess the situation regarding possible problems and to take appropriate measures in advance. At this point, a deadline can also be agreed with the storage services. |
Home Directory (Network Drive)
Access
Access to your home directory is possible within the ETH network or via VPN only.
Expand title Connect to Home Directory (Windows) Info icon false - Open File Explorer from the taskbar or the Start menu, or press the Windows logo key + E.
- Select This PC from the left pane. Then, on the Computer tab, select Map network drive.
- In the "Drive" list, select a drive letter. (Any available letter will do.)
In the "Folder" box, type\\d.ethz.ch\users\all\<ETH user name>
Check the box "Connect using different credentials"
Select "Finish" Enter your ETH user name ("d\" in front of it E.g. d\hansmuster) and ETH password for email (Active Directory) and click on "OK"
Note title Login with another user Click on "More choices" and then on "Use a different account"
Expand title Connect to Home Directory (Mac) Info icon false - Go to “Finder"
- Go to the "Finder" menu select "Go" and select "Connect to Server.." (or CMD+K)
- Enter
smb://d.ethz.ch/users/all/<ETH user name>
and click "Connect" - Enter your ETH user name and ETH password for email (Active Directory) and click on "Connect"
Expand title Connect to Home Directory (Linux) Info icon false - The software package “cifs-utils” must be installed.
- Some commands require that you have “sudo” permissions or that you know the root password.
- First create a mount point. This is a directory where the NAS drive should be connected to.e.g. "mkdir /home/localuser/nashome".
- Now you can connect the NAS drive with the «mount» command.
- The command "mount" must be executed together with "sudo" or directly as user "root".
sudo mount -t cifs -o username=domainuser,domain=D,vers=2.0,uid=localuser,gid=localgroup //testnas13.ethz.ch/id_service_sth_d/domainuser /home/localuser/nashome
domainuser = ETHZ username
d = First character of ETHZ username
localuser = Local username on your Linux machine (“uid” from command «id»)
localgroup = Primary group from localuser (“gid” from command «id»)
- After entering the «sudo» password and the domainuser password, the NAS drive is connected to the directory «/home/localuser/nashome» and you can work with this directory like a local one.
If access to the home drive is no longer needed, you can disconnect it with the command “sudo umount /home/localuser/nashome”.
Info | ||
---|---|---|
| ||
The procedure is the same as for the Home Directory. Access is possible within the ETH network or via VPN only. You need to know the path to your share. The paths are different for each department, institute or group. If the paths are not known, they can be obtained from the respective Support group: IT Support Group |
Data recovery
To restore a deleted file from your Home Directory or from a Network Drive follow the guide below
Expand title How to recover deleted files in Windows Info icon false - Locate the network folder where the deleted file was stored.
- For your home directory, enter in the address bar
\\d.ethz.ch\users\all\<ETH user name>
. Replace<ETH user name>
with your ETH username. - In the context menu (right mouse click) select the entry "Restore previous versions".
- In the following dialog, select the date from which the data should be restored.
- You can restore the entire folder by clicking on «Restore»……
- or you can restore individual files by double-clicking on the folder of the desired date, marking the files and copying them to the target folder.
Expand title How to recover deleted files in Mac Info icon false - Open Finder and go to "Go‐Connect to Server". Enter the server path to your drive: e.g.
smb://d.ethz.ch/users/all/<ETH user name>/.snapshot
- You can now get an overview of different drive versions stored on the server. The name of the folder symbolizes time of backup. With drag and drop you can copy an entire backup to the location of your choice. Double‐clicking on a backup copy, allows you to do the same with individual files.
- Open Finder and go to "Go‐Connect to Server". Enter the server path to your drive: e.g.
Expand title How to recover deleted files in Linux Info icon false - Create a new directory in your /home (in our case directory name is NETHZ)
- Open terminal and run the following command:
sudo mount -t cifs -o username=uexample,domain=D,vers=2.0 //testnas13.ethz.ch/id_service_sth_u/uxample/.snapshots /home/localuser/NETHZ
uexample = your ethz username
u= first letter of your ethz username
- You will now be prompted to enter your password. The first one is the local “sudo” password and the second is your ethz password.
- After you have successfully entered both passwords, all saved files from the last 7 days will appear in the newly created directory NETHZ and can be easily restored using the “Files” app.
- After you have closed the “Files” app, enter the command «sudo umount /home/localuser/NETHZ» in the terminal to close the network connection to the NAS properly.
In rare cases it may happen that the permissions for your home directory are no longer correct. In this case please contact the Serivce Desk.
FAQ
Expand | ||
---|---|---|
| ||
Our NAS systems have limits on size and number of files/directories. Most operating systems don't have a special warning when the number of files/directories has reached its limit. They simply report a space problem. Remedy can then be to clean up the data stock, or to increase the limits of the share. The enlargements are usually made by the IT support of the department. In this case, please contact your IT support group. |
Expand | ||
---|---|---|
| ||
Depending on the department at ETH, the paths of the home directories point to different servers. However, as a student, doctoral student, postdoc and employee, you have a homedirectory on the servers of the ID Homedirectories with a capacity of 5 GiB. |
Expand | ||
---|---|---|
| ||
With DFS : or with a UNC path: Advantages of using DFS: Advantages of the UNC path: |
Expand | ||
---|---|---|
| ||
If the share is already attached, you can follow this process in a terminal environment:: Important: Example: id-als-docking-143:.snapshots userid$ cd \@GMT-2019.02.07-07.44.40/AB id-als-docking-143:ID userid$ ls id-als-docking-143:.snapshots userid$ cd \@GMT-2019.02.07-07.44.40/AB/this → eh voila |
Expand | ||
---|---|---|
| ||
Open the File Explorer and navigate to the folder where a file or folder was deleted. For your home directory, for example, enter \\d.ethz.ch\users\all\%USER% ( %USER% is replaced with your ETH username ) in the address bar. Select the entry "Restore previous versions" in the context menu (right mouse button). In the following dialog, select the date from which the data should be restored. With a click on "Restore" you will restore the entire folder to the content of that date (destructiv).
|
Expand | ||
---|---|---|
| ||
Our NAS systems have limits on the size and number of files/directories. Most operating systems do not have a special warning when the number of files/directories has reached its limit. They only report a space problem. Remedy can then be found by cleaning up the database or increasing the share limits. The extensions are usually carried out by the IT support of the department. In this case, please contact your IT support group. |
Expand | ||
---|---|---|
| ||
*** Translated with www.DeepL.com/Translator (free version) *** |
Expand | ||
---|---|---|
| ||
To mount a NAS share it is required to install the appropriate packages first. most of the Linux Distribtions have the package "cifs-utils" NOT installed by default. How to install Packages is not topic here. username=[ActiveDirectory account] <this is usually your ETH user name> domain=D <this is the ActiveDirectory Domain name> Beispiel: mount -t cifs -o username=testuser,vers=3,domain=D //nas22/beispiel_share_s1 /mnt/t4 Some OS Levels may require also the option: Vers=2.1 <this specifies explicitly the SMB Release to be used for the new session> Please consult the man-Pages of your system for more information, avoid adding options not needed explicitly. It is important that your system is up to date, since the SMB protocol has been enhanced havily for security reasons. Please remember that SMB1 protocol is not supported anymore! SMB Servers do not support multiple users on the same SMB Session. This means that if you need to connect to a share with a different user on the same NAS, this will not be allowed. You may need to umount the old share first. |
Expand | ||
---|---|---|
| ||
We reference here to the detailed description of the Department Biol: |
Expand | ||
---|---|---|
| ||
Generally, the date of recalculation is different for each share. It depends on the creation date. The clearing period is one year. However, each share owner can read the specific date in the IT Shop under 'My Products -> Storage'. The 'Valid To' indicates until when a share is paid and therefore also when the re-invoicing takes place. (see attachment) Usually the share owners can be found in the IT support of the department / institute (ISG).
In the ITShop the 'Valid To' field shows until when the use of the share has been paid. Will I get a refund if I find out after 3 months that my share is too big?
However, the share size can be adjusted at close to the end (directly after receipt of the mail and before the new billing for another year) or the share can be deleted without further cost consequences before billing. |
Expand | ||
---|---|---|
| ||
At ETH, data stores are subject to a fee. Therefore, new shares can only be ordered and defined by authorized persons. The order is processed via the ITShop. Billing is done for one year in advance, analogous to software licenses. Extensions are also invoiced directly via SAP in advance for the remaining annual term. Each billing of a share increase must be approved by the budget manager. If the approval is denied, the corresponding resizing has to be done by the purchaser, as he is best able to assess the situation regarding possible problems and to take appropriate measures in advance. At this point, a deadline can also be agreed with the storage services. |