OpenVZ Forum


Home » Mailing lists » Devel » Mounting blkio cgroup hierarchy
Re: Mounting blkio cgroup hierarchy [message #41910 is a reply to message #41909] Mon, 15 November 2010 01:17 Go to previous message
Ben Gamari is currently offline  Ben Gamari
Messages: 2
Registered: November 2010
Junior Member
On Mon, 15 Nov 2010 08:49:40 +0800, Li Zefan <lizf@cn.fujitsu.com> wrote:
> Ben Gamari wrote:
> > I've been trying to configure cgroups and have encountered some very
> > strange behavior. In particular, when I follow the instructions in
> > Documentation/cgroups/blkio-controller.txt I quickly reach an error,
> >
> > $ cd /mnt
> > $ sudo mkdir -p cgroups/blkio
> > $ # Confirm it's not already mounted:
> > $ cat /proc/mounts
> > $ sudo mount -t cgroup -o blkio none /mnt/cgroups/blkio
> ...
> > mount: special device none does not exist
> >
> > I've done quite a bit of Googling and yet it's very difficult to find
> > good information on configuring cgroups. I would use the libcg
> > toolset[1] but every attempt to configure it has ended in frustratingly
> > vague error messages.
> >
> > Any ideas?
> >
>
> I suspect you didn't have blkio enabled in your kernel config.
>
Doh! I could have sworn I had enabled this. Sorry for the noise!

- Ben
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containe rs
 
Read Message
Read Message
Previous Topic: Re: [Ksummit-2010-discuss] checkpoint-restart: naked patch
Next Topic: Re: [Ksummit-2010-discuss] checkpoint-restart: naked patch
Goto Forum:
  


Current Time: Wed Oct 08 11:19:27 GMT 2025

Total time taken to generate the page: 0.11500 seconds