public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] mdev and lvm2
@ 2013-04-07 12:34 Dan Johansson
  2013-04-07 13:47 ` Alan Mackenzie
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Johansson @ 2013-04-07 12:34 UTC (permalink / raw
  To: gentoo-user

Hello List,

What is the status of using mdev (instead the ever "growing" udev) together with lvm2?
Reason for my question is that at https://wiki.gentoo.org/wiki/Mdev it says " One beta tester reports getting close with lvm2, but it's not there yet.".

Regards,
-- 
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] mdev and lvm2
  2013-04-07 12:34 [gentoo-user] mdev and lvm2 Dan Johansson
@ 2013-04-07 13:47 ` Alan Mackenzie
  2013-04-07 15:58   ` Dan Johansson
  2013-04-08  3:23   ` J. Roeleveld
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Mackenzie @ 2013-04-07 13:47 UTC (permalink / raw
  To: gentoo-user

Hi, Dan.

On Sun, Apr 07, 2013 at 02:34:16PM +0200, Dan Johansson wrote:
> Hello List,

> What is the status of using mdev (instead the ever "growing" udev)
> together with lvm2?  Reason for my question is that at
> https://wiki.gentoo.org/wiki/Mdev it says " One beta tester reports
> getting close with lvm2, but it's not there yet.".

I think that beta tester was me.  I had lvm2 partitions running under
mdev without problems.  (They were also RAID-1, just for completion's
sake.)

The only change I had to make was to my /etc/fstab.  Where I previously
had:

   /dev/vg/usr /usr <options>

under udev, I then needed

   /dev/mapper/vg-usr /usr <options>

instead.  mdev failed to create the /dev/vg directory.  With this change,
my system worked quite happily.  Sadly, I went back to udev when
xf86-input-evdev-2.7.0 started depending on udev, back in June last year. 

> Regards,
> -- 
> Dan Johansson, <http://www.dmj.nu>
> ***************************************************
> This message is printed on 100% recycled electrons!
> ***************************************************

-- 
Alan Mackenzie (Nuremberg, Germany).


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] mdev and lvm2
  2013-04-07 13:47 ` Alan Mackenzie
@ 2013-04-07 15:58   ` Dan Johansson
  2013-04-08  3:23   ` J. Roeleveld
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Johansson @ 2013-04-07 15:58 UTC (permalink / raw
  To: gentoo-user

On Sunday 07 April 2013 13.47:55 Alan Mackenzie wrote:
> Hi, Dan.
> 
> On Sun, Apr 07, 2013 at 02:34:16PM +0200, Dan Johansson wrote:
> > Hello List,
> 
> > What is the status of using mdev (instead the ever "growing" udev)
> > together with lvm2?  Reason for my question is that at
> > https://wiki.gentoo.org/wiki/Mdev it says " One beta tester reports
> > getting close with lvm2, but it's not there yet.".
> 
> I think that beta tester was me.  I had lvm2 partitions running under
> mdev without problems.  (They were also RAID-1, just for completion's
> sake.)
> 
> The only change I had to make was to my /etc/fstab.  Where I previously
> had:
> 
>    /dev/vg/usr /usr <options>
> 
> under udev, I then needed
> 
>    /dev/mapper/vg-usr /usr <options>
> 
> instead.  mdev failed to create the /dev/vg directory.  With this change,
> my system worked quite happily.  Sadly, I went back to udev when
> xf86-input-evdev-2.7.0 started depending on udev, back in June last year. 
Hi Alan,

Thanks for you feedback. 

Regards,
-- 
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] mdev and lvm2
  2013-04-07 13:47 ` Alan Mackenzie
  2013-04-07 15:58   ` Dan Johansson
@ 2013-04-08  3:23   ` J. Roeleveld
  1 sibling, 0 replies; 4+ messages in thread
From: J. Roeleveld @ 2013-04-08  3:23 UTC (permalink / raw
  To: gentoo-user

Alan Mackenzie <acm@muc.de> wrote:

>Hi, Dan.
>
>On Sun, Apr 07, 2013 at 02:34:16PM +0200, Dan Johansson wrote:
>> Hello List,
>
>> What is the status of using mdev (instead the ever "growing" udev)
>> together with lvm2?  Reason for my question is that at
>> https://wiki.gentoo.org/wiki/Mdev it says " One beta tester reports
>> getting close with lvm2, but it's not there yet.".
>
>I think that beta tester was me.  I had lvm2 partitions running under
>mdev without problems.  (They were also RAID-1, just for completion's
>sake.)
>
>The only change I had to make was to my /etc/fstab.  Where I previously
>had:
>
>   /dev/vg/usr /usr <options>
>
>under udev, I then needed
>
>   /dev/mapper/vg-usr /usr <options>
>
>instead.  mdev failed to create the /dev/vg directory.  With this
>change,
>my system worked quite happily.  Sadly, I went back to udev when
>xf86-input-evdev-2.7.0 started depending on udev, back in June last
>year. 
>
>> Regards,
>> -- 
>> Dan Johansson, <http://www.dmj.nu>
>> ***************************************************
>> This message is printed on 100% recycled electrons!
>> ***************************************************
>
>-- 
>Alan Mackenzie (Nuremberg, Germany).

LVM can be configured to double-check udev to make sure all the /dev entries are done correctly.
By default this is not switched on.
See /etc/lvm/lvm.conf


It might solve that part. It solves some udev issues on one of my systems where the links are not handled correctly by udev for snapshots.

--
Joost
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-08  3:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-07 12:34 [gentoo-user] mdev and lvm2 Dan Johansson
2013-04-07 13:47 ` Alan Mackenzie
2013-04-07 15:58   ` Dan Johansson
2013-04-08  3:23   ` J. Roeleveld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox