[6.9.2] Mover ignoring disk allocation method


Recommended Posts

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

Link to comment

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

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.