SOLVED!
I just booted straight through, and had all of my volumes online and correctly mounted.
I just don't know why it was solved.
The last thing I had done before completely breaking my boot sequence was add md to /etc/initramfs/modules and run update-initramfs-u . That broke the system.
I restored a backup of initrd.img-2.6.24-23-server and rebooted, but had not re-run lilo (so it did not work).
I re-ran lilo, rebooted, and now am OK.
The problem I have with this is that I'm [AFAIK] back to a condition where the md array previously did not load -- but it does now!
Anyone have any ideas on what I did to solve this????
Here are some configs and outputs that may be helpful.. This is the working state:
Note: the LILO mbr is on /dev/sda . My BIOS explicitly defines that /dev/sdc should be first, both in boot order and "disk order" (two different settings).
fdisk -l
Code:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7b211aea
Device Boot Start End Blocks Id System
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x39ee015c
Device Boot Start End Blocks Id System
Disk /dev/sdc: 249.3 GB, 249376538624 bytes
255 heads, 63 sectors/track, 30318 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sdc1 1 9 72261 de Dell Utility
/dev/sdc2 10 271 2104515 b W95 FAT32
/dev/sdc3 29096 30318 9823747+ 5 Extended
/dev/sdc4 * 272 29095 231528780 8e Linux LVM
/dev/sdc5 29096 30318 9823716 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/md0: 1000.2 GB, 1000204795904 bytes
2 heads, 4 sectors/track, 244190624 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x7b211aea
Device Boot Start End Blocks Id System
blkid
Code:
/dev/mapper/vg01-lv01--root: UUID="ee65919c-f4a6-47f5-b364-50ee440bca53" TYPE="ext3" SEC_TYPE="ext2"
/dev/mapper/vg01-lv02--vm: UUID="7cd2f57c-57b9-4804-b44a-99ad2ed8bba6" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda: UUID="ae9f25ec-45ab-c596-3dfb-bfe71d19cdde" TYPE="mdraid"
/dev/sdb: UUID="ae9f25ec-45ab-c596-3dfb-bfe71d19cdde" TYPE="mdraid"
/dev/sdc1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="07D9-050F" TYPE="vfat"
/dev/sdc2: LABEL="OS" UUID="07D9-050F" TYPE="vfat"
/dev/sdc4: UUID="8SiUaM-fbj2-5Pgo-y0TC-54tx-zKi8-Gl3gfC" TYPE="lvm2pv"
/dev/sdc5: TYPE="swap" UUID="7aeff811-9401-4f96-97ac-b09c525f333c"
/dev/md0: UUID="T2Ioi2-0U2V-paRM-WTlA-DbPe-G2ZZ-fFSMf1" TYPE="lvm2pv"
/dev/mapper/vg02-lv03--vm: UUID="3f9f7227-fcf7-4fc7-9dfa-6b47f57e5a57" TYPE="ext3"
ls -l /dev/mapper
Code:
total 0
crw-rw---- 1 root root 10, 63 2009-05-24 15:30 control
brw-rw---- 1 root disk 254, 0 2009-05-24 15:30 vg01-lv01--root
brw-rw---- 1 root disk 254, 1 2009-05-24 15:30 vg01-lv02--vm
brw-rw---- 1 root disk 254, 2 2009-05-24 15:30 vg02-lv03--vm
ls -l /dev/disk/by-uuid/
Code:
total 0
lrwxrwxrwx 1 root root 10 2009-05-24 15:30 07D9-050F -> ../../sdc2
lrwxrwxrwx 1 root root 26 2009-05-24 15:30 3f9f7227-fcf7-4fc7-9dfa-6b47f57e5a57 -> ../../mapper/vg02-lv03--vm
lrwxrwxrwx 1 root root 10 2009-05-24 15:30 7aeff811-9401-4f96-97ac-b09c525f333c -> ../../sdc5
lrwxrwxrwx 1 root root 26 2009-05-24 15:30 7cd2f57c-57b9-4804-b44a-99ad2ed8bba6 -> ../../mapper/vg01-lv02--vm
lrwxrwxrwx 1 root root 28 2009-05-24 15:30 ee65919c-f4a6-47f5-b364-50ee440bca53 -> ../../mapper/vg01-lv01--root
cat /etc/mdadm/mdadm.conf
Code:
DEVICE /dev/sda /dev/sdb
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=ec259fae:96c5ab45:e7bffb3d:decd191d devices=/dev/sda,/dev/sdb
mdadm --detail /dev/md0
Code:
/dev/md0:
Version : 00.90.03
Creation Time : Thu May 21 11:52:53 2009
Raid Level : raid1
Array Size : 976762496 (931.51 GiB 1000.20 GB)
Used Dev Size : 976762496 (931.51 GiB 1000.20 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sun May 24 15:31:47 2009
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : ec259fae:96c5ab45:e7bffb3d:decd191d (local to host hm-vm01)
Events : 0.6
Number Major Minor RaidDevice State
0 8 0 0 active sync /dev/sda
1 8 16 1 active sync /dev/sdb
cat /etc/fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/mapper/vg01-lv01--root
UUID=ee65919c-f4a6-47f5-b364-50ee440bca53 / ext3 relatime,errors=remount-ro 0 1
# /dev/mapper/vg01-lv02--vm
/dev/vg01/lv02-vm /opt/vm-disks/01 ext3 relatime 0 2
# /dev/sdb5
/dev/sdb5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
#/dev/mapper/vg01-lv03--vm
/dev/vg02/lv03-vm /opt/vm-disks/02 ext3 relatime 0 2
cat /etc/lilo.conf
Code:
boot=/dev/sdc
large-memory
map=/boot/map
delay=20
default=Linux
image=/vmlinuz
label=Linux
read-only
# restricted
# alias=1
append="root=/dev/mapper/vg01-lv01--root "
initrd=/initrd.img
image=/vmlinuz.old
label=LinuxOLD
read-only
optional
# restricted
# alias=2
append="root=/dev/mapper/vg01-lv01--root "
initrd=/initrd.img.old
Thanks for reading.. ;)
Bookmarks