You are not logged in.

#1 2012-11-27 21:27:07

Registered: 2010-11-12
Posts: 29

What are the LVM2 modules?

I just installed Arch on a Macbook Pro 13" (Early 2011), and I installed the /root, /boot, and /var partitions on an LVM2 partition (/home was placed on a separate partition so that Mac OS X could get to it)

I followed all the instructions in the wiki, and eventually got a setup which worked. However, the LVM sections concern me.
My mkinitcpio.conf is now configured thus (I'm omitting all the comments and other lines) (Yes, I rebuilt after editing):


HOOKS="base udev lvm2 autodetect sata filesystems usbinput fsck timestamp"

My concern is that I had to place lvm2 before autodetect for it to work. As in, I have to load all LVM2 modules, and autodetect can't do it for me, for the system to find my volume groups (otherwise, I get a 'No volume groups found' error).

Why is this? Isn't dm_mod the only module I need to load? Is there a list of the modules I can load someone on the internet for me to browse through?

Also, an extra question - what's the difference between dm-mod and dm_mod? In the wiki, it tells me to use 'dm-mod' when I'm using the command 'modprobe', but for the mkinitcpio.conf file, it tells me to use 'dm_mod' instead.

Last edited by louis058 (2012-11-27 21:35:05)


#2 2012-11-27 23:05:06

From: New York, USA
Registered: 2009-10-22
Posts: 4,109

Re: What are the LVM2 modules?

Varies per install, since you might not be using a given feature of lvm. add 'break=postmount' to your kernel cmdline and look at the output of lsmod. Those are the modules you're using.


#3 2012-12-02 02:49:42

From: Cymru
Registered: 2011-11-27
Posts: 5,772

Re: What are the LVM2 modules?

There's no difference between dm-mod and dm_mod for modprobe...

How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Corporation Wireless 8265 / 8275 | US keyboard with Euro | 512G NVMe INTEL SSDPEKKF512G7L


Board footer

Powered by FluxBB