Bug 730310

Summary: Chapter 2.1.1: equivalent mount options in example 2.1 incorrect
Product: Red Hat Enterprise Linux 6 Reporter: Dominic Cleal <dcleal>
Component: doc-Resource_Management_GuideAssignee: Martin Prpič <mprpic>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3CC: jskeoch
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-07 12:46:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dominic Cleal 2011-08-12 13:04:33 UTC
Description of problem:
Example 2.1 gives the following cgconfig.conf:
mount {
    cpuset = /cgroup/cpu;
}

And states this is the equivalent command:
mount -t cgroup -o cpu cpu /cgroup/cpu

The -o argument should be "cpuset", not "cpu" to mount with the cpuset controller.  I'd also suggest that the name "cpu" for the cgroup is a bit confusing, given that there's a "cpu" controller too.


Version-Release number of selected component (if applicable):
As of 12/08/11 on documentation-stage.bne.  Also on edition 1 of docs.redhat.com.

Comment 2 Martin Prpič 2011-08-15 19:06:16 UTC
Fixed in Red_Hat_Enterprise_Linux-Resource_Management_Guide-6-web-en-US-1-21.el5

http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch-Using_Control_Groups.html#example-mount-entry

Moving to ON_QA.

Thanks,
Martin