[lxc-users] lxcfs removed by accident, how to recover?
Harald Dunkel
harri at afaics.de
Tue Jan 30 20:00:01 UTC 2018
On 01/30/18 18:24, Harald Dunkel wrote:
> On 01/30/18 17:17, Stéphane Graber wrote:
>>
>> So you're going to need to restart those containers.
>> Until then, you can "umount" the various lxcfs files from within the
>> container so that rather than a complete failure to access those files,
>> you just get the non-namespaced version of the file.
>>
>
> Thats more than I hoped for. It allows me to do a clean shutdown.
> Very helpful response.
>
PS: I could umount most lxcfs items, but it seems systemd keeps /proc/swaps
busy. lxc-stop complained for these containers
lxc-stop 20180130193610.338 ERROR lxc_commands_utils - commands_utils.c:lxc_cmd_sock_rcv_state:71 - failed to receive message: Resource temporarily unavailable
lxc-stop 20180130193610.544 ERROR lxc_commands - commands.c:lxc_cmd_rsp_recv:157 - Command stop response data 1785884787 too long.
The containers using sysvinit were fine (no flamewar, please).
Regards
Harri
More information about the lxc-users
mailing list