linux-raid fatal: duplicate geometry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




	Hello All ,  Having a bit o' trouble here .

	I am attempting to create a raid1 & bootable system .
	I am finding that lilo keeps looking at /dev/sda for the boot
	sector and never /dev/sdb .  And also the 'fatal: ...' error
	mentioned in the subject .  Tia ,  JimL
	lilo command & lilo.conf & partition info & mdadm output below .

 # lilo -v 2 -C etc/lilo.conf -r /mnt
LILO version 21.7-5, Copyright (C) 1992-1998 Werner Almesberger
Linux Real Mode Interface library Copyright (C) 1998 Josh Vanderhoof
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 06-May-2001 and compiled at 15:36:08 on Jun 15 2001.

boot = /dev/sda, map = /boot/map.0803
Reading boot sector from /dev/sda
Merging with /boot/boot.b
Secondary loader: 11 sectors.
Boot image: /boot/vmlinuz
Setup length is 10 sectors.
Mapped 2401 sectors.
Added privateers *
Boot image: /boot/vmlinuz.safe
Setup length is 10 sectors.
Mapped 2341 sectors.
Added privateers.safe
Boot image: /boot/vmlinuz.old
Setup length is 10 sectors.
Mapped 2401 sectors.
Added privateers.old
/boot/boot.0800 exists - no backup copy made.
Map file size: 42496 bytes.
Writing boot sector.
Fatal: Duplicate geometry definition for /dev/md0

 # cat etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/md1
disk=/dev/md0
#partition=/dev/md1
map=/boot/map
install=/boot/boot.b
# compact # faster, but won't work on all systems.
delay = 50
# Normal VGA console
vga = normal
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
#
image = /boot/vmlinuz
  root = /dev/md0
  label = privateers
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
#
image = /boot/vmlinuz.safe
  root = /dev/md0
  label = privateers.safe
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
#
image = /boot/vmlinuz.old
  root = /dev/md0
  label = privateers.old
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
#
# Linux bootable partition config ends


 # fdisk -l /dev/sda

Disk /dev/sda: 255 heads, 63 sectors, 4494 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1           329      4494  33463395   fd  Linux raid autodetect
/dev/sda2            67       328   2104515   82  Linux swap
/dev/sda3             1        66    530113+  fd  Linux raid autodetect

Partition table entries are not in disk order

 # fdisk -l /dev/sdb

Disk /dev/sdb: 255 heads, 63 sectors, 4494 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1           329      4494  33463395   fd  Linux raid autodetect
/dev/sdb2            67       328   2104515   82  Linux swap
/dev/sdb3             1        66    530113+  fd  Linux raid autodetect

Partition table entries are not in disk order

 # /root/mdadm --detail -b /dev/md0
ARRAY /dev/md0 level=raid1 disks=2 UUID=7a5eb6d8:f897e146:746b52a2:dee68af6

 # /root/mdadm --detail -b /dev/md1
ARRAY /dev/md1 level=raid1 disks=2 UUID=df32c406:7df4b1f4:94eb69ce:b9976c73

 # /root/mdadm --examine -b /dev/sd[ab]1
ARRAY /dev/md0 level=raid1 disks=2 UUID=7a5eb6d8:f897e146:746b52a2:dee68af6
   devices=/dev/sda1,/dev/sdb1

 # /root/mdadm --examine -b /dev/sd[ab]3
ARRAY /dev/md1 level=raid1 disks=2 UUID=df32c406:7df4b1f4:94eb69ce:b9976c73
   devices=/dev/sda3,/dev/sdb3


       +------------------------------------------------------------------+
       | James   W.   Laferriere | System    Techniques | Give me VMS     |
       | Network        Engineer |     P.O. Box 854     |  Give me Linux  |
       | babydr@baby-dragons.com | Coudersport PA 16915 |   only  on  AXP |
       +------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux