Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS v. 3 > Issue <<  316 of 594 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 4331
Last update: 08-22-05
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.
  1. Edit the file /etc/rc.d/rc.sysinit
  2. At the end of the file, add the following line:
    swapoff -a && swapon -a
  3. 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.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS v. 3 > Issue <<   316  of  594  >>