Remove LVM Snapshot |
Server Training - Logical Volume Management | ||||||||
Remove a SnapshotRemoving a snapshot can also be done using the Logical Volume Management tool. Create snap2 of a logical volume. Then go to the Logical View and select the Remove Logical Volume option, you will see this warning.
Select yes and it should be removed. However, if you get an error you may still remove it from the command line. It seems that this error is a regular occurrence so you will need to have command line skills. Here is the process of removing a logical volume from the command line. First check the pvs that you have using pvscan.
Verify the logical volumes that you have with lvscan. Now remove the snapshot you would like to remove with lvremove.
Your physical Volume view should show that it is removed and the extents are returned to the unused space. You may have to choose View and Reload in order to view changes.
Copyright CyberMontana Inc. and BeginLinux.com All rights reserved. Cannot be reproduced without written permission. Box 1262 Trout Creek, MT 59874
|