January 22, 2005

WARNING! NOTE: if you are recovering a double-disk error or some other failure mode that made your array unrunnable but data is still intact then it's strongly recommended to use the lsraid utility and to read the lsraid HOWTO. If your RAID array holds useful and not yet backed up data then --force and the hot-add/hot-remove functionality should be used with extreme care! If your /etc/raidtab file is not in sync with the real array configuration, then --force might DESTROY ALL YOUR DATA. It's especially dangerous to use -f if the array is in degraded mode. If your /etc/raidtab file matches the real layout of on-disk data then recreating the array will not hurt your data, but be aware of the risks of doing this anyway: freshly created RAID1 and RAID5 arrays do a full resync of their mirror/parity blocks, which, if the raidtab is incorrect, the resync will wipe out data irrecoverably. Also, if your array is in degraded mode then the raidtab must match the degraded config exactly, otherwise you'll get the same kind of data destruction during resync. (see the failed-disk raidtab option.) You have been warned! [ If your array holds no data, or you have it all backed up, or if you know precisely what you are doing and you still want to proceed then use the --really-force (or -R) flag. ]Of course, you'd only be trying this if your raidset was already toast and you have nothing to lose. But the interesting thing comes if you follow those instructions: It says
DESTROYING the contents of /dev/md6 in 5 seconds, Ctrl-C if unsure!Which is in fact exactly what it isn't (or isn't supposed to be) doing. What this command does is assemble your disks into a RAID volume without actually writing over any of your data. After all the dire warnings, we are left with a promise of disaster and destruction which is never to be fulfilled! Unless, of course, it doesn't work. We shall see... * And women, too, of course, but they had to be that special breed of woman who can take apart a carburetor, clean it, and put it back together without any parts left over.
** You might ask why a computer would have a command so pointless and destructive. The answer is, of course, that someday someone might want to grind the drive heads into the platters, and when that day comes, we will be ready!
Posted by: Pixy Misa at 02:01 AM | Comments (11) | Add Comment | Trackbacks (Suck)

Posted by: Susie at January 22, 2005 02:42 AM (CDC0W)
So it's not quite totally idiot-proof yet.
Posted by: TallDave at January 22, 2005 06:58 AM (oDnE7)
</repeating old jokes>
Posted by: McGehee at January 23, 2005 04:13 AM (S504z)
Posted by: Jim at January 25, 2005 12:07 AM (tyQ8y)
XML is one of the easiest ways to exchange data between applications. When XML first became available, many developers attempted to write their own XML parsers in the language of their choice. Indeed, because XML consists of tags, writing such a parser in T-SQL isn't very difficult. However, going though thousands of lines of XML can quickly degrade performance. That's why it is nice to have the OPENXML function, which does the parsing work for you fairly efficiently.
Posted by: J. Arnold at January 25, 2005 03:39 PM (vddKB)
I guess I'm too young to know all the old jokes.
Posted by: TallDave at January 26, 2005 04:04 AM (2VQaM)

Finaly I got it (after 12hours or so).
mkraid --dangerous-no-resync -R worked for me.
So again, thanks a lot for this article.
Posted by: phokz at October 24, 2005 04:11 AM (K7mJ6)
Posted by: buy diazepam online at May 08, 2006 09:29 PM (iU9qR)
Posted by: tooth whitening los angeles at May 22, 2006 05:07 AM (iU9qR)
Posted by: 2011 christian louboutin at May 24, 2011 09:49 PM (rAqze)
Processing 0.0, elapsed 0.0094 seconds.
16 queries taking 0.0049 seconds, 32 records returned.
Page size 15 kb.
Powered by Minx 0.8 beta.