Remove LV RHEL5

How do I remove a logical volume on RHEL5

This is the error
# lvremove /dev/VolGroup00/appftphome
  Can't remove open logical volume "appftphome"

 #dmsetup info -c /dev/VolGroup00/appftphome
Name                  Maj Min Stat Open Targ Event  UUID
VolGroup00-appftphome 253  12 L--w    1    1      0 LVM-KJse367Smlo0hmJWoc6QPRvhb4KtmxVavI8cIR52UW08hW1oW5tDOmeaZEDLfdhk
Who is Participating?
wesly_chenConnect With a Mentor Commented:
1. Umount the filesystem on that lV
2. lvchange -a y /dev/VolGroup00/appftphome (Make sure the Logic Volume is active)
3. lvremove -f /dev/VolGroup00/appftphome   (Remove the Logic Volume)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.