Jump to content

Cache Function - Unraid v5 vs v6


PeterNet

Recommended Posts

It's not showing up because the cache drive won't mount.  

Sep 12 21:27:40 Tower emhttpd: cache TotDevices: 2
Sep 12 21:27:40 Tower emhttpd: cache NumDevices: 1
Sep 12 21:27:40 Tower emhttpd: cache NumFound: 1
Sep 12 21:27:40 Tower emhttpd: cache NumMissing: 1
Sep 12 21:27:40 Tower emhttpd: cache NumMisplaced: 0
Sep 12 21:27:40 Tower emhttpd: cache NumExtra: 0
Sep 12 21:27:40 Tower emhttpd: cache LuksState: 0
Sep 12 21:27:40 Tower emhttpd: shcmd (35): mount -t btrfs -o noatime,nodiratime,degraded -U d8be6f35-ac46-47dc-a436-08b47efeb1e5 /mnt/cache
Sep 12 21:27:40 Tower kernel: BTRFS info (device sdb1): allowing degraded mounts
Sep 12 21:27:40 Tower kernel: BTRFS info (device sdb1): disk space caching is enabled
Sep 12 21:27:40 Tower kernel: BTRFS info (device sdb1): has skinny extents
Sep 12 21:27:40 Tower kernel: BTRFS warning (device sdb1): devid 1 uuid e6e2a765-5a51-4852-8f25-ad8b47d3de4b is missing
### [PREVIOUS LINE REPEATED 1 TIMES] ###
Sep 12 21:27:40 Tower kernel: BTRFS warning (device sdb1): chunk 4384096256 missing 1 devices, max tolerance is 0 for writeable mount
Sep 12 21:27:40 Tower kernel: BTRFS warning (device sdb1): writeable mount is not allowed due to too many missing devices
Sep 12 21:27:40 Tower root: mount: /mnt/cache: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.

 

  • Like 1
Link to comment

You still have no /mnt/user0 which would be expected if cache were participating in user shares.

 

Try editing config/shares.cfg on flash drive. Change this

shareCacheEnabled="no"

to this

shareCacheEnabled="yes"

You might be able to make this edit from command line or in mc with the server still running and then just stop and start the array to get it to take effect.

  • Thanks 1
Link to comment
8 hours ago, trurl said:

You still have no /mnt/user0 which would be expected if cache were participating in user shares.

 

Try editing config/shares.cfg on flash drive. Change this


shareCacheEnabled="no"

to this


shareCacheEnabled="yes"

You might be able to make this edit from command line or in mc with the server still running and then just stop and start the array to get it to take effect.

Aww, now it worked!

The files are first stored in the cache drive.

Activating Mover will then move the files to HDD array.

Perfect!!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...