I forgot to add the mailing list in cc.

De : LEIBOVICI Thomas 601315
Envoyé : mardi 21 septembre 2021 17:34
À : 'Nathan Gregg - NOAA Affiliate'
Cc : Adam Dorsey - NOAA Affiliate
Objet : RE: [robinhood-support] Robinhood Reports Inconsistency?

Dear Nathan,

By default top-users is sorted by size. The addressed need here is to check the 
total size of data that is used by a given user. Symlinks and dir are not 
counted as they are only metadata (i.e. they only consume space on MDTs).
One could say we could sort on spc_used for that instead. However, it would not 
take into account files that are managed by HSM (released). Hence the choice of 
sorting on size. This way one can have an overview of the total occupied space 
in both Lustre+HSM.

Note that if you are interested on the number of entries rather than their 
size, you run --top-user --by-count.

I hope that helps,
Thomas

De : Nathan Gregg - NOAA Affiliate via robinhood-support 
[mailto:robinhood-support@lists.sourceforge.net]
Envoyé : mardi 21 septembre 2021 16:51
À : robinhood-support@lists.sourceforge.net
Cc : Adam Dorsey - NOAA Affiliate
Objet : [robinhood-support] Robinhood Reports Inconsistency?

Hello All,

We are looking to move towards using Robhinhood reports more extensively in our 
environment.  However, we have noticed an inconsistency when using the 
`--top-users` options.  It appears the `--top-users` option count field only 
takes into account file counts and not dir and symlink which we think should be 
included.  See the following for an simple example:

# rbh-report --user-info --filter-class=test
filter class: test
      user,     type,      count,     volume,   spc_used,   min_size,   
max_size,   avg_size
Test.User,  symlink,          4,         37,          0,          4,         
15,          9
Test.User,      dir,         12,   48.00 KB,   48.00 KB,    4.00 KB,    4.00 
KB,    4.00 KB
Test.User,     file,         16,    8.38 GB,    8.38 GB,          0,  953.67 
MB,  536.44 MB

Total: 32 entries, volume: 9000051522 bytes (8.38 GB), space used: 9000284160 
bytes (8.38 GB)

# rbh-report --top-users=1000 --filter-class=test
filter class:test
rank,       user,     volume,   spc_used,      count,   min_size,   max_size,   
avg_size
   1, Test.User,    8.38 GB,    8.38 GB,         16,          0,  953.67 MB,  
536.44 MB


As you can see, the total count on the `--top-users` report is missing the 
`symlink` and `dir` counts.  If possible, we would like to see the 
`--top-users` report include the true total of inodes used so it would match up 
inode quotas we have set up on the file system.

Is this possible, or am I looking at something wrong?

Thanks in advance for the support.

Nate

_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to