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.

Move From Cache to User Share Deletes File?

Featured Replies

I'll preface this by stating that I assume there's user error in my actions, and not a fault of unRAID.

 

All of my downloads go to the cache drive which is an SSD.  Mover is scheduled to run once a day and takes things from the cache drive to the array.  95% of the time this works as advertised.

 

Occasionally, I'll take a look at my cache and see there are a few lingering files that mover hasn't moved.  Not sure why, but I usually think, "okay, well I guess I can just move the files from /mnt/cache/movies to /mnt/user/movies.  When I go to do this it says I'll be overwriting what's already there.  Odd since it was listed as being on the cache and not on the array, but whatever.

 

I make the move and the files are no longer on the cache.  Good, that was my intention.  Now I go to my array drives and BAM!  Files are not there either.  They magically overwrite themselves and dissappear into the unknown abyss of the hidden hard drive black hole.

 

Any idea what's happening here with:

 

1. Why not all files are moved?

2. Why moving from /mnt/cache to /mnt/user actually deletes the file rather than move?

 

27 minutes ago, Living Legend said:

Why not all files are moved?

They're probably still in use at the time

27 minutes ago, Living Legend said:

Why moving from /mnt/cache to /mnt/user actually deletes the file rather than move?

Because at the underlying level  /mnt/cache is part of /mnt/user.  What you're actually doing is corrupting the file.  Search for user share copy bug (although its not a bug)

 

If you're going to manually move from /mnt/cache/movies to the array, you want to copy to /mnt/user0/movies as the cache drive is not part of the user0 mount point

Edited by Squid

  • Author
23 hours ago, Squid said:

 

They're probably still in use at the time

Because at the underlying level  /mnt/cache is part of /mnt/user.  What you're actually doing is corrupting the file.  Search for user share copy bug (although its not a bug)

 

If you're going to manually move from /mnt/cache/movies to the array, you want to copy to /mnt/user0/movies as the cache drive is not part of the user0 mount point

 

Ahh, very useful.

 

I'll have to look into the "still in use" response.  I can see this being the case for files being seeded, but I've had plenty of nzb downloads that for some reason seem to remain in limbo.

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.