Can't modify partitions

Joshua Oreman oremanj at webserver.get-linux.org
Tue May 13 19:41:49 PDT 2003


On Tue, May 13, 2003 at 07:13:10PM -0700 or thereabouts, James Taylor seemed to write:
> 1) Correct
> 2) The drive *shouldn't* be in use, it's not mounted. 
> Actually, there are 3 drives causing me the same
> trouble.  da0,da1 and da2.  da3 and da4 are the drives
> the system is installed on.  The 3 problem drives
> aren't mounted, so I'm not sure what they're doing.  I
> ran sysctl -b kern.geom.confxml - Not quite sure what
> I'm supposed to be looking for or doing here.  All 5
> of my drives are listed.  Does that mean anything in
> particular?

You're looking for read/write/exclusive locks.
Also if you have /usr/ports/graphics/graphviz, you
can get a *much* easier-to-understand version:
# sysctl -b kern.geom.confdot > geom.dot
# dot -Tps -o geom.ps geom.dot
# gs -sDEVICE=x11 geom.ps
If confused, send entire output of confxml.

HTH,
-- Josh

> 
> 
> --- Joshua Oreman <oremanj at webserver.get-linux.org> 
> > I'll assume two things.
> > 1) You're running 5.x.
> > 2) The drive is in use (somehow). FS mounted? Try
> > `sysctl -b kern.geom.confxml`
> > 
> > If this is the case, then GEOM has managed to keep
> > you from shooting
> > yourself in the foot :-)
> > You may want to boot off a fixit disk so you're sure
> > nothing's using the disk.
> > 
> > HTH,
> > -- Josh
> > 
> > > 
> > > Thanks
> > > 
> > > __________________________________
> > > Do you Yahoo!?
> > > The New Yahoo! Search - Faster. Easier. Bingo.
> > > http://search.yahoo.com
> > > _______________________________________________
> > > freebsd-questions at freebsd.org mailing list
> > >
> >
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com


More information about the freebsd-questions mailing list