Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Array size usage via the command line

Featured Replies

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

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%

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.