ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Nick S. Grechukh" <nick.grechukh@bigmir.net>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Re: Re: Re: Q: отчего lvm2 так уверенно пытается заменить lvm?
Date: Thu, 14 Jul 2005 21:21:12 +0300
Message-ID: <200507142121.12859.nick.grechukh@bigmir.net> (raw)
In-Reply-To: <pan.2005.07.14.16.35.28.86110@altlinux.com>

В сообщении от Четверг 14 Июль 2005 19:35 Anton Farygin написал(a):
> У нас lvm2 собран с опцией :
>  --enable-lvm1_fallback  Use this to fall back and use LVM1 binaries if
>                           device-mapper is missing from the kernel
> Ну и соответственно lvm1 также собран в
> составе lvm2. Соответственно все должно
> работать (не проверял, требуется проверить).
ага, это хорошо. попробовал:

под ядром 2.6  lvm2 видит тома созданные lvm1 и нормально работает с ними. 
pv созданные lvm2 не могут быть добавлены к vg 1, но можно использовать 
pvcreate -M 1. после манипуляций с  томами вернулся на 2.4 и lvm1 - проблем 
не замечено.

есть одна засада с udevd: поскольку lvm активируется до запуска сервисов, то 
udev перекрывает /dev и volume groups уже не видно. dumb workaround: 
vgchange -a n; vgchange -a y
для рабочей системы это не подходит (если скажем на lvm usr с var).
можно отключать udev. можно сменить в lvm.conf префикс с /dev на другой (на 
какой?)

> Также проверьте работу на ядрах 2.4, если
> все будет нормально, то я уберу зависимость на ядро 2.6.
на ядрах 2.4 lvm2 отказывается работать с сообщением: 
[root@gns root]# vgchange
  vgchange.lvm1: execvp failed: No such file or directory
[root@gns root]# pvcreate /dev/hdd2
  pvcreate.lvm1: execvp failed: No such file or directory

ну и, соответственно, если скажем делать dist-upgrade с поднятым lvm, он уже 
не сможет деактивироваться. соответственно, не закроется md если lvm на 
зеркале. 

imho, это значит что _на_данный_момент_ через dist-upgrade lvm2 
устанавливать нельзя.

  reply	other threads:[~2005-07-14 18:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30  7:24 [sisyphus] " Andrei Bulava
2005-06-30  7:58 ` [sisyphus] " Anton Farygin
2005-06-30 12:44   ` Michael Shigorin
2005-06-30 18:25   ` Sergey S. Skulachenko
2005-07-01  5:58     ` [sisyphus] " Anton Farygin
2005-07-14 16:07       ` Nick S. Grechukh
2005-07-14 16:35         ` [sisyphus] " Anton Farygin
2005-07-14 18:21           ` Nick S. Grechukh [this message]
2005-07-14 18:57             ` [sisyphus] " Anton Farygin
2005-07-15  7:12               ` Nick S. Grechukh
2005-07-15  7:29                 ` [sisyphus] " Anton Farygin
2005-07-15 12:41                   ` Nick S. Grechukh
2005-07-15 13:02                     ` Nick S. Grechukh
2005-07-15 14:24                       ` [sisyphus] " Anton Farygin
2005-07-15 14:28                     ` Anton Farygin
2005-07-15 14:58                       ` [sisyphus] lvm2 Nick S. Grechukh
2005-07-15 15:04                         ` [sisyphus] lvm2 Anton Farygin

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=200507142121.12859.nick.grechukh@bigmir.net \
    --to=nick.grechukh@bigmir.net \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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