Re: determing lvm support

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

 



On Fri, Dec 19, 2003 at 04:47:18PM -0800, Rich Turner wrote:
> lvm2:
> look for "vgcreate" command and
Better to check for the new 'lvm' base command: other commands are
links to it: check that running 'lvm version' produces complete output.
That will also confirm that device-mapper is available in the live
kernel and that /dev/mapper/control is set up correctly.
(See device-mapper/scripts/devmap_mknod.sh)

> look for "device-mapper" in /proc/devices or
It's better to check for that in /proc/misc, which will tell you whether
or not device-mapper support is present in the running kernel.

> look for "dm-mod" in /lib/modules/[release]/kernel/drivers/md/*
Better to attempt to load the module with modprobe and then do the
tests above to check it worked.
 
Alasdair
-- 
agk@uk.sistina.com

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux