public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Gamari <bgamari@gmail.com>
To: Li Zefan <lizf@cn.fujitsu.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: Sun, 14 Nov 2010 20:17:39 -0500	[thread overview]
Message-ID: <87eiancrm4.fsf@gmail.com> (raw)
In-Reply-To: <4CE083A4.4030206@cn.fujitsu.com>

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

      reply	other threads:[~2010-11-15  1:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-12 17:13 Mounting blkio cgroup hierarchy Ben Gamari
2010-11-12 17:24 ` Kirill A. Shutemov
2010-11-12 18:18 ` Dhaval Giani
2010-11-15  0:49 ` Li Zefan
2010-11-15  1:17   ` Ben Gamari [this message]

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=87eiancrm4.fsf@gmail.com \
    --to=bgamari@gmail.com \
    --cc=containers@lists.linux-foundation.org \
    --cc=libcg-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizf@cn.fujitsu.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox