Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
disk:disksusage [2021/03/24 11:29] urgias |
disk:disksusage [2023/05/19 10:10] (current) zanello |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== SISSA's Computing FAQ: Space disks usage====== | ====== SISSA's Computing FAQ: Space disks usage====== | ||
- | **<color teal>This page is reserved to the users who have an account on SISSA and use:</color>**\\ | + | This page is reserved to the users who have an account on SISSA and use: |
- | * **<color teal>a linux workstation at Santorio </color> **or | + | |
- | * **<color teal>an ssh connection</color> on a linux workstation or ssh.sissa.it**.\\ | + | * a **linux workstation** at Santorio; |
- | * About the HPC cluster please refer to the [[services:computing:hpc|High Performance Computing: Ulysses v2]] page. | + | * an **ssh connection** on a linux workstation; |
+ | * an **sftp connection** on **sftp.sissa.it**; | ||
+ | * an [[services:computing:hpc|HPC access]]. | ||
\\ | \\ | ||
- | ===== YOUR MAIN DIRECTORY (home) ===== | + | ===== HOME directory ===== |
- | ==== Your main directory (home) on SISSA: ==== | + | ==== Your HOME directory in SISSA: ==== |
- | After login (when your username and password are accepted) you have access to your main directory (home): \\ | + | After login (when your username and password are accepted) you have access to your HOME directory: \\ |
- | **/u///your_surname_initial/your_username//** For example:// /u/a/atena // \\ | + | **/u///username_initial/username//** (e.g., ///u/a/atena//) \\ |
- | If you change your working directory, you can return to your main directory using the **cd** command without any additional option or name.\\ | + | |
- | You can use the **pwd** command to view which is your main directory (the **pwd** command prints the path of your working directory, the directory where you are currently in).\\ | + | |
+ | If you change your working directory, you can return to your HOME directory using the **cd** command without any additional option or name.\\ | ||
+ | You can use the **pwd** command to view which is your HOME directory (the **pwd** command prints the path of your working directory, the directory where you are currently in).\\ | ||
- | == Your main directory: == | + | |
+ | == Your HOME directory: == | ||
* is regularly saved ( " backed up " ); | * is regularly saved ( " backed up " ); | ||
- | \\ | ||
* **has a space limit**: each user has 50GB of disk space; | * **has a space limit**: each user has 50GB of disk space; | ||
- | \\ | + | * is reachable from outside SISSA using the **sftp** protocol on **sftp.sissa.it** (e.g.: ''ssh //username//@sftp.sissa.it''); |
- | * is reachable from outside SISSA using the **ssh** command (a Secure Shell remote terminal connection) on **//ssh.sissa.it//** (for example: // ssh //ssh.sissa.it//// ); | + | * is also reachable from outside SISSA using a [[services:network:internal:vpnclient|VPN connection]] on your workstation. Your workstation name is: <hostname>.<area_name>.sissa.it (e.g.: host.phys.sissa.it or host.maths.sissa.it); |
- | \\ | + | * is reachable from inside SISSA using a CIFS/SAMBA connection: **\\nas-users.sissa.it\USERNAME** or **[[smb://]]nas-users.sissa.it///USERNAME//** |
- | * is also reachable from outside SISSA using a [[services:network:vpnclient|VPN connection]] on your workstation. Your workstation name is: <hostname>/<area_name>.sissa.it (for example: host.phys.sissa.it or host.maths.sissa.it); | + | |
- | \\ | + | |
- | * SAMBA connection: <code>smb://nas-users.sissa.it/USERNAME</code> | + | |
- | \\ | + | |
\\ | \\ | ||
---- | ---- | ||
- | Using the **//SFTP service//**, the path of your main directory (home) is a bit different. For more information, please read the section on [[on-line_resources:faq:server-ssh-sftp#SFTP access: sftp.sissa.it|SFTP access: sftp.sissa.it]] of the [[on-line_resources:faq:server-ssh-sftp|Common Access server]]. | + | Using the **//SFTP service//**, the path of your HOME directory is a bit different. For more information, please read the section on [[on-line_resources:faq:server-ssh-sftp#SFTP access: sftp.sissa.it|SFTP access: sftp.sissa.it]] of the [[on-line_resources:faq:server-ssh-sftp|Common Access server]]. |
==== Backup (snapshot) ==== | ==== Backup (snapshot) ==== | ||
- | Your home directory is automatically backed up, and all recent backups are now freely accessible for reading. | + | Your HOME directory is automatically backed up, and all recent backups are now freely accessible for reading. |
To look for a previous version of a file, simply go via terminal or by forcing the location to the file manager to the subdirectory .snapshot. | To look for a previous version of a file, simply go via terminal or by forcing the location to the file manager to the subdirectory .snapshot. | ||
Line 48: | Line 46: | ||
Usually you can find 6 backups at different hours for the last day, one week of daily backups, and some older backups up to a couple of weeks. Older backups are available via a special helpdesk request and can take some time to get your data. | Usually you can find 6 backups at different hours for the last day, one week of daily backups, and some older backups up to a couple of weeks. Older backups are available via a special helpdesk request and can take some time to get your data. | ||
- | On a windows client, all you need is to right click on the file, select **Properties** and then the **Previous versions** tab. From there you can restore the file to its original content. | + | On a Windows client, all you need is to right click on the file, select **Properties** and then the **Previous versions** tab. From there you can restore the file to its original content. |
---- | ---- | ||
---- | ---- | ||
- | ===== Useful COMMANDS to CLEAN YOUR AREA ===== | + | ===== Useful commands to CLEAN your area ===== |
==== Check files and directory sizes ==== | ==== Check files and directory sizes ==== | ||
- | To see how many blocks are used by your directories and files (start first from your main directory): | + | To see how many blocks are used by your directories and files (start first from your HOME directory): |
* including only normal directories and files: **du -sk * ** | * including only normal directories and files: **du -sk * ** | ||
* including also hidden directories and files: **du -sk .[a-z]* ** | * including also hidden directories and files: **du -sk .[a-z]* ** | ||
Line 74: | Line 73: | ||
**cd //subdirectoryname//** \\ | **cd //subdirectoryname//** \\ | ||
- | To return in you main directory use **cd **\\ | + | To return in you HOME directory use **cd **\\ |
\\ | \\ | ||
=== Remove files === | === Remove files === | ||
Line 83: | Line 82: | ||
To remove a file: **rm //filename//**\\ | To remove a file: **rm //filename//**\\ | ||
To remove files which start with //omega//:// ls omega//<html>   </html> then, ONLY if you are sure: //rm omega*// \\ | To remove files which start with //omega//:// ls omega//<html>   </html> then, ONLY if you are sure: //rm omega*// \\ | ||
- | If you are very sure about the files you wish to remove, you can use " **-f** " option to remove all files in a directory without prompting confirmation before removing any files. For example: //rm -f omega*// | + | If you are very sure about the files you wish to remove, you can use " **-f** " option to remove all files in a directory without prompting confirmation before removing any files. E.g.: //rm -f omega*// |
---- | ---- | ||
Line 89: | Line 88: | ||
- | ===== SCRATCH AREAS ===== | + | ===== SCRATCH areas ===== |