Bug 1403912

Summary: Add reference to command to generate LVM conf file in LVM doc
Product: Red Hat Enterprise Linux 6 Reporter: Steven J. Levine <slevine>
Component: doc-Logical_Volume_ManagerAssignee: Steven J. Levine <slevine>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.9CC: adstrong, agk, ecs-bugs, jbrassow, msnitzer, prajnoha, rhel-docs, zkabelac
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1403910 Environment:
Last Closed: 2017-03-22 15:23:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1403910    
Bug Blocks:    

Description Steven J. Levine 2016-12-12 15:48:08 UTC
+++ This bug was initially created as a clone of Bug #1403910 +++

From Peter Rajnoha:

Hi,

regarding this page:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Logical_Volume_Manager_Administration/lvmconf_file.html

Thing here is that the lvm.conf file is changing a lot from release to release - we're adding new items quite often. So maybe it would be good to mention that there's "lvmconfig --type default --withcomments" command that can generate whole lvm.conf with all default values set and with comments added (actually, we do this in upstream to generate the lvm.conf that is packaged then).

We already mentioned lvmconfig command here: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Logical_Volume_Manager_Administration/lvm_dumpconfig.html

But I think it would be good for users to have lvmconfig also mentioned in the sample lvm.conf page for reference and to emphasize that for them to generate complete sample lvm.conf with default values on output (which they can redirect to a file), the can call the lvmconfig --type default --withcomments.

The same applies for RHEL6 doc. Would add the note there please?

-- 
Peter

Comment 3 Peter Rajnoha 2017-02-09 08:07:58 UTC
(In reply to Steven J. Levine from comment #1)
> Peter:
> 
> Is the note I added here to Section B.4 enough, or should I say more about
> this command?
> 
> http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-
> Red_Hat_Enterprise_Linux-6-Logical_Volume_Manager_Administration%20%28html-
> single%29/lastSuccessfulBuild/artifact/tmp/en-US/html-single/index.
> html#lvmconf_file

Yes, I think we don't need to say more about this command - it's just for users to know that such command is here (they can look more details in the man page then).

(Sorry, the needinfo got out of my radar somehow...)