Subject: Re: Problems with cgd on raid
To: Felix 'buebo' Kakrow <buebo@buebo.de>
From: David Brownlee <abs@NetBSD.org>
List: netbsd-users
Date: 03/20/2007 13:13:00
On Tue, 20 Mar 2007, Felix 'buebo' Kakrow wrote:
> Am Sun, 18 Mar 2007 19:27:25 +0100
> schrieb Felix 'buebo' Kakrow <buebo@buebo.de>:
>
>> Hello,
>> Iam trying to set up a cgd encrypted partition on top of a Raidframe
>> device, but both ffs and disklabel verification fails.
>>
>
> Maybe this is the wrong place to ask, is there another list where this
> problem might get more response?
Are you able to setup a cgd partition on a non raid device?
I have cgd on raid1 working without issue, but I didnt start
the cgd at the start of the raid (which could be relevant)
# disklabel wd0
[...]
5 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 488397105 63 RAID # (Cyl. 0*- 484520)
c: 488397105 63 unused 0 0 # (Cyl. 0*- 484520)
d: 488397168 0 unused 0 0 # (Cyl. 0 - 484520)
# disklabel raid0
[...]
5 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 122880000 0 4.2BSD 2048 16384 28992 # (Cyl. 0 - 119999)
b: 4194304 122880000 swap # (Cyl. 120000 - 124095)
d: 488396928 0 unused 0 0 # (Cyl. 0 - 476950*)
e: 361322624 127074304 4.2BSD 2048 16384 29184 # (Cyl. 124096 - 476950*)
# disklabel cgd0
[...]
5 partitions:
# size offset fstype [fsize bsize cpg/sgs]
d: 361322624 0 unused 0 0 # (Cyl. 0 - 176427*)
e: 361322624 0 4.2BSD 2048 16384 29152 # (Cyl. 0 - 176427*)
--
David/absolute -- www.NetBSD.org: No hype required --