fstab file to switch to the appropriate multipath device name.
/sbin/multipath command with the -v3 option. The output from the command should show the swap device in the paths list.
WWIDH:B:T:LdevnameMAJOR:MINOR
sda or one of its partitions, you would see a line in the output such as the following:
===== paths list ===== ... 1ATA WDC WD800JD-75MSA3 WD-WMAM9F 1:0:0:0 sda 8:0 ...
/etc/multipath.conf file:
multipaths {
multipath {
wwid WWID_of_swap_device
alias swapdev
}
}
/etc/fstab and replace the old device path to the root device with the multipath device.
/etc/fstab file:
/dev/sda2 swap ext4 defaults 0 0
/dev/mapper/swapdev swap ext4 defaults 0 0