Sungju's Slow Life

Personal journal


filter

  • LVM filter generation

    To limit unnecessary I/O, you might need to make a filter in /etc/lvm/lvm.conf and sometimes, it’s hard to find a proper filter configuration. Here is a simple way you can get a good filter. $ pvs -a –config ‘devices { filter = [ “a|.*|” ] }’ –noheadings -opv_name,fmt,vg_name | awk ‘BEGIN { f = “”;… Continue reading