also sprach martin f krafft <[EMAIL PROTECTED]> [2006.05.31.2001 +0200]: > Index: packages/mdcfg/mdcfg.sh > =================================================================== > --- packages/mdcfg/mdcfg.sh (revision 37707) > +++ packages/mdcfg/mdcfg.sh (working copy) > @@ -484,7 +484,8 @@ > mkdir -p /dev/md > > # Try to detect MD devices, and start them > -mdrun > +mdadm --examine --scan --config=partitions > /tmp/mdadm.conf > +mdadm --assemble --scan --config=/tmp/mdadm.conf --auto=yes > > # Make sure that we have md-support > if [ ! -e /proc/mdstat ]; then
You may want to pass --run to mdadm --assemble to enable starting of degraded arrays. > Index: packages/rescue/debian/rescue-mode.postinst > =================================================================== > --- packages/rescue/debian/rescue-mode.postinst (revision 37707) > +++ packages/rescue/debian/rescue-mode.postinst (working copy) > @@ -28,7 +28,8 @@ > try_load_module raid0 > try_load_module raid1 > try_load_module raid5 > -log-output -t rescue mdrun || true > +mdadm --examine --scan --config=partitions > /tmp/mdadm.conf || true > +log-output -t rescue mdadm --assemble --scan --config=/tmp/mdadm.conf > --auto=yes || true > > # LVM support > try_load_module dm-mod ditto. > Index: packages/partman/partman-md/init.d/md > =================================================================== > --- packages/partman/partman-md/init.d/md (revision 37707) > +++ packages/partman/partman-md/init.d/md (working copy) > @@ -10,7 +10,8 @@ > #modprobe raid1 1>/dev/null 2>&1 > # > ## Detect and start MD devices > -#/sbin/mdrun > +#/sbin/mdadm --examine --scan --config=partitions > /tmp/mdadm.conf > +#/sbin/mdadm --assemble --scan --config=/tmp/mdadm.conf --auto=yes > > # Mark all RAID partitions as being MD > for dev in /var/lib/partman/devices/*; do ditto. -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer and author: http://debiansystem.info `. `'` `- Debian - when you have better things to do than fixing a system "glaube heißt nicht wissen wollen, was wahr ist." - friedrich nietzsche
signature.asc
Description: Digital signature (GPG/PGP)