Re: [lxc-users] Big snapshots abort...
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 : > 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 : > > > >> 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é : > >> > >>> 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 : > >>> > On Sat, Nov 26, 2016 at 9:41 AM, Michel Dubé 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@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users > >>> > >>> > >>> > >>> ___ > >>> lxc-users mailing list > >>> lxc-users@lists.linuxcontainers.org > >>> http://lists.linuxcontainers.org/listinfo/lxc-users > >>> > >> > >> > >> ___ > >> lxc-users mailing list > >> lxc-users@lists.linuxcontainers.org > >> http://lists.linuxcontainers.org/listinfo/lxc-users > >> > > > > > > > > ___ > > lxc-users mailing list > > lxc-users@lists.linuxcontainers.org > > http://lists.linuxcontainers.org/listinfo/lxc-users > > > > ___ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users > ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] Big snapshots abort...
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 : > >> 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é : >> >>> 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 : >>> On Sat, Nov 26, 2016 at 9:41 AM, Michel Dubé 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@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users >>> >>> >>> >>> ___ >>> lxc-users mailing list >>> lxc-users@lists.linuxcontainers.org >>> http://lists.linuxcontainers.org/listinfo/lxc-users >>> >> >> >> ___ >> lxc-users mailing list >> lxc-users@lists.linuxcontainers.org >> http://lists.linuxcontainers.org/listinfo/lxc-users >> > > > > ___ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users > ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] Big snapshots abort...
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 : > 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é : > >> 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 : >> >>> On Sat, Nov 26, 2016 at 9:41 AM, Michel Dubé 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@lists.linuxcontainers.org >>> http://lists.linuxcontainers.org/listinfo/lxc-users >> >> >> >> ___ >> lxc-users mailing list >> lxc-users@lists.linuxcontainers.org >> http://lists.linuxcontainers.org/listinfo/lxc-users >> > > > ___ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users > ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] Big snapshots abort...
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é : > 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 : > >> On Sat, Nov 26, 2016 at 9:41 AM, Michel Dubé 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@lists.linuxcontainers.org >> http://lists.linuxcontainers.org/listinfo/lxc-users > > > > ___ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users > ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] Big snapshots abort...
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 : > On Sat, Nov 26, 2016 at 9:41 AM, Michel Dubé 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@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
[lxc-users] lxc copy local remote: - how to copy a container without snapshots?
lxc copy local remote: seems to copy a container with all its snapshots. Is it possible to use "lxc copy local remote:" so it just copies /var/lib/lxc/containers/local, without snapshots? Tried these on the "local" side (with 2.0.5 on the remote): # lxc --version 2.6.2 # lxc --version 2.0.5 Tomasz Chmielewski https://lxadm.com ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users