I am having trouble getting kpartx to run reliably from udev. My config
files look like:
__________________________________________________ ______________________
/etc/udev/rules.d/z60_multipath.rules:
I'm running multipath-tools version 0.4.8 on debian etch, running my own
kernel, which at the moment is 2.6.25.4, but I've experienced the same
trouble on other kernel versions.
Interestingly, on kernel 2.6.23.16 as it happens, I was able to make
this work by wrapping kpartx in a little script called my_kpartx.sh like
this:
#!/bin/sh
(
sleep 1
/sbin/kpartx %1 %2
) &
Then, in my z60_kpartx.rules file, I called /sbin/my_kpartx rather than
/sbin/kpartx. This doesn't work in 2.6.25.4 though.
So that's my sad tale of woe. Any suggestions that might cheer me up?
--
Ron Peterson
Network & Systems Manager
Mount Holyoke College
http://www.mtholyoke.edu/~rpeterso
-
I wish my computer would do what I want it to do - not what I tell it to do.
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
06-03-2008, 04:39 PM
Ron Peterson
kpartx and udev
2008-06-03_12:36:49-0400 Ron Peterson <rpeterso@mtholyoke.edu>:
--
Ron Peterson
Network & Systems Manager
Mount Holyoke College
http://www.mtholyoke.edu/~rpeterso
-
I wish my computer would do what I want it to do - not what I tell it to do.
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel