検索クエリーを入力してください
すべてのサポートコンテンツとコミュニティコンテンツを検索...
記事: 100042614
最終公開日: 2021-09-03
評価: 0 0
製品: 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