[Users] unsupported deleted submount
Pavel Vokhmyanin
pvokhmyanin at virtuozzo.com
Thu Mar 17 04:40:07 PDT 2016
Hello Ian,
It is actually a vzkernel issue.
Normally kernel appends (deleted) mark, but vzkernel prepends it.
Bind has rpm scriplets which process correctly bindmounts with "(deleted)" appended, but they do not work correctly with prepended (deleted) mark, hence the hanging deleted bindmounts on named update.
This bug has already been submitted to our development team, internal ID is #PSBM-25896, work is in progress.
Best Regards,
--
Pavel Vokhmyanin
Virtualization Maintenance
Virtuozzo
________________________________________
От: users-bounces at openvz.org <users-bounces at openvz.org> от имени Ian <openvz_list at fishnet.co.uk>
Отправлено: 17 марта 2016 г. 13:13
Кому: users at openvz.org
Тема: [Users] unsupported deleted submount
Hi,
I backup (simfs) containers nightly using vzdump (with suspend).
Early this morning one of the backups failed with the following error:
INFO: Error: unsupported deleted submount:
(deleted)/var/named/chroot/etc/named.rfc1912.zones
I have had this problem before and know it is caused by a bind update
not deleting some chroot mounts.
df shows:
df: ` (deleted)/var/named/chroot/etc/named.rfc1912.zones': No such file
or directory
df: ` (deleted)/var/named/chroot/etc/named.iscdlv.key': No such file or
directory
df: ` (deleted)/var/named/chroot/etc/named.root.key': No such file or
directory
Filesystem Size Used Avail Use% Mounted on
simfs 6.0G 1.3G 4.8G 22% /
none 512M 4.0K 512M 1% /dev
none 512M 0 512M 0% /dev/shm
simfs 6.0G 1.3G 4.8G 22% /var/named/chroot/etc/named
simfs 6.0G 1.3G 4.8G 22% /var/named/chroot/var/named
simfs 6.0G 1.3G 4.8G 22% /var/named/chroot/etc/rndc.key
simfs 6.0G 1.3G 4.8G 22% /var/named/chroot/usr/lib64/bind
This is easy to fix:
umount /var/named/chroot/etc/named.rfc1912.zones
umount /var/named/chroot/etc/named.iscdlv.key
umount /var/named/chroot/etc/named.root.key
Does anyone know if this is a problem with openvz or vzdump?
Here are the log messages around the error:
INFO: first sync finished (172 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO: suspend...
INFO: Can not suspend container: Invalid argument
INFO: Error: unsupported deleted submount:
(deleted)/var/named/chroot/etc/named.rfc1912.zones
INFO: Checkpointing failed
ERROR: Backup of VM 550 failed - command 'vzctl --skiplock chkpnt 550
--suspend' failed with exit code 16
RPM Versions:
vzdump-1.2-4.noarch
vzctl-4.9.4-1.el6.x86_64
vzctl-core-4.9.4-1.el6.x86_64
vzkernel-2.6.32-042stab113.11.x86_64 (latest kernel installed but not
rebooted yet)
Thanks
Ian
--
_______________________________________________
Users mailing list
Users at openvz.org
https://lists.openvz.org/mailman/listinfo/users
More information about the Users
mailing list