Skip to contentSkip to conversation

Removing/reinstalling lvmcache

linux-lvm Roy Sigurd Karlsbakk 2 participants 2 messages Jul 10, 2018 – Jul 15, 2018

lore
Share & tools
lore
#0 lore raw

Hi all

I beleive I've removed the old lvmcache, but attempting to install a new one after a reinstall seems not to work.

# lvs -a
  LV         VG   Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  data       data -wi-ao---- 13,67t
  data_corig data vwi-a-v--- 13,67t
  root       sys  -wi-ao---- 82,45g
  swap       sys  -wi-ao----  3,72g
  swap2      sys  -wi-ao----  8,00g

Can I safely remove data_corig without risking losing my stuff? I don't quite understand how it all fits here…

Vennlig hilsen

roy
--
Roy Sigurd Karlsbakk
(+47) 98013356
http://blogg.karlsbakk.net/
GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt
--
Hið góða skaltu í stein höggva, hið illa í snjó rita.

#1 lore raw

Dne 10.7.2018 v 15:30 Roy Sigurd Karlsbakk napsal(a):

Quoted 12 lines

Hi all

I beleive I've removed the old lvmcache, but attempting to install a new one after a reinstall seems not to work.

# lvs -a
   LV         VG   Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
   data       data -wi-ao---- 13,67t
   data_corig data vwi-a-v--- 13,67t
   root       sys  -wi-ao---- 82,45g
   swap       sys  -wi-ao----  3,72g
   swap2      sys  -wi-ao----  8,00g
Quoted 1 line

Can I safely remove data_corig without risking losing my stuff? I don't quite understand how it all fits here…

Hi

I don't quite understand how did you get into this situation.

Were you manipulating metadata yourself with 'vi' editor and vgcfgrestore ?

What is the lvm2 version in use ?

What were the previous commands/errors before you ended in this state ?

Regards

Zdenek