openbsd-misc
[Top] [All Lists]

Re: wd1 looses disklabel when ccd activated

To: "Todd C. Miller" <Todd.Miller@courtesan.com>
Subject: Re: wd1 looses disklabel when ccd activated
From: Klaus Botschen <klaus@bksys.com>
Date: Thu, 28 Feb 2002 20:12:39 +0100
Cc: misc@openbsd.org
In-reply-to: <200202261558.g1QFwjXC031225@xerxes.courtesan.com>
References: <E16fh4n-0002lL-00@s.lan> <200202261558.g1QFwjXC031225@xerxes.courtesan.com>
Reply-to: klaus@bksys.com
Sender: owner-misc@openbsd.org
thanks, todd. well, that didn't solve the mess I already had; finally I 
created a ccd0a, leaving the first cylinder of ccd0c free, and created my 
file system on ccd0a (I also had kernel panic after starting newfs on ccd0c 
when I forgot to fdisk -i ccd0 after changing the size of wd1a and 
configuring an interleave of zero...).

klaus

On Tuesday 26 February 2002 16:58, you wrote:
> You must leave enough room at the beginning of the disk so as to
> avoid overwriting the real disk's label with data from the ccd.
> The simplest way to do that is to just skip a cylinder, however as
> long as you leave at least 8KB you will be fine.
>
> Also note that the size of each partition in the ccd *must* be a
> multiple of the interleave.  Neither wd0i not wd1a currently follows
> this which will cause you all kinds of problems later on.
>
>  - todd

<Prev in Thread] Current Thread [Next in Thread>