You are not logged in.

#1 2008-01-24 00:43:40

mindfall
Member
From: berlin
Registered: 2007-07-03
Posts: 57

mounting partition fails at boot time, but works after system is up

**EDIT: ok, I know now the daemon array comes too late. Looks like I have to fiddle with initial ramdisk or mount the partition daemon-style. Which is recommended?**



I have a fakeraid array which works well with device-mapper. I use dmraid as a daemon to create the nodes.

No problem when I mount the partition after boot. But now I want to move my /home there, so it has to mount during boot.
When I have it inside fstab, I get a corrupt superblock error during boot and arch throws me into an maintainance shell.

What's wrong? Is fstab processed before the daemon array? If that is the case, what would be a good clean way to launch dmraid if it cannot be a daemon?

Last edited by mindfall (2008-01-24 01:14:58)

Offline

#2 2008-02-01 22:29:43

loosec
Member
Registered: 2007-03-08
Posts: 134

Re: mounting partition fails at boot time, but works after system is up

All you should have to do is put dmraid in the HOOKS line in /etc/mkinitcpio.conf and rebuild your kernel (pacman -S kernel26). This will enable you to even have your root partition on the raid array. Edit /etc/fstab to include your home as usual using the device-mapper created raid-set and correct partition.

Wiki on dmraid

Offline

Board footer

Powered by FluxBB