Jump to content

New USB Registration, Cache Drive Disappears


Go to solution Solved by itimpi,

Recommended Posts

I just replaced my USB and everything was going well until I rebooted.  After rebooting, my cache drive (500gb SSD) has become an unassigned device.  However, even when I stop the array, I can't find the cache pool in Main.  When I click on Add Pool and try to add a cache pool, I get an error (Invalid pool name - do not use user share names) evidently a conflict.  I look in /mnt and cache does not exist.  I start the array and look in shares, no cache or appdata shares.  Searching through the syslog I see cache_dirs being established, but an error stating that included directory 'appdata' does not exist.

 

As a result, my Docker does not start, but if the cache and appdata shares don't load, that's why...

 

I've looked through the forums and can't find a problem like this.  Help me Obiwan!  ;)

 

Thanks in advance!

 

1st Syslog Appdata Reference (see attached diagnostics)

Feb 14 15:37:42 HunterNAS cache_dirs: Arguments=-i Dropbox -i FTP -i appdata -i archives -i homemovies -i movies -i music -i pictures -i tv -l off
Feb 14 15:37:42 HunterNAS cache_dirs: Max Scan Secs=10, Min Scan Secs=1
Feb 14 15:37:42 HunterNAS cache_dirs: Scan Type=adaptive
Feb 14 15:37:42 HunterNAS cache_dirs: Min Scan Depth=4
Feb 14 15:37:42 HunterNAS cache_dirs: Max Scan Depth=none
Feb 14 15:37:42 HunterNAS cache_dirs: Use Command='find -noleaf'
Feb 14 15:37:42 HunterNAS cache_dirs: ---------- Caching Directories ---------------
Feb 14 15:37:42 HunterNAS cache_dirs: D..x
Feb 14 15:37:42 HunterNAS cache_dirs: F..P
Feb 14 15:37:42 HunterNAS cache_dirs: a..s
Feb 14 15:37:42 HunterNAS cache_dirs: h..s
Feb 14 15:37:42 HunterNAS cache_dirs: m..s
Feb 14 15:37:42 HunterNAS cache_dirs: m..c
Feb 14 15:37:42 HunterNAS cache_dirs: p..s
Feb 14 15:37:42 HunterNAS cache_dirs: t..v
Feb 14 15:37:42 HunterNAS cache_dirs: ----------------------------------------------
Feb 14 15:37:42 HunterNAS cache_dirs: Setting Included dirs: Dropbox,FTP,appdata,archives,homemovies,movies,music,pictures,tv
Feb 14 15:37:42 HunterNAS cache_dirs: Setting Excluded dirs: 
Feb 14 15:37:42 HunterNAS cache_dirs: min_disk_idle_before_restarting_scan_sec=60
Feb 14 15:37:42 HunterNAS cache_dirs: scan_timeout_sec_idle=150
Feb 14 15:37:42 HunterNAS cache_dirs: scan_timeout_sec_busy=30
Feb 14 15:37:42 HunterNAS cache_dirs: scan_timeout_sec_stable=30
Feb 14 15:37:42 HunterNAS cache_dirs: frequency_of_full_depth_scan_sec=604800
Feb 14 15:37:42 HunterNAS cache_dirs: ERROR: included directory 'appdata' does not exist.
Feb 14 15:37:42 HunterNAS cache_dirs: cache_dirs service rc.cachedirs: Started: '/usr/local/emhttp/plugins/dynamix.cache.dirs/scripts/cache_dirs -i "Dropbox" -i "FTP" -i "appdata" -i "archives" -i "homemovies" -i "movies" -i "music" -i "pictures" -i "tv" -l off 2>/dev/null'

 

I've not seen any posts in the forum that sound like this...

 

Additional info...

If I look in the config/shares directory of the flash drive (/mnt/flash share on the server), I see the cache.cfg and the appdata.cfg

 

Cache.cfg

# Generated settings:
shareComment=""
shareInclude=""
shareExclude=""
shareUseCache="only"
shareCOW="auto"
shareAllocator="highwater"
shareSplitLevel=""
shareFloor="0"
shareExport="e"
shareSecurity="public"
shareReadList=""
shareWriteList=""
shareExportNFS="-"
shareExportNFSFsid="0"
shareSecurityNFS="public"
shareHostListNFS=""
shareExportAFP="-"
shareSecurityAFP="public"
shareReadListAFP=""
shareWriteListAFP=""
shareVolsizelimitAFP=""
shareVoldbpathAFP=""

 

appdata.cfg

# Generated settings:
shareComment=""
shareInclude=""
shareExclude=""
shareUseCache="only"
shareCOW="auto"
shareAllocator="highwater"
shareSplitLevel=""
shareFloor="0"
shareExport="e"
shareFruit="no"
shareSecurity="public"
shareReadList=""
shareWriteList=""
shareExportNFS="-"
shareExportNFSFsid="0"
shareSecurityNFS="public"
shareHostListNFS=""
shareExportAFP="-"
shareSecurityAFP="public"
shareReadListAFP=""
shareWriteListAFP=""
shareVolsizelimitAFP=""
shareVoldbpathAFP=""

 

My Current Docker.cfg (that worked) - mnt/cache and mnt/user/appdata do not exist in the /mnt directory.

DOCKER_ENABLED="yes"
DOCKER_IMAGE_FILE="/mnt/cache/docker.img"
DOCKER_IMAGE_SIZE="20"
DOCKER_APP_CONFIG_PATH="/mnt/user/appdata/"
DOCKER_APP_UNRAID_PATH=""
DOCKER_OPTS="--storage-driver=btrfs"
DOCKER_AUTHORING_MODE="no"
DOCKER_LOG_ROTATION="no"
DOCKER_LOG_SIZE="10m"
DOCKER_LOG_FILES="1"
DOCKER_USER_NETWORKS="remove"
DOCKER_CUSTOM_NETWORKS=" "



Server Diagnostics attached.

 

 

hunternas-diagnostics-20230214-1559.zip

Link to comment
  • Solution

You seem to have at some point created a User Share called 'Cache' which is the cause of your problem and is why the system will not let you create a pool called 'Cache'.    The cache.cfg file you posted is that for a User Share - not that for a pool.  Since this share does not exist on any drive at the moment you can delete the config/shares/cache.cfg file from the flash drive and then the system would let you create a pool called cache.

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