[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: netbsd-6 BETA2: raid starts after cgd.
On 28 June 2012 18:02, Jimmy Johansson <jimmy%update.uu.se@localhost> wrote:
> Hi list,
> I upgraded my old file server/backup server at home today. It runs cgd
> ontop of two disks running as a raid 1 array. It failed and entered
> single user with the error "cdconfig: action failed on /etc/cgd/cgd.conf
> line 1".
> My /etc/cgd/cgd.conf looks like this:
> cgd0 /etc/raid1a
> cgd1 /etc/raid0b
> cgd0 is where I store my files and cgd1 is my encrypted swap.
> I noticed that if I manually run "/etc/rc.d/cgd start" in single user
> and then do "mount -a" and "swapon -a" then everything mounts as it
> should. Due to this I concluded that this is probably because cgd is
> started before raidframe...
> Everything seems to run as expected if I add "# BEFORE: cgd" to
> /etc/rc.d/raidframe, which seems to support that my problem indeed is
> that cgd is started before raidframe.
> Starting raidframe before cgd makes more sense in my opinion, because
> I'd rather run a cgd ontop of a raid instead of a raid ontop 2 cgds.
> I'd like to finish off by saying that everything else with NetBSD 6 BETA2
> has been smooth sailing, except for this little snag.
I could see a use case either way, though I agree cgd-on-raid is
probably more common than raid-on-cgd.
Would anyone have any objections to changing the default?
Main Index |
Thread Index |