Menu

Write to NAS

Help
2019-10-23
2019-12-02
  • Rainer Friedrich

    Hello, I clone to a NAS. Partclone gets ready, the message shows up that the cloning is sucessful but I have to wait a couple of minutes till the data is actually written to the NAS and the process ends. There i no progress bar/nothing that I can see, I have to wait and than it ends. What can I do?

    Thanks.

    Shalom
    F. :-)

     
  • Steven Shiau

    Steven Shiau - 2019-10-23

    Looks like the cached data were synchronized and written to persistent storage... Just wait for it to be finished.

    Steven

     
  • Rainer Friedrich

    But it takes very long. Any chance to get a progress bar? Or save without caching?

    F. :-)

     
  • Steven Shiau

    Steven Shiau - 2019-10-23

    Maybe you can find a way to check the flusing mechanism by some command which I do not know, like check this doc:
    https://unix.stackexchange.com/questions/48235/can-i-watch-the-progress-of-a-sync-operation
    If you find that, switch to another console of Clonezilla live (e.g., ctrl-alt-F2) then run that command to monitor it.

    Steven

     
  • Rainer Friedrich

    Seems like this:

    https://forums.linuxmint.com/viewtopic.php?t=209359

    I have 40 GB RAM so it maybe clones to RAM and then flushes... I cannot find a way to prevent chaching

     
  • Steven Shiau

    Steven Shiau - 2019-10-23

    The disk cache can be disabled, e.g.,
    hdparm -W 0 /dev/sda
    Maybe it helps.

    Steven

     
  • Rainer Friedrich

    Interesting, thx, will try it. Do not work very much with Unix, use Acronis TrueImage for a long time and try to switch to clonezilla because I can script it.

     
  • chuck

    chuck - 2019-10-24

    Hi Rainer

    You might try and tune the parameters to the sysctl virtual memory setting on your Clonezilla boot disk:

    gedit admin:///etc/sysctl.conf
    vm.dirty_ratio = 4
    vm.dirty_background_ratio = 2

    https://wiki.archlinux.org/index.php/sysctl

    And possibly also add this:

    vm.swappiness=10

    https://wiki.archlinux.org/index.php/Swap

     

    Last edit: chuck 2019-10-24
  • Rainer Friedrich

    Sound promising, thx. Can I edit this "offline" on the pen drive? So I can maybe script the edits for updates.

     
  • Rainer Friedrich

    Tried the alternate download, there seems no such problems. Immediate ending. And seems faster over ethernet to my NAS.

     
  • Steven Shiau

    Steven Shiau - 2019-12-02

    Thanks for sharing that. Maybe it's related to Linux kernel and hardware support issue, or some updated version of related packages work better.

    Steven

     
  • Rainer Friedrich

    And it seems to depend on the hardware, another one caches and then write.

     

Log in to post a comment.