Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Matt Harrison wrote: > On a side not, I'm not sure if this could the problem: > > I've got one disk on one of my pairs failed. There's a replacement > disk arriving tomorrow, but the stripe (thats built out of 3 mirrored > pairs) won't start on its own, I have to manuall

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
Neil Bothwick wrote: On Wed, 23 Apr 2008 15:54:45 +0100, Matt Harrison wrote: Very strange. Baselayout-2 and openrc are both keyword masked and shouldn't be installed on a stable system. Which bits of testing/bl2/openrc have you ended up with? I would appear that its part of lvm and/or mdadm.

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Neil Bothwick
On Wed, 23 Apr 2008 15:54:45 +0100, Matt Harrison wrote: > > Very strange. Baselayout-2 and openrc are both keyword masked and > > shouldn't be installed on a stable system. Which bits of > > testing/bl2/openrc have you ended up with? > I would appear that its part of lvm and/or mdadm...but I jus

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
Neil Bothwick wrote: On Wed, 23 Apr 2008 15:20:00 +0100, Matt Harrison wrote: I've tried to upgrade to BL2, and found it is masked, along with openrc...so if those were masked..how did I end up with bits that rely on it, without unmasking them? strange. Very strange. Baselayout-2 and openrc

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Neil Bothwick
On Wed, 23 Apr 2008 15:20:00 +0100, Matt Harrison wrote: > I've tried to upgrade to BL2, and found it is masked, along with > openrc...so if those were masked..how did I end up with bits that rely > on it, without unmasking them? strange. Very strange. Baselayout-2 and openrc are both keyword

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
Neil Bothwick wrote: On Wed, 23 Apr 2008 12:14:02 +0100, Matt Harrison wrote: Problem is, I wasn't watching the emerge, so I'm not sure what did happen. If you can access the var filesystem from the live CD, you can read emerge.log and see what you installed just before the problem hit. T

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Neil Bothwick
On Wed, 23 Apr 2008 12:22:25 +0100, Matt Harrison wrote: > Ok, I don't think I really want to deal with baselayout 2 unless i > really have to, does anyone know what version of LVM is safe to regress > to so I can get access to data again? You shouldn't need to change LVM versions, baselayout h

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Neil Bothwick
On Wed, 23 Apr 2008 12:14:02 +0100, Matt Harrison wrote: > Problem is, I wasn't watching the emerge, so I'm not sure what did > happen. If you can access the var filesystem from the live CD, you can read emerge.log and see what you installed just before the problem hit. -- Neil Bothwick Any

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
Dirk Heinrichs wrote: ext Matt Harrison schrieb: Ok, I don't think I really want to deal with baselayout 2 unless i really have to, does anyone know what version of LVM is safe to regress to so I can get access to data again? I will upgrade to baselayout 2 eventually, but I really have to ha

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Dirk Heinrichs
ext Matt Harrison schrieb: Ok, I don't think I really want to deal with baselayout 2 unless i really have to, does anyone know what version of LVM is safe to regress to so I can get access to data again? I will upgrade to baselayout 2 eventually, but I really have to have this operational th

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
Michal 'vorner' Vaner wrote: Hello On Wed, Apr 23, 2008 at 12:14:02PM +0100, Matt Harrison wrote: Michal 'vorner' Vaner wrote: Do I read correctly you have new version of LVM that needs baselayout 2, but you have only baselayout 1? (If so, then probably much of the parallel thread is solving c

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Michal 'vorner' Vaner
Hello On Wed, Apr 23, 2008 at 12:14:02PM +0100, Matt Harrison wrote: > Michal 'vorner' Vaner wrote: >> Do I read correctly you have new version of LVM that needs baselayout 2, >> but you have only baselayout 1? >> (If so, then probably much of the parallel thread is solving completely >> different

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
Michal 'vorner' Vaner wrote: Hello On Wed, Apr 23, 2008 at 06:05:06AM +0100, Matt Harrison wrote: Now after a reboot I can't mount my LVM partitions, my raid is working fine, but nothing I can do will discover my lvm partitions or volumes. If i try to manually start the lvm service, I get the

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
Matt Harrison wrote: Alan McKinnon wrote: On Wednesday 23 April 2008, Matt Harrison wrote: Alan McKinnon wrote: It's highly unlikely you lost data, as the upgrade would not have changed the on-disk metadata. If all else fails, you could boot off an LVM-enabled LiveCD and you'll find all

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Michal 'vorner' Vaner
Hello On Wed, Apr 23, 2008 at 06:05:06AM +0100, Matt Harrison wrote: > Now after a reboot I can't mount my LVM partitions, my raid is working > fine, but nothing I can do will discover my lvm partitions or volumes. If i > try to manually start the lvm service, I get the message about it being >

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
Alan McKinnon wrote: On Wednesday 23 April 2008, Matt Harrison wrote: Alan McKinnon wrote: It's highly unlikely you lost data, as the upgrade would not have changed the on-disk metadata. If all else fails, you could boot off an LVM-enabled LiveCD and you'll find all your volumes present

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Matt Harrison wrote: > Alan McKinnon wrote: > > It's highly unlikely you lost data, as the upgrade would not have > > changed the on-disk metadata. If all else fails, you could boot off > > an LVM-enabled LiveCD and you'll find all your volumes present. But > > first we

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Dirk Heinrichs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ext Matt Harrison schrieb: | Dirk Heinrichs wrote: |> You wrote in your first mail that you use software raid. Did you also |> add the dep for this, so that raid devices are setup before lvm runs? |> Would be something like |> |> rc_lvm_need="mdraid"

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
Dirk Heinrichs wrote: You wrote in your first mail that you use software raid. Did you also add the dep for this, so that raid devices are setup before lvm runs? Would be something like rc_lvm_need="mdraid" No actually, I don't have that line either. I take it this is all new stuff...as its be

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
On a side not, I'm not sure if this could the problem: I've got one disk on one of my pairs failed. There's a replacement disk arriving tomorrow, but the stripe (thats built out of 3 mirrored pairs) won't start on its own, I have to manually rebuild the array after boot. This shouldn't stop i

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Dirk Heinrichs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ext Matt Harrison schrieb: | And in reply to Dirk's email, I've added the line to my /etc/rc.conf, | but it doesn't seem to have made any difference :( You wrote in your first mail that you use software raid. Did you also add the dep for this, so th

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Matt Harrison
Alan McKinnon wrote: It's highly unlikely you lost data, as the upgrade would not have changed the on-disk metadata. If all else fails, you could boot off an LVM-enabled LiveCD and you'll find all your volumes present. But first we need to find out what's going on (my machine uses baselayout-2

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Dirk Heinrichs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ext Matt Harrison schrieb: | Thanks for the reply. I've just tried adding lvm to my boot runlevel. | Unfortunately, its exactly the same. The LVM service does now start, but | I'm still told that no volumes can be found. Look into /etc/rc.conf and a

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Matt Harrison wrote: > Thanks for the reply. I've just tried adding lvm to my boot runlevel. > Unfortunately, its exactly the same. The LVM service does now start, > but I'm still told that no volumes can be found. > > I've verified that the raid arrays are all running o

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-22 Thread Matt Harrison
Dave Jones wrote: Hi Matt Matt Harrison wrote on 23/04/08 07:05: I've been running a gentoo system as my fileserver without problems for a while. Its using software raid (1+0) with lvm on top, and its been a dream until now. The other day I did an emerge world and had a message about an sqli

Re: [gentoo-user] OpenRC broke my LVM?

2008-04-22 Thread Dave Jones
Hi Matt Matt Harrison wrote on 23/04/08 07:05: I've been running a gentoo system as my fileserver without problems for a while. Its using software raid (1+0) with lvm on top, and its been a dream until now. The other day I did an emerge world and had a message about an sqlite ebuild missing

[gentoo-user] OpenRC broke my LVM?

2008-04-22 Thread Matt Harrison
Hi folks, I've been running a gentoo system as my fileserver without problems for a while. Its using software raid (1+0) with lvm on top, and its been a dream until now. The other day I did an emerge world and had a message about an sqlite ebuild missing from the repository. Well I had other