Difference between revisions of "Cannot write to home directory"

From Storrs HPC Wiki
Jump to: navigation, search
Line 1: Line 1:
Softwares will give you different types of error messages when you exceed the allowed space in your home directory.
+
Different software will give you different types of error messages when you exceed the allowed space in your home directory.
 
Most often they will complain about being unable to write.
 
Most often they will complain about being unable to write.
  
Some users have quotas set on their home directories. You can request HPC Administrators to check your home directory quota usage (if applicable) by sending a request to hpc@uconn.edu.
+
Here are three way to learn about how much space you are using in your home directory.
  
To find which directories and files are taking space, you can use the following options:
+
==myquota==
 +
Most users have a 300GB quota on their home directory.  Run ''myquota'' to see your current limit and how much you are using.  For example:
  
option 1: use the <code>du</code> command:
+
<pre>
 +
$ myquota
 +
Filesystem                Directory    Used    Limit
 +
Home  Quota:           /home/NETID  195.9G    300G
 +
</pre>
 +
 
 +
==du==
 +
You can use the standard Linux command ''du'' to see how much is stored in each directory.  Depending upon the size of your home directory, this could take a few minutes to complete
 +
<pre>
 
   du -hsc ~/*
 
   du -hsc ~/*
 +
</pre>
  
 
+
==ncdu==
option 2: use the <code>ncdu</code> command:
+
This is similar to the above, but it give you an interactive display of your file usage that you can explore using the keyboard
  module load ncdu
+
<pre>
  ncdu
+
  module load ncdu
 +
  ncdu
 +
</pre>
 
[[Category:Help]]
 
[[Category:Help]]

Revision as of 15:52, 17 July 2020

Different software will give you different types of error messages when you exceed the allowed space in your home directory. Most often they will complain about being unable to write.

Here are three way to learn about how much space you are using in your home directory.

myquota

Most users have a 300GB quota on their home directory. Run myquota to see your current limit and how much you are using. For example:

$ myquota
Filesystem                 Directory     Used    Limit
Home   Quota:            /home/NETID   195.9G     300G

du

You can use the standard Linux command du to see how much is stored in each directory. Depending upon the size of your home directory, this could take a few minutes to complete

  du -hsc ~/*

ncdu

This is similar to the above, but it give you an interactive display of your file usage that you can explore using the keyboard

   module load ncdu
   ncdu