Subject: cgd problem
To: None <netbsd-users@NetBSD.org>
From: None <paul@amdatex.net>
List: netbsd-users
Date: 06/01/2005 00:22:56
I am trying to setup cgd on my new harddrive (samsung)
I have executed this following command
cgdconfig -g -o /etc/cgd/wd0g -V disklabel aes-cbc
cgdconfig -V re-enter cgd0 /dev/wd0g
disklabel -e -I /dev/cgd0
after the disklabel command I encounter cgd0: error 30 in console and
cgd0: read-only file system
This is the disklabel# /dev/rcgd0d:
type: cgd
disk: cgd
label: fictitious
flags:
bytes/sector: 512
sectors/track: 2048
tracks/cylinder: 1
sectors/cylinder: 2048
cylinders: 39083
total sectors: 80043201
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
4 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 80043201 0 4.2BSD 0 0 0 # (Cyl. 0 -
39083*)
d: 80043201 0 unused 0 0 # (Cyl. 0 -
39083*)
I tried to change the offset to 63 and the size but disklabel says cgd0:
read-only file system
Any advice will be helpful and thank you in advice,
Albert