Re: [gentoo-user] mdev and lvm2

2013-04-07 Thread J. Roeleveld
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 
>
>under udev, I then needed
>
>   /dev/mapper/vg-usr /usr 
>
>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, 
>> ***
>> 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.



Re: [gentoo-user] mdev and lvm2

2013-04-07 Thread Dan Johansson
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 
> 
> under udev, I then needed
> 
>/dev/mapper/vg-usr /usr 
> 
> 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, 
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] mdev and lvm2

2013-04-07 Thread Alan Mackenzie
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 

under udev, I then needed

   /dev/mapper/vg-usr /usr 

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, 
> ***
> This message is printed on 100% recycled electrons!
> ***

-- 
Alan Mackenzie (Nuremberg, Germany).



[gentoo-user] mdev and lvm2

2013-04-07 Thread Dan Johansson
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, 
***
This message is printed on 100% recycled electrons!
***