In RHEL 6, need to remove SWAP filesystem from partition
Issue
- Need to remove SWAP filesystem from partition
- When moving SWAP from
/dev/sda2to LVM. Then adding/dev/sda2to a volume group. The partition flags show that/dev/sda2is LVM, but the filesystem still shows as SWAP when using the parted command. Will this be an issue? - Is there a way to remove the SWAP filesystem prior to added it to the volume group?
Environment
- Red Hat Enterprise Linux (RHEL) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.