Red Hat Enterprise Linux > AS/ES/WS v. 3 > Issue
<<
316 of 594
>>
Issue:
Why does a SWAP partition managed by the Logical Volume Manager (LVM) show up as '(deleted)'?
Resolution:
Release Found: Red Hat Enterprise Linux 3
Symptom:
- The system boots up fine and you do not get any errors about activating SWAP or LVM volumes.
- You are not seeing any other memory-related problems.
- The SWAP lines in the file /proc/meminfo display appropriate data for your SWAP configuration.
- The swapon -s command displays your logical volume name with '(deleted)' after it.
Solution:
This is a known problem with this release. It is caused by the way LVM is activated at system startup. It is possible and likely that the device file's inode, for the swap logical volume, changed subsequently to SWAP activation. This causes the SWAP volume to be flagged as '(deleted)' even though the logical volume device file still exists. Normally you can simply ignore this condition.
If you are concerned about doing this, here is a possible workaround. Be advised however, that editing the following file
will alter the way your system boots. Please be extremely careful in making the following addition.
- Edit the file /etc/rc.d/rc.sysinit
- At the end of the file, add the following line:
swapoff -a && swapon -a
- Save the file.
After you have done this, next time the system starts up, the SWAP logical volume should no longer show '(deleted)' in the output of the
swapon -s command.
Red Hat Enterprise Linux
>
AS/ES/WS v. 3
> Issue
<<
316
of
594
>>