Upgrading without breaking LVM
On Wednesday 18 June 2008, Matt Harrison wrote:
> On Wed, Jun 18, 2008 at 10:46:25PM +0200, Florian Philipp wrote: > > Which versions are you using, to which shall they be updated and on > > which arch are you? Knowing emerge --info and your profile might > > also help. > > Thanks for the reply. > > Ok, versions in use: > > lvm2-2.02.10 > mdadm-2.6.4-r1 > udev-104-r12 Hang on a minute .... Those are stable packages. IIRC you are using baselayout-2 right? I'm not surprised you are having trouble. What happens if you mark lvm2, mdadm and udev unstable and re-merge? Does it just update those packages, or does it pull in a ton of other stuff as well? AFAIK, there isn't an easy way to downgrade baselayout, and I wouldn't like to try either.... -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list |
Upgrading without breaking LVM
On Wed, 18 Jun 2008 18:41:12 +0100
Matt Harrison <iwasinnamuknow@genestate.com> wrote: > > Hi all, > > Some of you may remember my problems with lvm after an update in > http://www.archivum.info/gentoo-user@lists.gentoo.org/2008-04/msg00899.html > > I'm now headed back towards the same situation. I have a load of > updates to do according to emerge -DNavu world but I've had to mask > all upgraded versions of udev, mdadm and lvm as every time I upgrade > them, it breaks my disk access. > > Whenever I upgrade these packages (I'm not which one of those 3 is > actually to blame, and I don't want to chance it) I can no longer > access the lvm volumes on my disks. I have no idea what is causing it. > > This means I cannot do a world update as those manually masked > packages are blocking a lot of other packages. > > A few months on, is anyone able to shed light on why updating any of > those 3 packages causes my system to be unbootable and my data to be > inaccessible? > > I would really like to keep my system up to date, but as you can > understand, I'm loathe to make changes that will give me a borked > system yet again. > > Grateful for advice anyone can give as my system is now getting quite > out of date. > > Thanks > > Matt Harrison Which versions are you using, to which shall they be updated and on which arch are you? Knowing emerge --info and your profile might also help. By the way: Did you report it as a bug? If not, I would certainly do so if I were you. |
Upgrading without breaking LVM
On Wed, Jun 18, 2008 at 10:46:25PM +0200, Florian Philipp wrote:
> Which versions are you using, to which shall they be updated and on > which arch are you? Knowing emerge --info and your profile might also > help. Thanks for the reply. Ok, versions in use: lvm2-2.02.10 mdadm-2.6.4-r1 udev-104-r12 I've masked updates to an versions after those above. Emerge wants to upgrade to the following: lvm2-2.02.28-r2 udev-119 mdadm doesn't actually want to be upgraded so it must be a problem with one of those two packages. All I know is when I do a world update, my lvm dies and I have to reinstall or go through a painful downgrade procedure. > By the way: Did you report it as a bug? If not, I would certainly do so > if I were you. I haven't but that's because no-one else has reported problems like this, and I can work out why its affecting me in enough detail. I don't want to submit a but report unless I can back it up with some useful information. |
Upgrading without breaking LVM
On Wed, 18 Jun 2008 22:01:03 +0100
Matt Harrison <iwasinnamuknow@genestate.com> wrote: > On Wed, Jun 18, 2008 at 10:46:25PM +0200, Florian Philipp wrote: > > Which versions are you using, to which shall they be updated and on > > which arch are you? Knowing emerge --info and your profile might > > also help. > > Thanks for the reply. > > Ok, versions in use: > > lvm2-2.02.10 > mdadm-2.6.4-r1 > udev-104-r12 > > I've masked updates to an versions after those above. Emerge wants to > upgrade to the following: > > lvm2-2.02.28-r2 > udev-119 > udev-104 ?! That's not even in the portage tree any longer, right? In any case: Opening a bug might help you faster than we could. The only advice I can give you is to upgrade udev first so you know which package really has the bug and then to try newer versions of lvm, I'd try 2.02.36 which is marked stable for amd64 (I guess, you're on x86?). |
Upgrading without breaking LVM
On Wed, Jun 18, 2008 at 11:48:19PM +0200, Florian Philipp wrote:
> On Wed, 18 Jun 2008 22:01:03 +0100 > Matt Harrison <iwasinnamuknow@genestate.com> wrote: > > > On Wed, Jun 18, 2008 at 10:46:25PM +0200, Florian Philipp wrote: > > > Which versions are you using, to which shall they be updated and on > > > which arch are you? Knowing emerge --info and your profile might > > > also help. > > > > Thanks for the reply. > > > > Ok, versions in use: > > > > lvm2-2.02.10 > > mdadm-2.6.4-r1 > > udev-104-r12 > > > > I've masked updates to an versions after those above. Emerge wants to > > upgrade to the following: > > > > lvm2-2.02.28-r2 > > udev-119 > > > > udev-104 ?! That's not even in the portage tree any longer, right? Quite possibly, its installed from the 2007.0 stage3 tarball. And in reply to Alan's post, no I'm not (intentionally) useing BL2. Nothing is marked unstable on this machine with the example of a ruby module i quite like. This was the problem before, if I let emerge upgrade mdadm and lvm2, its starts trying to run BL2 initscripts and complaining that I'm not using BL2. > In any case: Opening a bug might help you faster than we could. The only > advice I can give you is to upgrade udev first so you know which > package really has the bug and then to try newer versions of lvm, I'd > try 2.02.36 which is marked stable for amd64 (I guess, you're on x86?). Yes I'm on x86. I've got a few other amd64 systems that does have any problems, but I'm installing a test machine now with a layout as close to this problem system as possible. I'll try upgrading udev, then lvm2 and see if I can break it as well. As I say its annoying because obviously I'm about the only one with this problem. I didn't think my setup was that peculiar :P I'll look into a bug report as soon as I can pin down which package is causing the real probs. Thanks |
Upgrading without breaking LVM
Am Donnerstag, 19. Juni 2008 schrieb ext Matt Harrison:
> And in reply to Alan's post, no I'm not (intentionally) useing BL2. > Nothing is marked unstable on this machine with the example of a ruby > module i quite like. > > This was the problem before, if I let emerge upgrade mdadm and lvm2, its > starts trying to run BL2 initscripts and complaining that I'm not using > BL2. Well, then upgrade to BL2! And upgrade all the other packages as well. You only have to keep in mind to tell the initscripts that your RAID and LVM devices need to be activated, too. This is done in /etc/rc.conf, like rc_<this_init_script>_need="<another_init_script>" In my case, I need to activate EVMS volumes, so I let fsck depend on it: rc_fsck_need="evms" On my laptop, which also has its disks encrypted, I have this: rc_dmcrypt_need="evms" rc_fsck_need="dmcrypt" For you, this would be (guess) rc_lvm_need="mdadm" (or whatever this init script is called) rc_fsck_need="lvm" HTH... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net |
Upgrading without breaking LVM
On Thu, Jun 19, 2008 at 07:33:11AM +0200, Dirk Heinrichs wrote:
> Well, then upgrade to BL2! And upgrade all the other packages as well. You > only have to keep in mind to tell the initscripts that your RAID and LVM > devices need to be activated, too. Isn't BL2 masked ~arch? I think it was when I originally ran into this problem. Doesn't that mean that my system will upgrade stable packages that MUST be run using a package that I have to unmask? That sounds a little like a bug if I'm brutally honest. If this is the case I would have at least liked an annoucement or something. On the other hand, I don't think this is case as I've installed a test system copying my setup as closely as possible, and it isn't having the same problems. There must be something particular to the setup on that machine that is causing this but I don't have the knowledge to tell what, and until I can pin it down I'm not going to submit a bug report as it would be unreproducable. I'll look into BL2 and practice upgrading it, if I can satisfy myself that I can get it working ok I'll consider it for the production machine. Thanks Matt |
Upgrading without breaking LVM
On Thu, 19 Jun 2008 15:20:08 +0100, Matt Harrison wrote:
> Isn't BL2 masked ~arch? I think it was when I originally ran into this > problem. Doesn't that mean that my system will upgrade stable packages > that MUST be run using a package that I have to unmask? No. The BL2 init script provided with LVM must be used when running BL2, they should not be used with BL1. If you are seeing the warning messages it is because you have added the lvm init script to your runlevel when it should not be there. -- Neil Bothwick I@love~my,;It's%made in Taiwa~##$ ` #@ |
Upgrading without breaking LVM
On Thu, Jun 19, 2008 at 03:24:29PM +0100, Neil Bothwick wrote:
> On Thu, 19 Jun 2008 15:20:08 +0100, Matt Harrison wrote: > > > Isn't BL2 masked ~arch? I think it was when I originally ran into this > > problem. Doesn't that mean that my system will upgrade stable packages > > that MUST be run using a package that I have to unmask? > > No. The BL2 init script provided with LVM must be used when running BL2, > they should not be used with BL1. If you are seeing the warning messages > it is because you have added the lvm init script to your runlevel when it > should not be there. Thats ok, I can understand that. I'm just about ready to give up on this as its obviously too hard to debug. If upgrading to BL2 will fix my problems then that's what I must do. I can't test this tho as I haven't been able to break my test system with the updates. I just hope that BL2 will fix this and not just introduce further problems. I'll consider it and post back my results. Fingers and toes crossed that BL2 solves it :) Thanks Matt |
Upgrading without breaking LVM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Sorry for replying to my own message, just had a thought. Could this all be a udev rules problem? I mean could some new rules in the updated udev package be causing my lvm/raid devices to not be picked up and activated? I've been trying to break a vmware install that mirrors my problem machine as closely as possible but it just won't die. Maybe there's something particular to the hardware on the main machine that udev isn't liking? Thanks -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) iEYEARECAAYFAkhgCGEACgkQxNZfa+YAUWG6OQCgnrVedUw0Aj 88d+HM98tuIWmw FEAAn1nofMr3PaveYC9MZXKHGMMk1Ukz =PcDX -----END PGP SIGNATURE----- -- gentoo-user@lists.gentoo.org mailing list |
| All times are GMT. The time now is 02:01 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.