<div dir="ltr">Hi Kir,<div><br></div><div>Are you sure that&#39;s the right list? I don&#39;t see any users there, it&#39;s all hard core dev, posting patches.</div><div><br></div><div>Before I take the plunge and raise my hand there, I was curious to know if any OVZ 7 user had actually gotten vzctl snapshot to work.</div><div><br></div><div>Joe</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 28, 2015 at 4:17 PM, Kir Kolyshkin <span dir="ltr">&lt;<a href="mailto:kir@openvz.org" target="_blank">kir@openvz.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><span class="">
    On 10/28/2015 02:31 PM, jjs - mainphrame wrote:<br>
    <blockquote type="cite">
      
      <div dir="ltr">Greetings,
        <div><br>
        </div>
        <div>I&#39;ve been running some test containers on OVZ7 beta, and,
          while I realize not all functionality is in place yet, they
          have been so dependable that I&#39;m starting to depend on them. </div>
        <div><br>
        </div>
        <div>So, understandably, I was looking at backups, and my first
          tries with vzctl snapshot failed. I don&#39;t want to spend a lot
          of time troubleshooting something that&#39;s not yet known to be
          working, but in case it is, has anyone else had better luck?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Here is the result of my attempt to make a backup:</div>
        <div><br>
        </div>
        <div>
          <div>[root@hachi vz]# vzctl snapshot 1001</div>
          <div>Creating snapshot {57c8aa0d-1c04-4469-9d1e-c95fab04bd01}</div>
          <div>Storing /local/vz/private/1001/Snapshots.xml.tmp</div>
          <div>Setting up checkpoint...</div>
          <div>Failed to checkpoint the Container</div>
          <div>All dump files and logs were saved to
            /local/vz/private/1001/dump/{57c8aa0d-1c04-4469-9d1e-c95fab04bd01}.fail</div>
          <div>Checkpointing failed</div>
          <div>Failed to create snapshot</div>
          <div>[root@hachi vz]# </div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>The last few lines of the dump log contain these clues:</div>
        <div><br>
        </div>
        <div>
          <div>(00.570576) Error (proc_parse.c:404): Can&#39;t handle
            non-regular mapping on 8366&#39;s map 7f2164d63000</div>
          <div>(00.570582) Error (cr-dump.c:1487): Collect mappings
            (pid: 8366) failed with -1</div>
          <div>(00.570746) Unlock network</div>
          <div>(00.570751) Running network-unlock scripts</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>There is no pid 8366 in the CT but on the host that pid
          corresponds to the mysql instance running in the container
          that I&#39;m trying to snapshot: </div>
        <div><br>
        </div>
        <div>
          <div>[root@hachi vz]# ps -ef|grep 8366</div>
          <div>27          8366    7098  0 14:03 ?        00:00:00
            /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql
            --plugin-dir=/usr/lib64/mysql/plugin
            --log-error=/var/log/mariadb/mariadb.log
            --pid-file=/var/run/mariadb/mariadb.pid
            --socket=/var/lib/mysql/mysql.sock</div>
        </div>
        <div><br>
        </div>
        <div>So, is this something that ought to work?</div>
        <br>
      </div>
    </blockquote>
    <br></span>
    Hi Joe,<br>
    <br>
    You might want to try writing to criu list with this question, they
    might have a clue.<br>
    See <a href="https://lists.openvz.org/mailman/listinfo/criu" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
  </div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>