[Users] strange permission issue on migration

Dmitry Konstantinov barmaley at barmaley.net
Fri Feb 14 23:57:06 MSK 2020


yes I do.

It happens often when we do mass migrations to free
a server for maintenance. One or maybe two containers
refuse to migrate no matter what.

On Fri, 14 Feb 2020 16:49:22 -0300
Paulo Coghi - Coghi IT <paulocoghi at gmail.com> wrote:

> Hi, Dmitry!
> 
> I usually temporarily enable access to the root user on SSH to
> proceed with the migrations.
> 
> Are you using root?
> 
> On Thu, Feb 13, 2020 at 12:37 PM Dmitry Konstantinov
> <barmaley at barmaley.net> wrote:
> 
> >
> > I am pretty sure it's not permissions however that's what reported
> > by vzmigrate.
> >
> > offline migration fails with the messages:
> >
> > copy CT private /vz/private/24060
> > rsync : rsync: rename "/vz/private/24060/root.hdd/.root.hds.dkD99G"
> > -> "root.hdd/root.hds": Operation not permitted (1)
> > rsync : rsync: rename
> > "/vz/private/24060/root.hdd/.root.hds.{ed04b7fe-4084-42ec-864d-edc1ae4b03d5}.eVcsbD"  
> > -> "root.hdd/root.hds.{ed04b7fe-4084-42ec-864d-edc1ae4b03d5}":  
> > Operation not permitted (1)
> > rsync : rsync error: some files/attrs were not transferred (see
> > previous errors) (code 23) at main.c(1055)
> > [sender=3.0.9]
> >
> > Subsequent runs show similar errors, removing private area on
> > destination (we use --keep-dst) doesn't help, renaming it so the
> > next attempt to migrate would use different location on the device
> > doesn't help. However the migration to another server usually works.
> >
> > Any ideas what might be the problem?
> >
> > BTW is there any reason for vzmigrate to create a snapshot when
> > migrating offline?
> >
> > Thanks,
> > Dmitry.
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at openvz.org
> > https://lists.openvz.org/mailman/listinfo/users
> >  



More information about the Users mailing list