You are not logged in.

#1 2012-12-11 19:28:26

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

[SOLVED] mkinicpio.conf with mdadm and lvm2

Hi!

In my mkinitcpio.conf the hooks line used to read thus:

HOOKS="base udev autodetect pata scsi sata mdadm lvm2 filesystems"

with the new mkinitcpio should I leave mdadm and lvm2? The comments in the new file do mention lvm2 but do not refer to mdadm.

Last edited by theking2 (2012-12-12 09:44:46)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#2 2012-12-11 19:36:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] mkinicpio.conf with mdadm and lvm2

You should be using mdadm_udev lvm2 - assuming, that is, that you are running a LVM/Raid setup...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-12-11 19:40:08

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Re: [SOLVED] mkinicpio.conf with mdadm and lvm2

Thanks for the note jasonwryan

I did attempt the hooks with mdadm and lvm2 which worked and also mdadm_udev lvm2 which also worked fine.


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#4 2012-12-11 19:48:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] mkinicpio.conf with mdadm and lvm2


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-12-12 09:46:09

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Re: [SOLVED] mkinicpio.conf with mdadm and lvm2

in mkinitcpi.conf now:

HOOKS="base udev autodetect block mdadm_udev lvm2 filesystems"

and it works

Last edited by theking2 (2012-12-12 09:46:26)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

Board footer

Powered by FluxBB