Subject: Re: cgd & Setting up a new drive
To: Jan Danielsson <jan.m.danielsson@gmail.com>
From: Zafer Aydogan <zafer@aydogan.de>
List: netbsd-users
Date: 03/23/2007 17:31:24
2007/3/22, Jan Danielsson <jan.m.danielsson@gmail.com>:
> Hello all,
>
>   I have bought a new drive which I want to dedicate to /home.
> Obviously(?), I want to run cgd on it. On another system I have a
> similar setup. This is the disklabel on the other system:
>
> #        size    offset     fstype [fsize bsize cpg/sgs]
>  c: 625142385        63     unused      0     0        # (Cyl.      0*-
> 620180)
>  d: 625142448         0     unused      0     0        # (Cyl.      0 -
> 620180)
>  e: 625142448         0     4.2BSD      0     0     0  # (Cyl.      0 -
> 620180)
>
>   What I did was to set up cgd to use wd1e. Thinking about it
> afterwards, I'm not sure if that's a good idea. 'e' covers the entire
> disk. Does this mean that cgd can overwrite the disklabel -- is it just
> a matter of time before that will happen? Or does it know that it should
> skip the disklabel sector(s)? Should I have used 'c' instead?
>
>
you should start with 63 instead of 0. disklabel is in sector 1.
in the past i started with 0 aswell without any problems, but i think
the correct way is to start at 63.


>   Oh, on another note. I wish the kernel on the installation CD:s would
> have CGD enabled. This would make life much easier for me. Any
> possibility of that happening?
>
maybe soon.
file a pr with your request.
> --
> Kind regards,
> Jan Danielsson
>
>
>
>