Current-Users archive

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

Re: cgd gives read-only error

On Wed, Jan 09, 2013 at 10:50:57PM +0000, Michael van Elst wrote:
> (Patrick Welche) writes:
> >I just tried the "To scrub data from a disk before setting up a cgd"
> >recipe from cgdconfig on a new amd64 box installed from 12th December 
> >current dist files. For some reason the dd fails with /dev/rcgd0d
> >is a read-only file system.
> Writing over the disklabel sector (sector 1) gets you the EROFS error.
> For "scrubbing a disk before setting a cgd" it doesn't make sense to
> scrub the disklabel, you should just skip it, or just scrub the
> partitions.

None of it makes much sense to me.  Why exactly are we "scrubbing"
the disk before setting up the cgd?  Just fill the cgd with 0 and
you are filling the disk with what, really, had darned well better
look like random data.


Home | Main Index | Thread Index | Old Index