Re: Removing a failed device from LVM2/DM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan D. Brunelle [Alan.Brunelle@xxxxxx] wrote:
> #device/dev-cache.c:245         /dev/sdab: Already in device cache
> 
> How does one remove the cache? I tried remove /etc/lvm/cache/.cache &
> running vgscan, but no difference.
> 
> Alan

I think removing that file should help. What is your cache_dir setting
in /etc/lvm.conf file? You can completely remove that dir. On my
machine, cache_dir is set to /etc/lvm/cache and doing "rm -rf
/etc/lvm/cache" or "rm -f /etc/lvm/cache/.cache" should help.

BTW, the .cache file is just a text file, see what is there.

Thanks, Malahal.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux