User Tools

Site Tools


pub:forge:storage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pub:forge:storage [2019/04/09 13:41]
blspcy
pub:forge:storage [2022/05/06 20:15] (current)
Line 50: Line 50:
 I've now given Jon, who has access to the folder weaverjon in my leased volume, an upper limit of roughly 500GB of my 3TB space in his folder. I've now given Jon, who has access to the folder weaverjon in my leased volume, an upper limit of roughly 500GB of my 3TB space in his folder.
  
-     +===Size monitoring=== 
 + 
 +One of the important things you may find yourself doing is trying to find out how much space you are using. Since this is a shared volume monitoring how much of it you have left with df does not work. We strongly advise against using du to find out how much space is being used due to how read intensive this action can be. Fortunately there is a fast easy way for you to monitor how much space is being used in your volume. Due to the type of storage this is the ls utility will actually summarize how much space is under a particular folder. For this example I will use my fictional 3TB storage lease to demonstrate. 
 +     
 +    [blspcy@login-44-0 blspcy]$ pwd 
 +    /mnt/stor/ita/blspcy 
 +    [blspcy@login-44-0 blspcy]$ ls -alh 
 +    total 3.0K 
 +    drwxrwx---   6 blspcy   nic-cluster-admins 897G Apr  4 08:43 . 
 +    drwxr-xr-x   3 root     root               897G Dec 14 14:35 .. 
 +    drwxr-xr-x  14 root     root               586G Feb 11 08:08 mctdh84.13.1 
 +    drwxrwxr-x+  3 rlhaffer rlhaffer           235G Mar 14 11:27 rlhaffer 
 +    drwxrwxr-x   3 blspcy   blspcy              76G Apr  4 08:43 src 
 +    drwxrwxr-x+  2 blspcy   blspcy              258 Jan  4 11:50 weaverjon 
 +     
 +I see in the output of ls -alh that the directory I am in, and all directories under it are consuming around 897GB of space. I see that 586GB of that is in mctdh... 235GB of it is in rlhaffer 76GB of it is in src, and 258 bytes are in weaverjon.  
 + 
 +It is important to note, that while this is an easy way for you to get a quick breakdown of your storage space, and where it is being used, the number does not update immediately. For instance, I could navigate down a few folder levels into mctdh and remove several large files and come back up to find that the output of ls hasn't changed at this directory level yet. This change happens asynchronously on the file server, so it may take some time for the changes to be reflected in ls at the root level of your storage lease. 
 + 
 + 
 +    
  
pub/forge/storage.1554817283.txt.gz · Last modified: 2022/05/06 20:15 (external edit)