Jump to content

foux

Members
  • Posts

    26
  • Joined

  • Last visited

Posts posted by foux

  1. 3 minutes ago, hugenbdd said:

    Was this second run working?  I believe there is a bug on the first run of Mover after installing.  Second and following times it should work.

    No, no runs worked (done a few ones)

     

    The subsequent runs have way less errors, but still doesn't move anything : 

     

    15:04:01 with root in /mnt/ssd_pool/medias at Vili …
    ➜ tail -f /var/log/syslog | grep "move:"
    Jun 16 15:04:15 Vili move: Log Level: 1
    Jun 16 15:04:15 Vili move: mover: started
    Jun 16 15:04:20 Vili move: cat: /tmp/Mover/Hard_Mover_Tuning_2023-06-16T150415.list: No such file or directory
    Jun 16 15:04:23 Vili move: mover: finished
    Jun 16 15:04:23 Vili move: removed '/mnt/user/tools/mover-ignore.txt'

     

    And the hard mover tuning file indeed doesn't exists in the folder : 

     

    15:06:40 with root in /mnt/ssd_pool/medias at Vili took 2m 35.6s …
    ➜ ls -ltr /tmp/Mover
    total 2416
    -rw-r--r-- 1 root root 244944 Jun 16 15:00 Mover_Tuning_2023-06-16T145957.list
    -rw-r--r-- 1 root root  18350 Jun 16 15:00 Custom_Mover_Tuning_2023-06-16T145957.list
    -rw-r--r-- 1 root root 228495 Jun 16 15:00 Custom_Mover_Directory_2023-06-16T145957.list
    -rw-r--r-- 1 root root      0 Jun 16 15:00 Cache_Tuning_2023-06-16T145957.list
    -rw-r--r-- 1 root root      0 Jun 16 15:00 Custom_Cache_Tuning_2023-06-16T145957.list
    -rw-r--r-- 1 root root 736823 Jun 16 15:00 Mover_Tuning_2023-06-16T145957.log
    -rw-r--r-- 1 root root 246008 Jun 16 15:04 Mover_Tuning_2023-06-16T150415.list
    -rw-r--r-- 1 root root  18712 Jun 16 15:04 Custom_Mover_Tuning_2023-06-16T150415.list
    -rw-r--r-- 1 root root 229235 Jun 16 15:04 Custom_Mover_Directory_2023-06-16T150415.list
    -rw-r--r-- 1 root root      0 Jun 16 15:04 Cache_Tuning_2023-06-16T150415.list
    -rw-r--r-- 1 root root      0 Jun 16 15:04 Custom_Cache_Tuning_2023-06-16T150415.list
    -rw-r--r-- 1 root root 740502 Jun 16 15:04 Mover_Tuning_2023-06-16T150415.log

     

  2. Here are the logs and content of the folder, after a fresh run after deleting /tmp/Mover (before running of course) : 

     

    14:59:36 with root in /mnt/ssd_pool/medias at Vili …
    ➜ tail -f /var/log/syslog | grep "move:"
    Jun 16 14:59:57 Vili move: Log Level: 1
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T145957.log: No such file or directory
    Jun 16 14:59:57 Vili move: mover: started
    Jun 16 14:59:57 Vili move: find: '/tmp/Mover/*': No such file or directory
    Jun 16 14:59:57 Vili move: find: '/tmp/Mover/*': No such file or directory
    Jun 16 15:00:03 Vili move: cat: /tmp/Mover/Hard_Mover_Tuning_2023-06-16T145957.list: No such file or directory
    Jun 16 15:00:06 Vili move: mover: finished
    Jun 16 15:00:06 Vili move: removed '/mnt/user/tools/mover-ignore.txt'

     

    And the content of the forlder : 

    15:02:22 with root in /mnt/ssd_pool/medias at Vili took 2m 41.5s …
    ➜ ls -ltr /tmp/Mover
    total 1204
    -rw-r--r-- 1 root root 244944 Jun 16 15:00 Mover_Tuning_2023-06-16T145957.list
    -rw-r--r-- 1 root root  18350 Jun 16 15:00 Custom_Mover_Tuning_2023-06-16T145957.list
    -rw-r--r-- 1 root root 228495 Jun 16 15:00 Custom_Mover_Directory_2023-06-16T145957.list
    -rw-r--r-- 1 root root      0 Jun 16 15:00 Cache_Tuning_2023-06-16T145957.list
    -rw-r--r-- 1 root root      0 Jun 16 15:00 Custom_Cache_Tuning_2023-06-16T145957.list
    -rw-r--r-- 1 root root 736823 Jun 16 15:00 Mover_Tuning_2023-06-16T145957.log

     

  3. 8 minutes ago, hugenbdd said:

    No, can you verify the folder was created?

    /tmp/Mover

     

    from the console

    ls -ltr /tmp/Mover

    Yes, the folder was created, and here is its content (after another run of course) : 

    14:58:04 with root in /mnt/ssd_pool/medias at Vili took 35m 46.3s …
    ➜ ls -ltr /tmp/Mover
    total 38960
    -rw-r--r-- 1 root root  4907973 Jun 16 10:25 Mover_Tuning_2023-06-16T102527.list
    -rw-r--r-- 1 root root  1272063 Jun 16 10:26 Custom_Mover_Tuning_2023-06-16T102527.list
    -rw-r--r-- 1 root root  3777980 Jun 16 10:26 Custom_Mover_Directory_2023-06-16T102527.list
    -rw-r--r-- 1 root root        0 Jun 16 10:26 Cache_Tuning_2023-06-16T102527.list
    -rw-r--r-- 1 root root        0 Jun 16 10:26 Custom_Cache_Tuning_2023-06-16T102527.list
    -rw-r--r-- 1 root root 14657783 Jun 16 10:28 Mover_Tuning_2023-06-16T102527.log
    -rw-r--r-- 1 root root  2758622 Jun 16 10:35 Mover_Tuning_2023-06-16T103533.list
    -rw-r--r-- 1 root root  1272063 Jun 16 10:35 Custom_Mover_Tuning_2023-06-16T103533.list
    -rw-r--r-- 1 root root  1628629 Jun 16 10:35 Custom_Mover_Directory_2023-06-16T103533.list
    -rw-r--r-- 1 root root        0 Jun 16 10:36 Cache_Tuning_2023-06-16T103533.list
    -rw-r--r-- 1 root root        0 Jun 16 10:36 Custom_Cache_Tuning_2023-06-16T103533.list
    -rw-r--r-- 1 root root  8365138 Jun 16 10:37 Mover_Tuning_2023-06-16T103533.log
    -rw-r--r-- 1 root root   245258 Jun 16 14:22 Mover_Tuning_2023-06-16T142244.list
    -rw-r--r-- 1 root root    18350 Jun 16 14:22 Custom_Mover_Tuning_2023-06-16T142244.list
    -rw-r--r-- 1 root root   228809 Jun 16 14:22 Custom_Mover_Directory_2023-06-16T142244.list
    -rw-r--r-- 1 root root        0 Jun 16 14:22 Cache_Tuning_2023-06-16T142244.list
    -rw-r--r-- 1 root root        0 Jun 16 14:22 Custom_Cache_Tuning_2023-06-16T142244.list
    -rw-r--r-- 1 root root   738814 Jun 16 14:22 Mover_Tuning_2023-06-16T142244.log

     

  4. Hi there! I've got an issue on 6.12 RC8 and 6.12 final with the plugin.

    When invoking the mover the only thing it does is this : 

    2023-06-16 10:25:27	Jun 16 10:25:27 Vili emhttpd: shcmd (163): /usr/local/sbin/mover |& logger -t move &
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili root: ionice -c 2 -n 7 nice -n 5 /usr/local/emhttp/plugins/ca.mover.tuning/age_mover start 0 0 0 /mnt/user/tools/mover-ignore.txt '' /mnt/user/tools/mover-pre-script.sh /mnt/user/tools/mover-post-script.sh no 90 '' ''
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: Log Level: 1
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 73: /tmp/Mover/Mover_Tuning_2023-06-16T102527.log: No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: mover: started
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: find: '/tmp/Mover/*': No such file or directory
    2023-06-16 10:25:27	Jun 16 10:25:27 Vili move: find: '/tmp/Mover/*': No such file or directory
    2023-06-16 10:27:05	Jun 16 10:27:05 Vili move: cat: /tmp/Mover/Hard_Mover_Tuning_2023-06-16T102527.list: No such file or directory
    2023-06-16 10:28:48	Jun 16 10:28:48 Vili move: mover: finished

     

    And nothing gets move. Is that the bug you're talking about in your previous post?

     

    Thanks!

  5. Hi there! Anybody manage to use this on 6.11 beta?

     

    On my end it makes Samba crash :

    Sep 18 20:18:56 Vili  smbd[22056]: [2022/09/18 20:18:56.939499,  0] ../../lib/cmdline/cmdline.c:56(_samba_cmdline_talloc_log)
    Sep 18 20:18:56 Vili  smbd[22056]:   talloc: access after free error - first free may be at ../../tevent_req.c:291
    Sep 18 20:18:56 Vili  smbd[22056]: [2022/09/18 20:18:56.939544,  0] ../../lib/cmdline/cmdline.c:56(_samba_cmdline_talloc_log)
    Sep 18 20:18:56 Vili  smbd[22056]:   Bad talloc magic value - access after free
    Sep 18 20:18:56 Vili  smbd[22056]: [2022/09/18 20:18:56.939560,  0] ../../lib/util/fault.c:172(smb_panic_log)
    Sep 18 20:18:56 Vili  smbd[22056]:   ===============================================================
    Sep 18 20:18:56 Vili  smbd[22056]: [2022/09/18 20:18:56.939574,  0] ../../lib/util/fault.c:173(smb_panic_log)
    Sep 18 20:18:56 Vili  smbd[22056]:   INTERNAL ERROR: Bad talloc magic value - access after free in pid 22056 (4.16.5)
    Sep 18 20:18:56 Vili  smbd[22056]: [2022/09/18 20:18:56.939589,  0] ../../lib/util/fault.c:177(smb_panic_log)
    Sep 18 20:18:56 Vili  smbd[22056]:   If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
    Sep 18 20:18:56 Vili  smbd[22056]: [2022/09/18 20:18:56.939604,  0] ../../lib/util/fault.c:182(smb_panic_log)
    Sep 18 20:18:56 Vili  smbd[22056]:   ===============================================================
    Sep 18 20:18:56 Vili  smbd[22056]: [2022/09/18 20:18:56.939617,  0] ../../lib/util/fault.c:183(smb_panic_log)
    Sep 18 20:18:56 Vili  smbd[22056]:   PANIC (pid 22056): Bad talloc magic value - access after free in 4.16.5
    Sep 18 20:18:56 Vili  smbd[22056]: [2022/09/18 20:18:56.939720,  0] ../../lib/util/fault.c:245(log_stack_trace)
    Sep 18 20:18:56 Vili  smbd[22056]:   BACKTRACE:
    Sep 18 20:18:56 Vili  smbd[22056]:    #0 log_stack_trace + 0x39 [ip=0x14d1de0fc159] [sp=0x7ffc6061a920]
    Sep 18 20:18:56 Vili  smbd[22056]:    #1 smb_panic + 0x9 [ip=0x14d1de0fc4c9] [sp=0x7ffc6061b260]
    Sep 18 20:18:56 Vili  smbd[22056]:    #2 <unknown symbol> [ip=0x14d1de020af8] [sp=0x7ffc6061b270]
    Sep 18 20:18:56 Vili  smbd[22056]:    #3 fsp_set_fd + 0x46b8 [ip=0x14d1de437e48] [sp=0x7ffc6061b2a0]
    Sep 18 20:18:56 Vili  smbd[22056]:    #4 tevent_common_invoke_immediate_handler + 0x17a [ip=0x14d1de00dcfa] [sp=0x7ffc6061b2d0]
    Sep 18 20:18:56 Vili  smbd[22056]:    #5 tevent_common_loop_immediate + 0x16 [ip=0x14d1de00dd16] [sp=0x7ffc6061b330]
    Sep 18 20:18:56 Vili  smbd[22056]:    #6 tevent_wakeup_recv + 0xf5b [ip=0x14d1de013a7b] [sp=0x7ffc6061b340]
    Sep 18 20:18:56 Vili  smbd[22056]:    #7 tevent_signal_get_tag + 0xb7 [ip=0x14d1de011d77] [sp=0x7ffc6061b3a0]
    Sep 18 20:18:56 Vili  smbd[22056]:    #8 _tevent_loop_once + 0x91 [ip=0x14d1de00cb61] [sp=0x7ffc6061b3c0]

     

×
×
  • Create New...