May 27, 201412 yr What's the most reliable way to get the array size usage (in percent) via the command line, and has anyone wrapped that functionality into a cron job? I see that the following does do it, but is this the proper method: df -h | grep shfs
May 27, 201412 yr Use this: root@unraid:~# df -ht fuse.shfs Filesystem Size Used Avail Use% Mounted on shfs 31T 26T 4.6T 85% /mnt/user or this: root@unraid:~# df -h | awk '/shfs/{print $5}' 85%
May 28, 201412 yr Author Seems like in v6, I see the following /mnt/user0 and /mnt/user and v5 has /mnt/user and does not have user0. Judging by the size it looks like in v6 /mnt/user is space + parity and in v5 it's just space. Oh, I just found: /mnt/user0 is only present when there is a cache disk. It is a view of the user share file system that excludes the contents of the cache disk. It is used by the mover to copy files from the cache disk to the array, ie, /mnt/cache to /mnt/user0.
Archived
This topic is now archived and is closed to further replies.