Lines Matching refs:lvm
3 # $NetBSD: lvm,v 1.8 2021/08/21 23:00:30 andvar Exp $
6 # PROVIDE: lvm
12 name="lvm"
29 if [ -x /sbin/lvm ]; then
30 echo "Configuring lvm devices."
33 /sbin/lvm vgscan --mknodes --ignorelockingfailure >/dev/null
36 /sbin/lvm vgchange --ignorelockingfailure -a y >/dev/null
37 LV_LIST=$(/sbin/lvm vgdisplay -C -o vg_name --noheadings 2>/dev/null)
52 if [ -x /sbin/lvm ]; then
53 echo "Unconfiguring lvm devices."
55 LOGICAL_VOLUMES=$(/sbin/lvm lvdisplay -C -o vg_name,lv_name \
57 VOLUME_GROUPS=$(/sbin/lvm vgdisplay -C -o vg_name \
61 LV_IS_ACTIVE=$(/sbin/lvm lvdisplay -C --noheadings \
66 /sbin/lvm lvchange -an --ignorelockingfailure \
75 set -- $(/sbin/lvm vgdisplay -cA ${vg} 2>/dev/null)
82 /sbin/lvm vgchange -an --ignorelockingfailure \