Bug 1291550

Summary: Fix the example in dm-multipath guide, section - 'Moving swap File Systems from a Single Path Device to a Multipath Device'
Product: Red Hat Enterprise Linux 7 Reporter: Milan P. Gandhi <mgandhi>
Component: doc-DM_MultipathAssignee: Steven J. Levine <slevine>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: adstrong, rhel-docs
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1291552 (view as bug list) Environment:
Last Closed: 2016-11-07 21:19:11 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1291552    

Description Milan P. Gandhi 2015-12-15 06:25:00 UTC
Document URL:

RHEL 7 DM-Multipath guide:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/DM_Multipath/move_swap_to_multipath.html

Section Number and Name: 
5.4. Moving swap File Systems from a Single Path Device to a Multipath Device

Describe the issue: 

In above section of dm-multipath guide, there is following example entry mentioned in step 3:

<snip>
	Edit the /etc/fstab file and replace the old device path to the root device with the multipath device.
	For example, if you had the following entry in the /etc/fstab file:

	/dev/sda2 swap                    ext4    defaults        0 0

	You would change the entry to the following:

	/dev/mapper/swapdev swap          ext4    defaults        0 0
<snip>


Above entry has a small problem. These entries are for swap filesystem, but still there is ext4 mentioned for it.

Suggestions for improvement: 

The correct entries for swap filesystems in above section would be:

	/dev/sda2 swap                    swap    defaults        0 0

and 

	/dev/mapper/swapdev swap          swap    defaults        0 0

Additional information:

Comment 2 Steven J. Levine 2016-01-06 20:06:47 UTC
Fix made in working copy of document. This will be on the Portal at 7.3, or earlier if there is an interim build.