Please enter search query.
Search <product_name> all support & community content...
Article: 100042614
Last Published: 2021-09-03
Ratings: 0 0
Product(s): System Recovery
Problem
Swap partition is not enabled after recovering Red Hat Enterprise Linux (RHEL).
Error Message
When running "swapon -s" on the recovered system, swap partition is not displayed like Figure 1.
Figure 1 - "swapon -s"
Cause
UUID for swap partition is newly assigned after recovering. You need to update /etc/fstab with the new UUID.
Solution
Workaround:
1. Run "lsblk -f" and confirm UUID for swap partition. (See Figure 2)
Figure 2 - "lsblk -f"
2. Update /etc/fstab with UUID in Figure 2. (See Figure 3)
Figure 3 - "vi /etc/fstab"
4. Save /etc/fstab and reboot.
Applies to
Red Hat Enterprise Linux 6.x or later
Swap is associated with UUID in /etc/fstab