You are not logged in.

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

louis058
Member
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):

MODULES="dm_mod"

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)

Offline

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

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,095
Website

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.

Offline

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

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,662

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 | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

Board footer

Powered by FluxBB