- Timestamp:
- Aug 28, 2009, 7:03:45 PM (16 years ago)
- Location:
- branches/2.2.9/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/README.bootparam
r2255 r2353 39 39 Do not call the mindi-rsthw script which try to restore also your BIOSes configuration (Proliant only) 40 40 41 nomd 42 Do not try to start mdadm support 43 41 44 nompath 42 45 Do not try to start multipath support -
branches/2.2.9/mindi/rootfs/sbin/init
r2346 r2353 445 445 return; 446 446 fi 447 echo "Starting Mpath..." 448 if [ -x /sbin/multipath ]; then 449 mkdir -p /var/lib/multipath 450 cat > /etc/multipath.conf << EOF 447 if [ "`grep mpath /tmp/mountlist.txt`" ]; then 448 if [ -x /sbin/multipath ]; then 449 echo "Starting Mpath..." 450 mkdir -p /var/lib/multipath 451 cat > /etc/multipath.conf << EOF 451 452 defaults { 452 453 user_friendly_names yes 453 454 } 454 455 EOF 455 /sbin/multipath -v 0 456 if [ -x /sbin/kpartx ]; then 457 /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a -p p" 456 /sbin/multipath -v 0 457 if [ -x /sbin/kpartx ]; then 458 /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a -p p" 459 fi 458 460 fi 459 461 fi … … 462 464 StartRaids() { 463 465 local raid_devices i 466 467 if [ "`grep -i noraid /proc/cmdline`" ]; then 468 return; 469 fi 464 470 465 471 raid_devices=`grep /dev/md /tmp/mountlist.txt | cut -d' ' -f1` … … 474 480 done 475 481 elif which mdrun > /dev/null 2> /dev/null ; then 482 if [ "`grep -i nomd /proc/cmdline`" ]; then 483 return; 484 fi 476 485 LogIt "Running 'mdrun'" 1 477 486 mdrun 478 487 elif which mdadm > /dev/null 2> /dev/null ; then 488 if [ "`grep -i nomd /proc/cmdline`" ]; then 489 return; 490 fi 479 491 LogIt "Running 'mdadm'" 1 480 492 for i in $raid_devices ; do
Note:
See TracChangeset
for help on using the changeset viewer.