<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Sorry if everyone already got this. I don't see it in the archives and I just subscribed to the mailing list itself..<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: rgb(0, 0, 0);"><div>Hello all,<br><br>I am having an issue where it seems that the vgs 
command is adding new LV's to the  /etc/lvm/cache/.cache but they never 
get removed when the LV's are deleted.   <br><br>Basically this 
eventually causes me to run out of space in /var/log because dmeventd is
 reading the cache file and trying to stat all the removed LV's which 
leads to the log files having a bunch of cannot stat lv because it was 
one that was removed.<br><br>Here is what I do:<br><br>-bash-3.2$  sudo lvcreate --name tom2323tt --size 20G sys<br>-bash-3.2$  sudo  /usr/sbin/vgs --separator : --noheadings --units b --unbuffered --nosuffix --options vg_size,vg_free sys<br>-bash-3.2$ sudo cat  /etc/lvm/cache/.cache  | grep tom<br># This file is automatically
 maintained by lvm.<br>                "/dev/mapper/sys-tom2323tt",<br>                "/dev/sys/tom2323tt",<br>-bash-3.2$ sudo lvremove /dev/sys/tom2323tt<br>-bash-3.2$  sudo  /usr/sbin/vgs --separator : --noheadings --units b --unbuffered --nosuffix --options vg_size,vg_free sys<br>  <span class="yshortcuts" id="lw_1282225911_0">497717084160</span>:436295696384<br>-bash-3.2$ sudo cat  /etc/lvm/cache/.cache  | grep tom<br># This file is automatically maintained by lvm.<br>                "/dev/mapper/sys-tom2323tt",<br>               
 "/dev/sys/tom2323tt",<br><br>This is running rhel5.4 with lvm2-<span class="yshortcuts" id="lw_1282225911_1">2.02.46</span>-8.el5.<br><br>I know that do get cleaned up by vgscan but we currently aren't
 running it.<br><br>Does anyone know why they aren't deleted?   Am I missing something?<br><br>Thanks,<br>Tom</div>
</div></div></div>
</div></body></html>