LVM2 for the 2.6 kernel -- the missing crucial step

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  ok, so i missed a fairly important step in my instructions (no worry, it
won't break anything) but it can be run manually just to get things going.

  from the device-mapper INSTALL file,

=================================

4) If you are using the ioctl interface but not devfs then install 
   scripts/devmap_mknod.sh to run either:

      Each time the kernel boots 
        e.g. add to /etc/rc*

      Or whenever the device-mapper is loaded (if you built it as a module)
        e.g. add the following line to /etc/modules.conf and run depmod -a
	     and use modprobe dm-mod to load the module
	post-install dm-mod /etc/init.d/devmap_mknod.sh
	
   The script creates the /dev/mapper/control device for the ioctl
   interface using the major and minor numbers that have been allocated
   dynamically.  It prints a message if it works or else it fails silently 
   with a non-zero status code (which you probably want to test for).


5) You can now boot your new kernel and use 'dmsetup' to test the API.
   Read the dmsetup man page for more information.
   Or proceed to install the new LVM2 tools.

==================================

  so once everything is installed, you can just manually run
that scripts/devmap_mknod.sh file to build the appropriate
device files.  then, at least, something simple like

# pvcreate --version

actually works.

  which leads us into the next couple of 2.6-related issues
that people might want to chat about:

a) devfs

b) the new modprobe.conf file


rday


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux