Lines 637-643
startVolumes() {
Link Here
|
637 |
|
637 |
|
638 |
if [ "${USE_LVM_NORMAL}" = '1' ] |
638 |
if [ "${USE_LVM_NORMAL}" = '1' ] |
639 |
then |
639 |
then |
640 |
if [ -e '/bin/vgscan' -a -e '/bin/vgchange' ] |
640 |
if [ -e '/bin/lvm ] |
641 |
then |
641 |
then |
642 |
for dev in ${RAID_DEVICES} |
642 |
for dev in ${RAID_DEVICES} |
643 |
do |
643 |
do |
Lines 645-653
startVolumes() {
Link Here
|
645 |
done |
645 |
done |
646 |
|
646 |
|
647 |
good_msg "Scanning for Volume Groups" |
647 |
good_msg "Scanning for Volume Groups" |
648 |
/bin/vgscan --ignorelockingfailure --mknodes 2>/dev/null |
648 |
[ -d /etc/lvm/cache ] && /bin/lvm vgscan |
649 |
good_msg "Activating Volume Groups" |
649 |
good_msg "Activating Volume Groups" |
650 |
/bin/vgchange -ay --sysinit 2>/dev/null |
650 |
/bin/lvm vgchange -ay --sysinit |
651 |
|
651 |
|
652 |
# Disable EVMS since lvm is activated and they dont work together. |
652 |
# Disable EVMS since lvm is activated and they dont work together. |
653 |
if [ "${USE_EVMS_NORMAL}" = '1' ] |
653 |
if [ "${USE_EVMS_NORMAL}" = '1' ] |