[lxc-users] What's happened if I mount existing mounted partition in a running lxc container.
Tamas Papp
tompos at martos.bme.hu
Mon Dec 16 10:13:07 UTC 2013
On 12/16/2013 10:27 AM, Скубриев Владимир wrote:
> For example:
>
> I have a running lxc container
> with mounted lvm logical volume filesystem /dev/sysraid/server_data througth /var/lib/lxc/container/fstab
>
> At the host system, under root account I'am made a mistake when typing mount command.
>
> I mounted, and then very fast un mounted already mounted partition.
>
> Anything can happen with that partition and their data?
>
> How to prevents this mistakes or protect youself from them?
>
It's exactly the same like without lxc.
If that happens, it's always good to umount and run an fsck on the
partition.
If you didn't write _anything_, then it should be fine (AFAIK).
tamas
More information about the lxc-users
mailing list