Mover starts when stop array


Recommended Posts

This morning I stopped my array, but it first started to move all data from my cache pool before stopping the array.
I know that the mover has nothing to do with a parity check, but after the reboot as part of the update, the array stops, but the system is not shutdown correctly (probably cause some processes are killed during the reboot, cause not all umounts are done in time. So after the reboot the system does a parity check.

 

Here is part of the syslog after I initiated the array to stop.

May 11 07:13:22 Optimus root: stopping dockerd ...
May 11 07:13:23 Optimus root: waiting for docker to die ...
May 11 07:13:24 Optimus emhttpd: shcmd (5052298): umount /var/lib/docker
May 11 07:13:26 Optimus cache_dirs: Stopping cache_dirs process 19517
May 11 07:13:27 Optimus cache_dirs: cache_dirs service rc.cachedirs: Stopped
May 11 07:13:27 Optimus unassigned.devices: Unmounting All Devices...
May 11 07:13:27 Optimus emhttpd: shcmd (5052299): /etc/rc.d/rc.samba stop
May 11 07:13:27 Optimus emhttpd: shcmd (5052300): rm -f /etc/avahi/services/smb.service
May 11 07:13:27 Optimus emhttpd: Stopping mover...
May 11 07:13:27 Optimus emhttpd: shcmd (5052302): /usr/local/sbin/mover stop
May 11 07:13:27 Optimus root: mover: started
May 11 07:13:27 Optimus move: move: file /mnt/download_pool/downloads/complete/file1.mkv
May 11 07:13:28 Optimus move: move: file /mnt/download_pool/downloads/complete/file2.mkv
May 11 07:13:29 Optimus move: move: file /mnt/download_pool/downloads/complete/file.mkv
...
May 11 08:04:47 Optimus move: move: file /mnt/download_pool/downloads/incomplete/file899
May 11 08:04:47 Optimus move: move: file /mnt/download_pool/downloads/incomplete/file900
May 11 08:04:47 Optimus root: mover: finished
May 11 08:04:47 Optimus emhttpd: Sync filesystems...
May 11 08:04:47 Optimus emhttpd: shcmd (5052303): sync
May 11 08:06:05 Optimus emhttpd: spinning down /dev/sdc
May 11 08:06:06 Optimus emhttpd: shcmd (5052305): umount /mnt/user0
May 11 08:06:06 Optimus emhttpd: shcmd (5052306): rmdir /mnt/user0
May 11 08:06:06 Optimus emhttpd: shcmd (5052307): umount /mnt/user
May 11 08:06:06 Optimus emhttpd: shcmd (5052308): rmdir /mnt/user
May 11 08:06:06 Optimus emhttpd: shcmd (5052310): /usr/local/sbin/update_cron
May 11 08:06:06 Optimus emhttpd: Unmounting disks...
May 11 08:06:06 Optimus emhttpd: shcmd (5052311): umount /mnt/disk1
May 11 08:06:06 Optimus kernel: XFS (md1): Unmounting Filesystem
May 11 08:06:06 Optimus emhttpd: shcmd (5052312): rmdir /mnt/disk1
May 11 08:06:06 Optimus emhttpd: shcmd (5052313): umount /mnt/disk2
May 11 08:06:07 Optimus kernel: XFS (md2): Unmounting Filesystem
May 11 08:06:07 Optimus emhttpd: shcmd (5052314): rmdir /mnt/disk2
May 11 08:06:07 Optimus emhttpd: shcmd (5052315): umount /mnt/disk3
May 11 08:06:07 Optimus kernel: XFS (md3): Unmounting Filesystem
May 11 08:06:08 Optimus emhttpd: shcmd (5052316): rmdir /mnt/disk3
May 11 08:06:08 Optimus emhttpd: shcmd (5052317): umount /mnt/disk4
May 11 08:06:08 Optimus kernel: XFS (md4): Unmounting Filesystem
May 11 08:06:08 Optimus emhttpd: shcmd (5052318): rmdir /mnt/disk4
May 11 08:06:08 Optimus emhttpd: shcmd (5052319): umount /mnt/disk5
May 11 08:06:09 Optimus kernel: XFS (md5): Unmounting Filesystem
May 11 08:06:09 Optimus emhttpd: shcmd (5052320): rmdir /mnt/disk5
May 11 08:06:09 Optimus emhttpd: shcmd (5052321): umount /mnt/disk6
May 11 08:06:09 Optimus kernel: XFS (md6): Unmounting Filesystem
May 11 08:06:13 Optimus emhttpd: shcmd (5052322): rmdir /mnt/disk6
May 11 08:06:13 Optimus emhttpd: shcmd (5052323): umount /mnt/disk7
May 11 08:06:13 Optimus kernel: XFS (md7): Unmounting Filesystem
May 11 08:06:14 Optimus emhttpd: shcmd (5052324): rmdir /mnt/disk7
May 11 08:06:14 Optimus emhttpd: shcmd (5052325): umount /mnt/disk8
May 11 08:06:14 Optimus kernel: XFS (md8): Unmounting Filesystem
May 11 08:06:14 Optimus emhttpd: shcmd (5052326): rmdir /mnt/disk8
May 11 08:06:14 Optimus emhttpd: shcmd (5052327): umount /mnt/disk9
May 11 08:06:18 Optimus kernel: XFS (md9): Unmounting Filesystem
May 11 08:06:18 Optimus emhttpd: shcmd (5052328): rmdir /mnt/disk9
May 11 08:06:18 Optimus emhttpd: shcmd (5052329): umount /mnt/cache_pool
May 11 08:06:19 Optimus emhttpd: shcmd (5052330): rmdir /mnt/cache_pool
May 11 08:06:19 Optimus emhttpd: shcmd (5052331): umount /mnt/download_pool
May 11 08:06:19 Optimus root: umount: /mnt/download_pool: target is busy.
May 11 08:06:19 Optimus emhttpd: shcmd (5052331): exit status: 32
May 11 08:06:19 Optimus emhttpd: Retry unmounting disk share(s)...
May 11 08:06:24 Optimus emhttpd: Unmounting disks...
May 11 08:06:24 Optimus emhttpd: shcmd (5052332): umount /mnt/download_pool
May 11 08:06:24 Optimus root: umount: /mnt/download_pool: target is busy.
May 11 08:06:24 Optimus emhttpd: shcmd (5052332): exit status: 32
May 11 08:06:24 Optimus emhttpd: Retry unmounting disk share(s)...
May 11 08:06:29 Optimus emhttpd: Unmounting disks...
May 11 08:06:29 Optimus emhttpd: shcmd (5052333): umount /mnt/download_pool
...
May 11 08:09:15 Optimus emhttpd: Unmounting disks...
May 11 08:09:15 Optimus emhttpd: shcmd (5052366): umount /mnt/download_pool
May 11 08:09:15 Optimus emhttpd: shcmd (5052367): rmdir /mnt/download_pool
May 11 08:09:15 Optimus emhttpd: read SMART /dev/sdc
May 11 08:09:15 Optimus root: Stopping diskload
May 11 08:09:15 Optimus kernel: mdcmd (47): stop 
May 11 08:09:15 Optimus kernel: md1: stopping
May 11 08:09:15 Optimus kernel: md2: stopping
May 11 08:09:15 Optimus kernel: md3: stopping
May 11 08:09:15 Optimus kernel: md4: stopping
May 11 08:09:15 Optimus kernel: md5: stopping
May 11 08:09:15 Optimus kernel: md6: stopping
May 11 08:09:15 Optimus kernel: md7: stopping
May 11 08:09:15 Optimus kernel: md8: stopping
May 11 08:09:15 Optimus kernel: md9: stopping

(Don't mind the filenames, they are fictional)

Edited by capino
adding additional log lines
Link to comment
On 5/12/2021 at 10:48 AM, capino said:

Thanks for the reply's.
I disabled the mover tuning plugin and stopping the array went within minutes.

 

Problem is resolved for now

New release posted.  If you run install the plug-in again please let me know if you run into any issues.

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.