Storage and file management: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 36: Line 36:


<!--T:24-->
<!--T:24-->
While the command '''diskusage_report''' gives the space and inode usage per user on ''home'' and ''scratch'', it shows the total quota of the group on project. It includes all the files from each member of the group. Since the files that belong to a user could be all over the place under project, it is difficult to get a break down per user and per given project in case a user has access to more than one project. However, a user can get an estimation of his space and inode usage on the entire project file system by running the command:
While the command '''diskusage_report''' gives the space and inode usage per user on ''home'' and ''scratch'', it shows the total quota of the group on project. It includes all the files from each member of the group. Since the files that belong to a user could however be anywhere in the project space, it is difficult to obtain correct figures per user and per given project in case a user has access to more than one project. However, users can obtain an estimate of their space and inode use on the entire project space by running the command,


<code>lfs quota -u $USER /project</code>
<code>lfs quota -u $USER /project</code>


In addition to that, a user could estimates the number of files on a given directory using the command <code>lfs find</code>. For examplle:
In addition to that, users can obtain an estimate for the number of files in a given directory (and its sub-directories) using the command <code>lfs find</code>, e.g.
<source lang="console">
<source lang="console">
lfs find <path to the directory> -type f | wc -l
lfs find <path to the directory> -type f | wc -l
Bureaucrats, cc_docs_admin, cc_staff
2,306

edits

Navigation menu