lvm2
Terrence Bradshaw
bradshaw at doit.wisc.edu
Tue Dec 7 10:23:17 MST 2004
Yes. I briefly ranted about this earlier right after 4.0 was released to
YDL.net enhanced accounts.
The device mapper module has never been included in the 4.0 distribution
(as far as i can tell). I would imagine that Owen might be able to shed
more light on the back end story of lvm and yellowdog.
I have not done any work on solving the problem but I would guess you
could build the module from kernel source or roll a brand new kernel for
yourself. I am very much interested in getting a solution to this; I just
have not had the time to try anything yet.
On Tue, 7 Dec 2004, Paul Eden wrote:
> Is anyone else having trouble with lvm2 on yellowdog 4.0?
>
> I am running:
>
> lvm2-2.00.15-2
> device-mapper-1.00.14-3
> kernel-2.6.8-1.ydl.7
> initscripts-7.48-1.ydl.2
>
> When I run lvm2 commands I get the following error:
>
> /dev/mapper/control: open failed: No such file or directory
> Is device-mapper driver missing from kernel?
>
> And the volume group and logical volumes devices under /dev aren't
> created even after reboot.
>
> Is dm-mod missing from the kernel?
>
> Here are lines 377 through 388 of /etc/rc.d/rc.sysinit
>
> # LVM2 initialization
> if [ -d /etc/lvm/ -a -x /sbin/lvm ]; then
> if ! LC_ALL=C fgrep -q "device-mapper" /proc/devices 2>/dev/null ;
> then
> modprobe dm-mod >/dev/null 2>&1
> fi
> /bin/rm -f /dev/mapper/control
> echo "mkdmnod" | /sbin/nash --quiet >/dev/null 2>&1
> [ -n "$SELINUX" ] && restorecon /dev/mapper/control
> if [ -e /dev/mapper/control -a -x /sbin/lvm ]; then
> action $"Setting up Logical Volume Management:" /sbin/lvm vgscan
> --mknodes && /sbin/lvm vgchange -a y
> fi
> fi
>
>
> When I try running modprobe dm-mod manually I get:
>
> FATAL: Module dm_mod not found.
>
> If dm-mod being missing is the problem who can add that to the kernel?
>
> If not, anyone know what the problem is?
>
> Best Regards,
>
> Paul Eden
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
>
--
Terrence Bradshaw
bradshaw at wisc.edu | ASCII ribbon campaign _
Storage and Systems Administrator | against HTML email, ( )
Platforms and Operating Systems | Word docs, and vCards X
Division of Information Technology | http://arc.pasp.de / \
More information about the yellowdog-general
mailing list