Lamar Owen wrote:
On Tuesday, December 06, 2011 02:46:24 PM m.roth@5-cent.us wrote:
Booting purposes is the point: /dev/md0 is /boot. And as the slot's ATA0, it should come up as sda. You mention getting the bootloader sectors over - do you mean, after it's rebuilt and active, to then rerun grub-install?
Either that, or dd the stage1.5 sectors over. See https://en.wikipedia.org/wiki/GNU_GRUB#GRUB_version_1
for more information on where the stage1.5 is located on the disk.
Well, I dd'd the first meg or so with /dev/zero of both /dev/sdc2 and /dev/sdc3 (what happened to /dev/true and /dev/false?), and readded it, and it's happily rebuilding.
Remember, the drive that's failing is /dev/sda. I also don't see why, if I replace the original drive in the original slot (I'm doing this on the clone, whose drive is just fine, thankyouveddymuch), it isn't recognized as /dev/sda.
I've seen that happen before. It was a tad disconcerting at first, but, yes, in the case I saw it a reboot made it back to sda.
I'll be *very* interested about rebooting.
Another question, for you, or Johnny - where's the source code for udevadm? The documentation doesn't, and I was just trying to yum install the udev-devel so I could look at the source code, and there's no such package.
The udev source RPM should contain this. As CentOS 5 doesn't include udevadm, I'm assuming this is CentOS 6, which does, so you'd want to get
http://vault.centos.org/6.0/cr/SRPMS/Packages/udev-147-2.35.el6.src.rpm
which is the latest CentOS source package. (6.2 has a newer one; you could, if you wanted to, go to ftp.redhat.com and grab the src.rpm there).
Thanks a lot - that's much appreciated.
mark