NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

netbsd-6 BETA2: raid starts after cgd.



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.  

Regards,

Jimmy
-- 
If you don't shoot the bearers of bad news, people will keep bringing it to you.


Home | Main Index | Thread Index | Old Index