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.

[6.9.2] Mover ignoring disk allocation method

Featured Replies

Hi

 

I've been having a weird issue lately, it seems when mover runs it insists on sticking all my files to disk1

even with the following share settings

image.png.fb25532c9512580685b53a41a52b63f6.png

image.thumb.png.9c20cf41eb7516be5f7dde7ae73401e6.png

 

only yesterday I invoked mover and it decided to stuff about 32G worth of files into disk1 when the high water allocation should move them to disk5

But moving files from my cache disk to user0 manually using mc or mv command moves the files correctly.

 

Any ideas where I've got it configured wrong?

 

 

mediastore-diagnostics-20210703-0643.zip

  • Author

Anybody?

I took a look before and config wise everything looks good to be, also strange that using user0 works correctly, that's what the mover used before, no idea what it could be.

  • Author

Can anyone take a look - Its really getting annoying - my only work around now is to either exclude Disk1 or manually migrate stuff off Disk1 :P

  • Author

Hmm. I haven't observed it with any other shares as this is the most used one (and its the only share on Disk1 right now)

 

Maybe that share's config file is somehow damaged, corrupted ?

 

You could try to recreate the file and see if that helps ?

  • Author

Pretty sure the share config is okay since I've tested changing the min free space, which should have caused the config to be rewritten.

Weekend's coming up so I can probably do a few more tests

  • Author

So I broke down the mover script
and determined the following command for my dir structure

/mnt/cache/Media/Anime/I/Inuyasha Kanketsuhen/*.mkv

mover would construct the follwing command

find /mnt/cache/Media/Anime -depth | move

I manually ran this command for more debugging

find /mnt/cache/Media/Anime -depth | move -d 2

but only got the following lines in the log

Jul  9 22:09:15 MediaStore move: debug: move: exclude ffffffffffffffff
Jul  9 22:09:15 MediaStore move: debug: move: real_path: /mnt/cache/Media/Anime/I/Inuyasha Kanketsuhen/[Raizel] Inuyasha Kanketsuhen - EP01 [BD 720p 10Bit AAC][05C1EB14].mkv
Jul  9 22:09:15 MediaStore move: move: file /mnt/cache/Media/Anime/I/Inuyasha Kanketsuhen/[Raizel] Inuyasha Kanketsuhen - EP01 [BD 720p 10Bit AAC][05C1EB14].mkv
Jul  9 22:09:15 MediaStore move: debug: create_parent: exclude 1 real_path /mnt/cache/Media/Anime/I/Inuyasha Kanketsuhen
Jul  9 22:09:15 MediaStore move: debug: move: real_path: /mnt/cache/Media/Anime/I/Inuyasha Kanketsuhen/[Raizel] Inuyasha Kanketsuhen - EP02 [BD 720p 10Bit AAC][D57FDB5D].mkv
Jul  9 22:09:15 MediaStore move: move: file /mnt/cache/Media/Anime/I/Inuyasha Kanketsuhen/[Raizel] Inuyasha Kanketsuhen - EP02 [BD 720p 10Bit AAC][D57FDB5D].mkv
...
Jul  9 22:11:39 MediaStore move: debug: move: real_path: /mnt/cache/Media/Anime/I/Inuyasha Kanketsuhen
Jul  9 22:11:39 MediaStore move: debug: create_parent: exclude 1 real_path /mnt/cache/Media/Anime/I
Jul  9 22:11:39 MediaStore move: debug: move: real_path: /mnt/cache/Media/Anime/I
Jul  9 22:11:39 MediaStore move: debug: create_parent: exclude 1 real_path /mnt/cache/Media/Anime
Jul  9 22:11:39 MediaStore move: debug: move: real_path: /mnt/cache/Media/Anime
Jul  9 22:11:39 MediaStore move: debug: create_parent: exclude 1 real_path /mnt/cache/Media

 

Which doesn't tell us much, but when I check disk1 the entire directory has been moved there.

So I moved it back to cache disk and manually copy it over using mc to move from cache-> user0
and the files end up in disk5 (most free space) as directed by the High water setting
 

I'm starting to think there might be a bug in the move binary logic ...

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...

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.