Remove LVM Snapshot
Server Training - Logical Volume Management

Remove a Snapshot

Removing 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.

 

remove snapshot

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.

pvscan

Verify the logical volumes that you have with lvscan.

lvscan

Now remove the snapshot you would like to remove with lvremove.

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.

lvm

Linux Server Training Options -- CentOS or Ubuntu Courses

Linux Server Management - Live Course with 550 pg. Manual, Practice Server, Instructor

Linux Server Daemons - Live Course with 550 pg. Manual, Practice Server, Instructor

Linux Server Management - Self-Taught Course, 550 pg. Manual, Movies

Linux Server Daemons - Self Taught Course, 550 pg. Manual, Movies

Live Training Network - Choose from 10 Courses Each Week

 

 

 

LVM Manager
Create a Snapshot with LVM
Create a Striped Logical Volume
Verify Snapshot Origin
Create a Mirrored Logical Volume
Resize a Snapshot
Migrate a Logical Volume
 

 

 



Copyright CyberMontana Inc. and BeginLinux.com All rights reserved. Cannot be reproduced without written permission. Box 1262 Trout Creek, MT 59874