* [devel] ALM24 update
@ 2008-01-04 13:12 Mykola S. Grechukh
2008-01-05 12:35 ` Alexander Volkov
0 siblings, 1 reply; 2+ messages in thread
From: Mykola S. Grechukh @ 2008-01-04 13:12 UTC (permalink / raw)
To: ALT Linux Team development discussions
В процессе обновления мастера 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 не может получить какую-то
блокировку и все равно взрывается.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] ALM24 update
2008-01-04 13:12 [devel] ALM24 update Mykola S. Grechukh
@ 2008-01-05 12:35 ` Alexander Volkov
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Volkov @ 2008-01-05 12:35 UTC (permalink / raw)
To: ALT Linux Team development discussions
On 2008-01-04 15:12:20 +0200, Mykola S. Grechukh wrote:
MSG> В процессе обновления мастера 2.4 до 4.0. перезжаю через промежуточный
MSG> 3.0. lvmcompat стоит.
MSG> При попытке загрузиться в ядро 2.6.12 взрывается LVM. Пришлось в init
MSG> 1 хачить rc.sysinit:
Я переезжал тоже с lvm и почти без промежуточного, только ядро обновлял.
Заметки оставлял в районе f.i.
--
Regards, Alexander
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-05 12:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-04 13:12 [devel] ALM24 update Mykola S. Grechukh
2008-01-05 12:35 ` Alexander Volkov
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