[linux-lvm] LVM 1 volumes and 2.6.2 kernel

Duncan Hill lvm at nacnud.force9.co.uk
Mon Feb 16 09:33:30 UTC 2004


On Monday 16 February 2004 14:21, AJ Lewis wrote:
> On Sun, Feb 15, 2004 at 06:04:14PM +0000, Duncan Hill wrote:
> > Silly me decided a month or so back to migrate to 2.6, but I forgot that
> > I had a LVM1 installation on my portable drive.  Said installation
> > doesn't seem to work now - even with dm-mod loaded, I get errors about
> > /dev/mapper/control.  What parts am I missing?
>
> There is a script called devmap_mknod.sh in the device mapper tarball's
> scripts directory - you need to run this script to create
> /dev/mapper/control.  I don't know for sure, but I'd guess that it is
> included in the debian packages for device-mapper.
>
> Regards,
14:32:05 dhill at flyingfish
~> sudo modprobe dm-mod

14:32:11 dhill at flyingfish
~> sudo /home/dhill/Build/device-mapper.1.00.07/scripts/devmap_mknod.sh
Creating /dev/mapper/control character device with major:10 minor:63.

Yay :)  Will have to test when I get home to see if the commands work, as I 
left the drive behind this morning.

The script isn't in the rpm that's installed, which is weird.
rpm -ql device-mapper
/lib/libdevmapper.so.1.00
/sbin/dmsetup
/usr/include/libdevmapper.h
/usr/lib/libdevmapper.so
/usr/share/doc/device-mapper-1.00.07
/usr/share/doc/device-mapper-1.00.07/COPYING
/usr/share/doc/device-mapper-1.00.07/COPYING.LIB
/usr/share/doc/device-mapper-1.00.07/README
/usr/share/doc/device-mapper-1.00.07/VERSION
/usr/share/man/man8/dmsetup.8.gz

Thanks!




More information about the linux-lvm mailing list