ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Ошибка RAID при загрузке KDesktop6-64
Date: Fri, 06 Jan 2012 23:34:52 +0400
Message-ID: <4F074CDC.3060406@mail.ru> (raw)
In-Reply-To: <4F0743FC.9030500@altlinux.ru>

06.01.2012 22:57, Anton Gorlov пишет:
> 06.01.2012 19:33, Vladimir Karpinsky пишет:
>
>>> и обновить /etc/mdadm.conf
>> $ blkid /dev/md1
>> /dev/md1: UUID="9b4f8ad9-d8e3-459d-ba7d-f00a80112666" TYPE="swap"
>> Записываю UUID в /etc/mdadm.conf. Там формат отличен от вывода blkid ---
>> по другому сгруппированы и через ":", а не через "-". Попробовал и, так
>> и так --- без разницы. Кроме того, заметил, что значения UUID в
>> mdadm.conf и fstab различаются.
>
> используйте dadm --examine -scan

$ cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sda2[0] sdb2[1]
       2096064 blocks [2/2] [UU]

md123 : active raid1 sdb1[1] sda1[0]
       515008 blocks [2/2] [UU]

md125 : active raid1 sdb3[1] sda3[0]
       8191424 blocks [2/2] [UU]

md126 : active raid1 sdb5[1] sda5[0]
       20478912 blocks [2/2] [UU]

md127 : active raid1 sdb6[1] sda6[0]
       945476480 blocks [2/2] [UU]

unused devices: <none>

Но:

$ mdadm --examine -scan
ARRAY metadata=ddf UUID=69208afd:45b0e66b:7fb91e39:6ce4d311
ARRAY container=69208afd:45b0e66b:7fb91e39:6ce4d311 member=0 
UUID=848c0e9b:938a642d:2726b0fc:bb91b025
ARRAY /dev/md123 UUID=9f7b07b0:4044bff6:5a1fb057:e6592f16
ARRAY /dev/md124 UUID=5a4b4bbf:0290dab5:4b323da8:3a5ed5aa
^^^^^^^^^^^^^^^^^
ARRAY /dev/md125 UUID=7b08ccba:41b3f939:607bb365:455ac79a
ARRAY /dev/md126 UUID=b6bf39ee:5f9948d4:1f53003e:eb46c473
ARRAY /dev/md127 UUID=85217f79:98a48220:ae8f7b6a:c74b6401

А почему не проходит --update=name? --update=uuid --- без проблем.

При этом в mdadm.conf:

MAILADDR root
PROGRAM /sbin/mdadm-syslog-events
DEVICE partitions

ARRAY metadata=ddf UUID=69208afd:45b0e66b:7fb91e39:6ce4d311
ARRAY container=69208afd:45b0e66b:7fb91e39:6ce4d311 member=0 
UUID=848c0e9b:938a642d:2726b0fc:bb91b025
ARRAY /dev/md0 UUID=9f7b07b0:4044bff6:5a1fb057:e6592f16
ARRAY /dev/md1 UUID=5924ee1e:ddc55d47:59637492:a27f9c65
ARRAY /dev/md2 UUID=7b08ccba:41b3f939:607bb365:455ac79a
ARRAY /dev/md3 UUID=b6bf39ee:5f9948d4:1f53003e:eb46c473
ARRAY /dev/md4 UUID=85217f79:98a48220:ae8f7b6a:c74b6401

Понятно, что у md1 uuid изменился --- запускался --update=uuid? но 
остальные остались те же.

> после приведения в порядок mdadm.conf и указания там правильного UUID при
> поднятом md1 перегенерите initrd

Пока не помогло. Значит не всё ещё исправил...

-- 
	С уважением,
		Владимир.


  reply	other threads:[~2012-01-06 19:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-10 11:02 Vladimir Karpinsky
2011-12-28  7:12 ` Vladimir Karpinsky
2011-12-28  9:14   ` Вячеслав
2011-12-28 11:02     ` Vladimir Karpinsky
2011-12-28 11:07       ` Вячеслав
2011-12-28 11:17         ` Vladimir Karpinsky
2011-12-28 12:33           ` Вячеслав
2011-12-28 14:16             ` Vladimir Karpinsky
2011-12-28 14:32               ` Вячеслав
2011-12-28 15:02                 ` Vladimir Karpinsky
2012-01-06 15:33                 ` Vladimir Karpinsky
2012-01-06 18:57                   ` Anton Gorlov
2012-01-06 19:34                     ` Vladimir Karpinsky [this message]
2012-01-07  7:18                   ` Sergey Vlasov
2012-01-07  7:35                     ` Vladimir Karpinsky
2012-01-07  7:52                       ` Alexei Takaseev
2012-01-07  8:02                         ` Vladimir Karpinsky

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=4F074CDC.3060406@mail.ru \
    --to=vkarpinsky@mail.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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