Current-Users archive

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

Re: cgd trouble



On Wed, Mar 23, 2011 at 03:45:08PM +0000, Patrick Welche wrote:
> Following the guide, I just tried on amd64-current
> 
> # disklabel -t wd2
> smallbackup|Automatically generated label:\
>         :dt=ESDI:se#512:ns#63:nt#16:sc#1008:nc#620181:\
>         :pa#625142448:oa#0:ta=ccd:\
>         :pc#625142448:oc#0:\
>         :pd#625142448:od#0:
> # cgdconfig -s cgd0 /dev/wd2a aes-cbc 128 < /dev/urandom
> # dd if=/dev/zero of=/dev/rcgd0d bs=32k
> dd: /dev/rcgd0d: Read-only file system
> 1+0 records in
> 0+0 records out
> 0 bytes transferred in 0.001 secs (0 bytes/sec)
> 
> 
> Why read-only?

Dave kindly told me about disklabel -W wd2, and that was the
solution (the other disk had the disklabel in wd2a, and the cgd
in wd2e, which is why I didn't see the issue yesterday)

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index