lkml.org 
[lkml]   [2010]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Mounting blkio cgroup hierarchy
    Date
    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


    \
     
     \ /
      Last update: 2010-11-15 02:21    [W:0.022 / U:30.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site