ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Mykola S. Grechukh" <gns@altlinux.ru>
To: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
Subject: [devel] ALM24 update
Date: Fri, 4 Jan 2008 15:12:20 +0200
Message-ID: <a4ab440f0801040512y562e3a5sb792edfe66d3b531@mail.gmail.com> (raw)

В процессе обновления мастера 2.4 до 4.0. перезжаю через промежуточный
3.0. lvmcompat стоит.

При попытке загрузиться в ядро 2.6.12 взрывается LVM. Пришлось в init
1 хачить rc.sysinit:

 # LVM Setting
 VGCHANGE=/sbin/vgchange
 if [ -x "$VGCHANGE" -a -s /etc/lvmtab ]; then
-       modprobe lvm-mod >/dev/null 2>&1
-       if [ -e /proc/lvm ]; then
-               action "Setting up LVM:" "$VGCHANGE" -a y
+       KV=$(uname -r | cut -c -3)
+       if [ "$KV" = "2.4" ] ; then
+               modprobe lvm-mod >/dev/null 2>&1
+                       if [ -e /proc/lvm ]; then
+                               action "Setting up LVM:" "$VGCHANGE" -a y
+                       fi
+       else
+               mount -n -o remount,rw /
+               modprobe dm-mod >/dev/null 2>&1
+               sleep 1
+               action "Setting up LVM 2.6:" "$VGCHANGE" -a y
+               mount -n -o remount,ro /
        fi
 fi

во-первых модуль, во-вторых на RO vgchange не может получить какую-то
блокировку и все равно взрывается.

             reply	other threads:[~2008-01-04 13:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04 13:12 Mykola S. Grechukh [this message]
2008-01-05 12:35 ` Alexander Volkov

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=a4ab440f0801040512y562e3a5sb792edfe66d3b531@mail.gmail.com \
    --to=gns@altlinux.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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