Can someone point me in a direction to a guide or something. I looked around and found one, but I am not sure it is correct anymore because I think lxc has made some changes recently. I am using fedora 16 and yum installed lxc-*. How do I proceed? I'd like to say that when I try to mkdir /cgroup and mount it at boot in fstab, fedora does not properly boot and enters recovery mode. Any suggestions?
# # /etc/fstab # Created by anaconda on Fri Dec 9 13:18:53 2011 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=ca1e6904-73dc-4fc9-b611-ba8f010580de / ext4 defaults 1 1 UUID=EA83-296C /boot/efi vfat umask=0077,shortname=winnt 0 0 UUID=3950db3c-7107-4deb-a38c-0d5979761451 /home ext4 defaults 1 2 UUID=afddf429-813c-4d92-97d8-afbd5ad11ec6 swap swap defaults 0 0 #cgroup /cgroup cgroup defaults 0 0
cgorups is commented out because fedora 16 won't boot if its not. Also, if I try to mount cgroup this is what it looks like:
[root@xxxxxx-fedora ~]# mount cgroup mount: cgroup already mounted or /sys/fs/cgroup/perf_event busy mount: according to mtab, cgroup is already mounted on /sys/fs/cgroup/perf_event
Already created cgroup with:
mkdir -p /cgroup