All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Zefan <lizf@cn.fujitsu.com>
To: Ben Gamari <bgamari@gmail.com>
Cc: Paul Menage <menage@google.com>,
	containers@lists.linux-foundation.org,
	linux-kernel@vger.kernel.org, libcg-devel@lists.sourceforge.net
Subject: Re: Mounting blkio cgroup hierarchy
Date: Mon, 15 Nov 2010 08:49:40 +0800	[thread overview]
Message-ID: <4CE083A4.4030206@cn.fujitsu.com> (raw)
In-Reply-To: <87fwv6sbwr.fsf@gmail.com>

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.

So see if blkio is listed in /proc/cgroups or/and if CONFIG_BLK_CGROUP
is enabled in your kernel config.

  parent reply	other threads:[~2010-11-15  0:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-12 17:13 Mounting blkio cgroup hierarchy Ben Gamari
     [not found] ` <87fwv6sbwr.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-11-12 17:24   ` Kirill A. Shutemov
2010-11-15  0:49   ` Li Zefan
2010-11-12 17:24 ` Kirill A. Shutemov
2010-11-12 18:18 ` Dhaval Giani
2010-11-15  0:49 ` Li Zefan [this message]
     [not found]   ` <4CE083A4.4030206-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2010-11-15  1:17     ` Ben Gamari
2010-11-15  1:17   ` Ben Gamari
  -- strict thread matches above, loose matches on Subject: below --
2010-11-12 17:13 Ben Gamari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CE083A4.4030206@cn.fujitsu.com \
    --to=lizf@cn.fujitsu.com \
    --cc=bgamari@gmail.com \
    --cc=containers@lists.linux-foundation.org \
    --cc=libcg-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=menage@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.