Re: LILO with root-raid nightmare - please help.

2006-01-16 Thread drbob
Thanks for the advice, I managed to get the system booting off either disc without further swapping of the drives around though. I set "raid-extra-boot=mbr-only" in lilo.conf. This forces lilo to rewrite the mbr of each disc in the raid1 array and not to the first sector of the raid1 partition.

Re: LILO with root-raid nightmare - please help.

2006-01-16 Thread Alvin Oga
hi ya drbob On Mon, 16 Jan 2006, drbob wrote: > I use mdadm to manage my array. The command was > > mdadm --set-faulty /dev/md1 /dev/hda1 --remove /dev/md1 /dev/hda1 i'd think there might be a short cut version, but i'm being lazy to go look it up - i'd set it faulty first, if the sys

Re: LILO with root-raid nightmare - please help.

2006-01-16 Thread drbob
drbob wrote: I'll post here if the changes I suggest above have any effect. regards, drbob Before I did this I tried a few different settings in lilo.conf and had some success :-). Setting raid-extra-boot=mbr-only avoided the error I was seeing previously: :/etc# lilo -v LILO version 2

Re: LILO with root-raid nightmare - please help.

2006-01-16 Thread drbob
Alvin Oga wrote: what exaactly did you type BEFORE you removed the bad disk ?? raidhotadd, raidhotremove, etc, etc.. is required ( aka good idea ) I use mdadm to manage my array. The command was mdadm --set-faulty /dev/md1 /dev/hda1 --remove /dev/md1 /dev/hda1 (repeated for the other par

Re: LILO with root-raid nightmare - please help.

2006-01-15 Thread Alvin Oga
hi ya drbob On Sun, 15 Jan 2006, drbob wrote: > I've replaced a failed disk in my raid 1 setup. I replaced the disk (hda > on-board ide), what exaactly did you type BEFORE you removed the bad disk ?? raidhotadd, raidhotremove, etc, etc.. is required ( aka good idea ) > So I went into the b

Re: LILO with root-raid nightmare - please help.

2006-01-15 Thread drbob
Mike Bird wrote: They look good. I'm beginning to think that either your partition table is corrupt or it's a non-DOS type that's too large to leave room for LILO. I can't find an fdisk option to ask for the partition table type. You could try "parted /dev/hde print" (etc) to verify that both

Re: LILO with root-raid nightmare - please help.

2006-01-15 Thread Mike Bird
On Sun, 2006-01-15 at 10:40, drbob wrote: > I'm pretty sure it did. Attached are the outputs from fdisk and > mdstat. They look good. I'm beginning to think that either your partition table is corrupt or it's a non-DOS type that's too large to leave room for LILO. I can't find an fdisk option to

Re: LILO with root-raid nightmare - please help.

2006-01-15 Thread drbob
Mike Bird wrote: On Sun, 2006-01-15 at 09:59, drbob wrote: I've replaced a failed disk in my raid 1 setup. I replaced the disk (hda on-board ide), however the system then hung on reboot, this was because hda, being blank, had no MBR. The second disk (hde) is plugged into a promi

Re: LILO with root-raid nightmare - please help.

2006-01-15 Thread Mike Bird
On Sun, 2006-01-15 at 09:59, drbob wrote: > I've replaced a failed disk in my raid 1 setup. I replaced the disk (hda > on-board ide), however the system then hung on reboot, this was because > hda, being blank, had no MBR. The second disk (hde) is plugged into a > promise ide card. So I went int

LILO with root-raid nightmare - please help.

2006-01-15 Thread drbob
Hello, I've replaced a failed disk in my raid 1 setup. I replaced the disk (hda on-board ide), however the system then hung on reboot, this was because hda, being blank, had no MBR. The second disk (hde) is plugged into a promise ide card. So I went into the bios and set it to boot off the pr

Re: root raid: SOLVED

2005-10-23 Thread David Koski
I forgot to mention: add raid1 to /etc/mkinitrd/modules. David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: root raid: SOLVED

2005-10-23 Thread David Koski
I found no /dev/hd?? devices. But here is the whole procedure: * Add /dev/md0, /dev/hda1,/dev/hd... to /etc/minitrd/files * Execute mkinitrd to create image. It should now have the needed /dev nodes. * Mount image and copy to a directory: -- mkdir mnt -- mount -o loop,ro -t cramfs initrd.img-2.6.8

root raid

2005-10-23 Thread David Koski
I have compiled raid drivers into the kernel to get raid on root working. But now I am trying to get another kernel without drivers compiled in to work. mkinitrd did not add the raid1 module needed for the root partition so I added it to /etc/mkinitrd/modules. Now the initrd.img image looks good

Root RAID with Debian supplied kernels?

2003-06-04 Thread Ross Vandegrift
Hello, Has anyone succeeded in making Debian boot a root RAID array with a stock kernel? I've gone through this twice now and cannot figure out how why the initrd I'm making isn't working. For now I've punted and gone back to compiling custom kernels, but I was s

Fw: root raid & xfs journalling file system - woody

2001-10-17 Thread Callide- Eagle Engineering
- Original Message - From: "Callide- Eagle Engineering" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, 18 October 2001 9:25 Subject: root raid & xfs journalling file system - woody > Hi, > > Please cc me as I'm not on the list yet.

Shutdown on Root RAID

1999-07-15 Thread Jay Barbee
Is anyone using a root partition on a software RAID5 volume (kernel 2.2.10)? I recently just setup this as a test, but my problem is I cannot cleanly shutdown. Every time I halt or reboot the system, I cannot cleanly unmount /dev/md0. I run 'fuser -av /' many times during whole shutdown routine