10.12.2013 19:11, Serge Hallyn пишет:
Quoting Vladimir Skubriev ([email protected]):
Hi!
We used ubuntu lts.
Sorry for details, but I hope this bring on another error.
Recently i am experimenting with full server backup as rebuilding raid 1
array of 2 sata disks to sata disk connected via usb 3.0 dock station
And about 20 percent of rebuild ext4 driver in kernel began reporting
filesystem write/read errors. This server is in production use and
generate average amount of I/O load, instead of other trial server (when
i am experimenting with this type of backup)
Trial server - is just standalone ubuntu 12.04 clean install (this
error doesn't lead to problems with filesystems but still occurred too).
I stopped mdadm rebuild proccess and detach reserv hdd because
containers are hang and services running in this containers stopped
responding.
I reboot server, and containers doesn't auto start normally.
When I do: lxc-list writes that they are started, but init processes of
this containers are absent in the process list by ps.
Only lxc-start -d -n container_name processes are started without any
tree with init and appropriate processes of normal running system.
If i stopped each container by lxc-stop -n container_name and then start
it manually by lxc-start -d -n container_name it normally starts and
working.
Reboot the server and get not working containers.
How to enable debug for view why lxc containers not auto start in ubuntu
12.04 properly?
A few things, if it's not too late.
1. Is this the stock lxc 0.7.5 that comes with 12.04?
yes
2. Look at the contents of /var/log/upstart/lxc.log
there is nothing )
3. Look at the lxc-start line in /etc/init/lxc.conf and try to manually
start a container in the exact same way, adding '-l info -o outfile'
to the lxc-start command line. Now outfile should show you where
the startup failed.
-serge
Thank you. This is awesome and working )
--
--
Best regards,
Vladimir Skubriev
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users