0

I have installed lxc on centos 6 and file based container and one lv based container however both show disk space of the main node and not the resources allocated to the containers after df -h

df -h Filesystem Size Used Avail Use% Mounted on /dev/root 20G 2.7G 16G 15% / none 20G 2.7G 16G 15% /dev/shm

I have allocated 4 gb disk space to the contianer . Any solution ?

1 Answers1

1

One possible solution is to remove /etc/mtab and replace it with a symlink to /proc/mounts. This worked for me, but I'm not entirely certain that there aren't any side effects.

Kriivari
  • 11
  • 2