> I've got a disk that's starting to fail hard. It's generating alot of > errors in dmesg and /var/log/messages. If the raid disk gets any usage > it'll lock up the box it's spewing errors so fast. I can't get out to > physically yank the disk until Tues but need it off-lined now. Is there > a way to tell mdtools (version 0.42-33) to mark a disk faulty and not > use it? I'll assume this is a RAID-1 or RAID-5 and that you're not trying this on a non-redundant array... # mdadm /dev/md0 --fail /dev/sda1 # mdadm /dev/md0 --remove /dev/sda1 The first command fails /dev/sda1 (a member of /dev/md0) and the second command removes it from /dev/md0. If you are using raidtools try: # raidsetfaulty /dev/md0 /dev/sda1 # raidhotremove /dev/md0 /dev/sda1 -- Derek Vadala, derek@cynicism.com, http://www.cynicism.com/~derek - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html