Bug 4748
Summary: | RAID autodetect fails - initrd problem? | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Simon Hill <simon> |
Component: | kernel | Assignee: | David Lawrence <dkl> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-08-31 20:00:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Simon Hill
1999-08-27 15:01:20 UTC
This should be fixed in the latest mkinitrd; in the meantime running: mkinitrd --with=<raid personality modules> should work... ------- Additional Comments From 08/31/99 00:24 ------- Yes. That got the autodetect working. Thank you. I still have not been able to get a RAID / partition working, however. Here's what I did: mount /dev/md0 /mnt/raid tar --one-file-system -cf - / | tar -C /mnt/raid -xvf - changed /mnt/raid/etc/lilo.conf -> root=/dev/md0 changed /mnt/raid/etc/fstab -> /dev/md0 / mounted my /boot partition under /mnt/raid/boot lilo -r /mnt/raid -C /etc/lilo.conf This appears to have worked correctly, as upon reboot /dev/md0 is correctly audodetected and started, I get: fsck: /dev/md0: clean ... rc.sysinit: Checking root filesystem succeeded rc.sysinit: Remounting root file-system in read-write mode succeeded other file systems (not yet raid) successfully mounted then: atd[xxx]: Error redirecting I/O: Permission denied atd: atd startup failed Then, if in runlevel 5: X starts to come up, flashes, fails, and then repeats this indefinitely. I can't switch virtual terminals, but I can telnet in. df shows that /dev/md0 is mounted as root, attempting to run atd logs the same error. Upon shutting down, I get: xfs: shutdown failed atd: shutdown failed The permission denied for atd is perplexing. I poked around a little, and tried changing permissions on /dev/md0 to match other partition devices (ie group -> disk, and 640) with the same result. I'm guessing that if I can solve the atd permission denied problem, that the X problem will go away also. Did I screw up the copy? Everything appears to be correct, w/correct permissions, etc. Device files must be OK, or I wouldn't have gotten this far... Any ideas? BTW, I'd better mention that I upgraded to the 2.2.5-22smp kernel, That went fine, I did all the necessary mkinitrd and lilo stuff and all works well with a non-RAID / partition. (Although mkbootdisk didn't include the raid personality modules when making the boot floppy). I also installed all other updates except Netscape and Gnome. mkinitrd has been fixed in Raw Hide to automatically add raid modules. |