[lxc-users] Big snapshots abort...

Michel Dubé md at humanity.net
Sat Dec 3 13:18:24 UTC 2016


No luck,

I installed rsync package from 16.04 (rsync_3.1.1-3ubuntu1_amd64.deb) and
gave it a try but no luck. Same problem. Snapshot +25G big aborts.

But it succeeded manually by the next command:

rsync -a -HAX --devices --delete --checksum --numeric-ids -q
/var/lib/lxd/containers/emergence/ /var/lib/lxd/snapshots/
emergence/emergence-03-12-2016

md
++++++++++++++++++++++++++++++++++=

2016-12-01 16:17 GMT-05:00 Michel Dubé <md at humanity.net>:

> Hey Guido !!!
>
> I guess you got it man. Same rsync version on my server. I have to give it
> a new try later this week and I come back with feedback.
>
> A+
>
> Michel
> ++++++++++++++++++++++++++++++++++++++++++++++++=
>
> 2016-12-01 12:50 GMT-05:00 Guido Jäkel <G.Jaekel at dnb.de>:
>
>> Hi,
>>
>> Does the rsync use -z? Is it the bug filed at
>> https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1384503 ?
>>
>> greetings
>>
>> Guido
>>
>> On 01.12.2016 13:28, Michel Dubé wrote:
>> > Hi Rémy,
>> >
>> > There is a lot of space on that server and I did an rsync of that
>> container
>> > manually.
>> >
>> > The strange thing is that at the end of the snapshot, all the files and
>> > directories had been copied to the snapshot directory but the snapshot
>> > process initiated by the snapshot command never got terminated. So I
>> made
>> > several tries to understand what was going on. Every time, after I
>> killed
>> > the snapshot command, the related container's snapshot directory got
>> > deleted.  That's why I reported the issue.
>> >
>> > Like I said in a previous message, I will move all the stuff hosted on
>> that
>> > server to another one (ZFS) soon. So I don't really care about the
>> problem
>> > but may be someone else could bump on it too.  I don't know.
>> >
>> > Thanks!
>> >
>> > Michel Dubé
>> >
>> >
>> > ++++++++++++++++++++++++++++++++++++++++++++++++=
>> >
>> > 2016-12-01 5:38 GMT-05:00 Rémy Dernat <remy.d1 at gmail.com>:
>> >
>> >> Hi,
>> >>
>> >> Just a stupid question; did you try to copy 25GB on this space with
>> rsync
>> >> otherwise ? I mean it could be a "not enough space" problem or any
>> other
>> >> issue not directly related to the snapshot itself.
>> >>
>> >> Kind regards
>> >>
>> >> 2016-12-01 11:15 GMT+01:00 Michel Dubé <md at humanity.net>:
>> >>
>> >>> You're right, I don't use ZFS on this system. In fact, this is the
>> first
>> >>> LXC system I setup more than one year ago and I wanted to keep it as
>> simple
>> >>> as possible.
>> >>> But I plan to move all these containers to a new server (16.04) using
>> ZFS
>> >>> soon.
>> >>> Thanks Serge.
>> >>>
>> >>> Michel
>> >>>
>> >>> ++++++++++++++++++++++++++++++++++++++++++++++++=
>> >>>
>> >>> 2016-11-25 22:36 GMT-05:00 Serge Victor <dr.serge at random.re>:
>> >>>
>> >>>> On Sat, Nov 26, 2016 at 9:41 AM, Michel Dubé <md at humanity.net>
>> wrote:
>> >>>>
>> >>>>> error: rsync failed: rsync: [sender] write error: Broken pipe (32)
>> >>>>> rsync error: error in rsync protocol data stream (code 12) at
>> io.c(837)
>> >>>>> [sender=3.1.0]
>> >>>>
>> >>>> What is the underlaying filesystem? I bet you don't use ZFS or BTRFS,
>> >>>> which have snapshotting features built-in, why?
>> >>>>
>> >>>> S.
>> >>>> _______________________________________________
>> >>>> lxc-users mailing list
>> >>>> lxc-users at lists.linuxcontainers.org
>> >>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>> >>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> lxc-users mailing list
>> >>> lxc-users at lists.linuxcontainers.org
>> >>> http://lists.linuxcontainers.org/listinfo/lxc-users
>> >>>
>> >>
>> >>
>> >> _______________________________________________
>> >> lxc-users mailing list
>> >> lxc-users at lists.linuxcontainers.org
>> >> http://lists.linuxcontainers.org/listinfo/lxc-users
>> >>
>> >
>> >
>> >
>> > _______________________________________________
>> > lxc-users mailing list
>> > lxc-users at lists.linuxcontainers.org
>> > http://lists.linuxcontainers.org/listinfo/lxc-users
>> >
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161203/a6237433/attachment.html>


More information about the lxc-users mailing list