Device busy error on ccdconfig: WAS: can't run sh MAKDEV ccd0

W. J. Williams will at willardjwilliams.com
Sun May 18 13:04:54 PDT 2003


--- "W. J. Williams" <will at willardjwilliams.com> wrote:
> 
> --- Miguel Mendez <flynn at energyhq.es.eu.org> wrote:
> > On Sun, 18 May 2003 12:27:03 -0700 (PDT)
> > "W. J. Williams" <will at willardjwilliams.com> wrote:
> > 
> > Howdy,
> > 
> > > I ran "ccdconfig ccd0 32 0 /dev/da0s1e /dev/da1s1e"
> > > 
> > > but get the error 
> > > 
> > > "ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: Device busy"
> > > 
> > > what goofy mistake am I making now?
> > 
> > Did you set the da0s1e and da1s1e partitions to 4.2BSD?
> > 
> > These are my settings...
> > 
> > flynn at isengard% sudo disklabel da0s1
> > # /dev/da0s1:
> > 8 partitions:
> > #        size   offset    fstype   [fsize bsize bps/cpg]
> >   a:   819200        0    4.2BSD        0     0     0 
> >   c: 17767827        0    unused        0     0         
> >   e: 16948627   819200    4.2BSD        0     0     0 
> > flynn at isengard% sudo disklabel da1s1
> > # /dev/da1s1:
> > 8 partitions:
> > #        size   offset    fstype   [fsize bsize bps/cpg]
> >   b:   819200        0      swap                    
> >   c: 17928477        0    unused        0     0         # "raw" 
> >   e: 17109277   819200    4.2BSD        0     0     0 
> > flynn at isengard% cat /etc/ccd.conf 
> > ccd0     64      none    /dev/da0s1e     /dev/da1s1e
> > 
> > Cheers,
> > -- 
> >         Miguel Mendez - flynn at energyhq.es.eu.org
> >         EnergyHQ :: http://www.energyhq.tk
> >         Tired of Spam? -> http://www.trustic.com
> *******************************+
> 
> yes, both are set to 4.2BSD...
> da1s1e
> 
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>   c: 71119692        0    unused        0     0         # (Cyl.    0 -
> 4426*)
>   e: 71119692        0    4.2BSD     2048 16384    89   # (Cyl.    0 -
> 4426*)
> 
> 
> da0s1e
> 
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>   c: 71119692        0    unused        0     0         # (Cyl.    0 -
> 4426*)
>   e: 71119692        0    4.2BSD     2048 16384    89   # (Cyl.    0 -
> 4426*)
***************************************************+

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?




=====
Will Williams


More information about the freebsd-questions mailing list