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

Re: [linux-lvm] determing lvm support



On Fri, 19 Dec 2003, Rich Turner wrote:

> is there any fool proof way of knowing whether or not a system has lvm
> support?
> 
> right now i determine it this way:
> 
> lvm1:

> look for "lvm-mod" in /lib/modules/[release]/kernel/drivers/md/*

> lvm2:
> look for "dm-mod" in /lib/modules/[release]/kernel/drivers/md/*

The only problem with this step is that many kernels (any
production-level server of mine at least) do not use loadable modules,
but instead build LVM support striaght into the kernel. In these cases
your tests for the modules will fail. 




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