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.

whichdisk - a tool to tell you on which disk your file is located

Featured Replies

Occasionally, I need to know the actual disk a file is located on the share. This can be a pain having to check the location for every disk. So I wrote a script and thought I'd share it. Change the extension to sh and put it somewhere on your UnRAID system. I keep mine on the boot drive.

 

I recommend adding an alias to run this script. For example:

 

alias -p whichdisk=/boot/whichdisk.sh

 

Typing the above command in the shell will let you run the "whichdisk" command from any location.

 

Usage:

whichdisk /mnt/user/myshare/myfile.txt

 

Returns:

It exists at /mnt/disk3/myshare/myfile.txt

 

EDIT: Just a note about this. It searches disks 1-30, since UnRAID can have at most 30 drives in the array. There isn't really a way to enumerate the number of drives to future proof this script, or at least I haven't found one. So, should UnRAID change the maximum number of disks in the array, then this script would need a small update. It should be simple enough for the user to do this themselves; just open the script and change "30" to whatever the new maximum would be.

whichdisk.txt

If you browse via the Shares tab, then unRAID will show exactly which disk(s) any folder/file resides on. 

  • Author

If you browse via the Shares tab, then unRAID will show exactly which disk(s) any folder/file resides on.

 

Ah, thanks, good to know. Wish I had known that earlier. Still, it's a good option if you find yourself in the CL.

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.