[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 15 Nov 2010 08:49:40 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Ben Gamari <bgamari@...il.com>
CC: Paul Menage <menage@...gle.com>,
containers@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, libcg-devel@...ts.sourceforge.net
Subject: Re: Mounting blkio cgroup hierarchy
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists