Device busy error on ccdconfig: WAS: can't run sh MAKDEV ccd0
Miguel Mendez
flynn at energyhq.es.eu.org
Sun May 18 14:22:00 PDT 2003
On Sun, 18 May 2003 13:04:54 -0700 (PDT)
"W. J. Williams" <will at willardjwilliams.com> wrote:
> I just rebooted and then ran the command again(ccdconfig 273 0
> /dev/da0s1e/dev/da1s1e) and it worked, but now I get the following
> error when I run"newfs /dev/ccd0c":
>
> newfs: ioctl (WDINFO): No such process
> newfs: /dev/ccd0c: can't rewrite disk label
>
> any ideas?
Did you disklabel it? Note that disklabeling a ccd device a bit special
case, iirc the process is explained in the handbook. You basically
create a default label which you dump to a file, and then, after editing
that file, reload it.
My label:
flynn at isengard% sudo disklabel ccd0
# /dev/ccd0:
3 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 34057856 0 4.2BSD 2048 16384 28512
c: 34057856 0 unused 0 0 # "raw" part,
Then you can proceed and newfs the a partition.
Cheers,
--
Miguel Mendez - flynn at energyhq.es.eu.org
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? -> http://www.trustic.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030518/2e7dbde9/attachment.bin
More information about the freebsd-questions
mailing list