Liam Kirsher
2008-Oct-05 02:59 UTC
[CentOS] Help -- LVM snapshot full -- how do I recover?
Hi -- I forgot to remove an LVM snapshot after making a backup. Now neither the snapshot nor the original volume are available. How do I recover and get the original volume back online? Currently, the output of lvs looks like LV VG Attr LSize Origin Snap% Move Log Copy% ...... dom5_data VolGroup01 -wi-ao 10.00G domTemplate_data VolGroup01 -wi-a- 2.00G dom6_data VolGroup02 owi-i- 24.00G dom6_snap VolGroup02 swi-d- 1.00G dom6_data 100.00 Any help very much appreciated! Liam This is on a Dell 2950 with CentOS 5.0 running Xen -- Liam Kirsher PGP: http://liam.numenet.com/pgp/
On Sat, 4 Oct 2008, Liam Kirsher wrote:> I forgot to remove an LVM snapshot after making a backup. Now neither > the snapshot nor the original volume are available. > How do I recover and get the original volume back online? > > Currently, the output of lvs looks like > > LV VG Attr LSize Origin Snap% Move Log Copy% > ...... > dom5_data VolGroup01 -wi-ao 10.00G > domTemplate_data VolGroup01 -wi-a- 2.00G > dom6_data VolGroup02 owi-i- 24.00G > dom6_snap VolGroup02 swi-d- 1.00G dom6_data 100.00option 1) remove the snap shot, original should be fine then option 2) extend the snap shot, original should be fine then ---------------------------------------------------------------------- Jim Wildman, CISSP, RHCE jim at rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine