|
|
ebegin "Setting up the Logical Volume Manager" | ebegin "Setting up the Logical Volume Manager" |
#still echo stderr for debugging | #still echo stderr for debugging |
/sbin/vgscan --mknodes --ignorelockingfailure >/dev/null | /sbin/vgscan --mknodes --ignorelockingfailure >/dev/null |
if [ $? = 0 -a -x /sbin/vgchange ] && \ |
if [ -x /sbin/vgchange ] && \ |
[ -f /etc/lvmtab -o -d /etc/lvm ] | [ -f /etc/lvmtab -o -d /etc/lvm ] |
then | then |
/sbin/vgchange --ignorelockingfailure -a y >/dev/null | /sbin/vgchange --ignorelockingfailure -a y >/dev/null |