Red Hat Bugzilla – Bug 1291550
Fix the example in dm-multipath guide, section - 'Moving swap File Systems from a Single Path Device to a Multipath Device'
Last modified: 2016-11-07 16:19:11 EST
RHEL 7 DM-Multipath guide:
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:
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
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
/dev/mapper/swapdev swap swap defaults 0 0
Fix made in working copy of document. This will be on the Portal at 7.3, or earlier if there is an interim build.