Konstantin Olchanski wrote:
On Tue, Nov 08, 2005 at 04:40:23PM -0700, Dave Jiang wrote:
I see there is an mdadm --auto option now...
Just use --auto or --auto=yes and it should take care of the device node
creations. I have a /etc/mdadm.conf so I just do:
mdadm -As --auto=yes and it brings everything up over udev.
I face a similar problem each time I use KNOPPIX to revive a non-booting
server. It always takes me 10-20 minutes to figure out the right
mdadm incantation to start the md devices. It does not help that mdadm
wants an /etc/mdadm.conf which is on an md device itself, unaccessible.
Hate to say it, that's a reward of a poor config choice and should be fixed.
I wish there were a simple command to find and start all md devices, something
along the lines of:
mdadm --please-find-and-start-all-my-md-devices-please-please-please
or
mdadm --start-all, or whatever.
--
bill davidsen <davidsen@xxxxxxx>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html