Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2003 13:04:54 -0700 (PDT)
From:      "W. J. Williams" <will@willardjwilliams.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Device busy error on ccdconfig:  WAS: can't run sh MAKDEV ccd0
Message-ID:  <20030518200454.9555.qmail@web13506.mail.yahoo.com>
In-Reply-To: <20030518194034.88449.qmail@web13505.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--- "W. J. Williams" <will@willardjwilliams.com> wrote:
> 
> --- Miguel Mendez <flynn@energyhq.es.eu.org> wrote:
> > On Sun, 18 May 2003 12:27:03 -0700 (PDT)
> > "W. J. Williams" <will@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@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@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@isengard% cat /etc/ccd.conf 
> > ccd0     64      none    /dev/da0s1e     /dev/da1s1e
> > 
> > Cheers,
> > -- 
> >         Miguel Mendez - flynn@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030518200454.9555.qmail>