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.

How to determine if a cache drive is installed..

Featured Replies

I just added a cache drive to my system and I'd like to update Brainbone's unraid notify script to report the cache drive status as well.

Brianbone's script parses the /proc/mdcmd to get the disk list.  The cache drive isn't in there.  Now I can probably hard code my cache drive, but I was hoping for something a bit more generic.

 

Any thoughts??  I'm sure it's probably easy.. but I'm not an expert with the internals of UnRaid

 

Thanks,

 

Jim

Run the "mount" command.  If a cache drive is installed, you will see a row like this ...

 

/dev/sdg1 on /mnt/cache type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)

 

With the device (e.g., /dev/sdg), you will be able to find any other drive info you might need.

  • Author

Yeah that will work to get me the device..  But what aobut other info about the disk? 

proc mdcmd list's the disk Id and such which is used in the report.

diskId.2=ata-Maxtor_7B300S0_B61TLVLH

Will I have to get that info from parsing hdparm -I ?

 

Jim

 

Run the command ...

 

ls -l /dev/disk/by-id

 

It will give model info for each device.

 

(I am answering these questions by rummaging though unMENU code written by Joe L.)

  • 2 weeks later...
  • Author

Thanks!  I already wrote the hdparm parsing code before you sent this!  Maybe I should look more at the unmenu code!  I want to try to include a space free in the unraid notify script!

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.