Frequently Asked Questions: Difference between revisions

Jump to navigation Jump to search
Marked this version for translation
(Marked this version for translation)
Line 6: Line 6:
To reset your password for any Compute Canada national cluster, visit https://ccdb.computecanada.ca/security/forgot.  
To reset your password for any Compute Canada national cluster, visit https://ccdb.computecanada.ca/security/forgot.  


== Moving files across the project, scratch and home filesystems ==
== Moving files across the project, scratch and home filesystems == <!--T:40-->
On [[Cedar]] and [[Graham]], the scratch and home filesystems have quotas that are per-user, while the [[Project layout|project filesystem]] has quotas that are per-project. Because the underlying implementation of quotas on the [[Lustre]] filesystem  
On [[Cedar]] and [[Graham]], the scratch and home filesystems have quotas that are per-user, while the [[Project layout|project filesystem]] has quotas that are per-project. Because the underlying implementation of quotas on the [[Lustre]] filesystem  
is currently based on group ownership of files, it is important to ensure that the files have the right group. On the scratch and home filesystems, the correct group is typically the group with the same name as your username. On the project filesystem, group name should follow the pattern <tt>prefix-piusername</tt> where <tt>prefix</tt> is typically one of <tt>def</tt>, <tt>rrg</tt>, <tt>rpp</tt>.
is currently based on group ownership of files, it is important to ensure that the files have the right group. On the scratch and home filesystems, the correct group is typically the group with the same name as your username. On the project filesystem, group name should follow the pattern <tt>prefix-piusername</tt> where <tt>prefix</tt> is typically one of <tt>def</tt>, <tt>rrg</tt>, <tt>rpp</tt>.


=== Moving files between scratch and home filesystems ===
=== Moving files between scratch and home filesystems === <!--T:41-->
Since the quotas of these two filesystems are based on your personal group, you should be able to move files across the two using  
Since the quotas of these two filesystems are based on your personal group, you should be able to move files across the two using  
{{Command|mv $HOME/scratch/some_file $HOME/some_file}}
{{Command|mv $HOME/scratch/some_file $HOME/some_file}}


=== Moving files from scratch or home filesystems to project ===
=== Moving files from scratch or home filesystems to project === <!--T:42-->
If you want to move files from your scratch or home space into a project space, you '''should not''' use the <tt>mv</tt> command. Instead, we recommend using the <tt>rsync</tt> command with the following options :  
If you want to move files from your scratch or home space into a project space, you '''should not''' use the <tt>mv</tt> command. Instead, we recommend using the <tt>rsync</tt> command with the following options :  


<!--T:43-->
{{Command|rsync -axvpH --no-g --no-p  $HOME/scratch/some_directory $HOME/projects/<project>/some_other_directory}}
{{Command|rsync -axvpH --no-g --no-p  $HOME/scratch/some_directory $HOME/projects/<project>/some_other_directory}}


<!--T:44-->
It is very important to have the options <tt>--no-g</tt> and <tt>--no-p</tt> so that the files copied over to the project space have the correct group.  
It is very important to have the options <tt>--no-g</tt> and <tt>--no-p</tt> so that the files copied over to the project space have the correct group.  


<!--T:45-->
Once the files are correctly moved, you can then delete them from your scratch space.
Once the files are correctly moved, you can then delete them from your scratch space.


Bureaucrats, cc_docs_admin, cc_staff
2,879

edits

Navigation menu