ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Соломонов С Н" <solic@codis.com.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] lilo, raid1, X86_64
Date: Tue, 06 Feb 2007 15:46:52 +0300
Message-ID: <45C878BC.4060807@codis.com.ru> (raw)
In-Reply-To: <17870.194.85.185.72.1170762423.squirrel@mojo.unsafe.ru>

Konstantin A. Lepikhov пишет:
> <цитата от="Соломонов С Н">
>> Уважаемые коллеги!
>> Пытаюсь поднять root raid на сервере .
>> Система - сизиф x86_64
>> Оптимизм был из фразы
>> "Вах, но по крайней мере оно опять умеет RAID! :-)
>> http://lists.altlinux.org/pipermail/devel/2007-January/040129.html
>> Система сидит на соседнем диске /dev/sdd, обновлена до текущего
>> состояния.
>> md0 = sda1 sdb1  sbc1 (-spare)
>> Что делаю, приведено ниже.
>> Кто знает, что не так?
>> (комментарии disk в  lilo.conf - переносил с сервера с m24 на
>> котором аналогичная конфигурация работает, новое lilo -не даёт
>> несколько 0x80- это другие будут грабли при загрузке)
>> =======================================================
>>   #/lib/udev/vol_id --export /dev/sda1
>> ID_FS_USAGE=raid
>> ID_FS_TYPE=linux_raid_member
>> ID_FS_VERSION=0.90.0
>> ID_FS_UUID=03a4998e-47f8-fa8f-0c51-d181ec6f0ac6
>> ID_FS_LABEL=
>> ID_FS_LABEL_SAFE=
>> # mount -t proc none /mnt/root/proc
>> # mount --bind /dev /mnt/root/dev
>> # mount --bind /sys /mnt/root/sys
>> # cat /mnt/root/etc/lilo.conf
>> boot=/dev/md0
>> lba32
>> message=/boot/splash/message
>> #vga=0x317
>> vga=normal
>> prompt
>> timeout=50
>> map=/boot/map
>> raid-extra-boot=mbr-only
>> #disk=/dev/sda bios=0x80
>> #disk=/dev/sdb bios=0x80
>> #disk=/dev/sdc bios=0x80
>>
>> image=/boot/vmlinuz-2.6.18-std-smp-alt3
>>    label="linux-raid"
>>    root=/dev/md0
>>    read-only
>>    initrd=/boot/initrd-2.6.18-std-smp-alt3-raid.img
>>    append=" splash=silent"
>> # chroot /mnt/root
>> # lilo -t -v4
>> LILO version 22.7.3 (test mode), Copyright (C) 1992-1998 Werner
>> Almesberger
>> Development beyond version 21 Copyright (C) 1999-2006 John Coffman
>> Released 11-Aug-2006, and compiled at 15:29:54 on Jan 17 2007
>>
>> pf:  dev=0800  id=3FE995C6  name=/dev/sda
>> pf:  dev=0810  id=7025DF2A  name=/dev/sdb
>> pf:  dev=0820  id=0B70366A  name=/dev/sdc
>> pf:  dev=0830  id=753DA5F7  name=/dev/sdd
>> pf_hard_disk_scan: ndevs=4
>>    0800  3FE995C6  /dev/sda
>>    0810  7025DF2A  /dev/sdb
>>    0820  0B70366A  /dev/sdc
>>    0830  753DA5F7  /dev/sdd
>> Resolve invalid VolumeIDs
>> Resolve duplicate VolumeIDs
>>    0800  3FE995C6  /dev/sda
>>    0810  7025DF2A  /dev/sdb
>>    0820  0B70366A  /dev/sdc
>>    0830  753DA5F7  /dev/sdd
>> device codes (user assigned pf) = 0
>> device codes (user assigned) = 0
>> device codes (BIOS assigned) = F
>> device codes (canonical) = F
>> RAID info:  nr=3, raid=2, active=2, working=3, failed=0, spare=1
>> md: RAIDset device 0 = 0xFD00
>> device-mapper: device: 0xfd0e: name: [sdc7]
>> device-mapper: device: 0xfd04: name: [sdb2]
>> device-mapper: device: 0xfd0b: name: [sdc6]
>> device-mapper: device: 0xfd01: name: [sdb1]
>> device-mapper: device: 0xfd08: name: [sdc5]
>> device-mapper: device: 0xfd0c: name: [sda7]
>> device-mapper: device: 0xfd09: name: [sda6]
>> device-mapper: device: 0xfd06: name: [sda5]
>> device-mapper: device: 0xfd05: name: [sdc2]
>> device-mapper: device: 0xfd11: name: [sdd6]
>> device-mapper: device: 0xfd02: name: [sdc1]
>> device-mapper: device: 0xfd10: name: [sdd5]
>> device-mapper: device: 0xfd0d: name: [sdb7]
>> device-mapper: device: 0xfd03: name: [sda2]
>> device-mapper: device: 0xfd0a: name: [sdb6]
>> device-mapper: device: 0xfd00: name: [sda1]
>> Device 0x0800: BIOS drive 0x83, 255 heads, 30515 cylinders,
>>                 63 sectors. Partition offset: 0 sectors.
>> registering bios=0x83  device=0x0800
>> Using Volume ID 3FE995C6 on bios 83
>> RAID scan: geo_get: returns geo->device = 0x83 for device FD00
>> Fatal: is_primary:  Not a valid device  0xFD00
>> [root@cluster1 /]#
>> ==============================================
> а версия lilo какая?
> 
~]$ rpm -q lilo
lilo-22.7.3-alt4




      reply	other threads:[~2007-02-06 12:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-06  9:51 Соломонов С Н
2007-02-06 11:47 ` Konstantin A. Lepikhov
2007-02-06 12:46   ` Соломонов С Н [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45C878BC.4060807@codis.com.ru \
    --to=solic@codis.com.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git