bsdlabel partiton c error message on new install

Jerry McAllister jerrymc at msu.edu
Mon Oct 20 07:53:46 PDT 2008


On Fri, Oct 17, 2008 at 05:22:07AM -0700, Jeremy Chadwick wrote:

> On Fri, Oct 17, 2008 at 02:13:45PM +0200, andys wrote:
> > Hi, 
> >
> > on a newly installed FreeBSD 7.0 system on a dell 1950 server I see the  
> > following error from bsdlabel. Is there any known issues with this or is 
> > the only reasonable explanation that I have managed to mess it up without 
> > even knowing? :P And should I manually change the partition c to fix the 
> > prob? Is this safe to do? 
> >
> > bsdlabel -A /dev/da0s1
> > # /dev/da0s1:
> > type: SCSI
> > disk: da0s1
> > label:
> > flags:
> > bytes/sector: 512
> > sectors/track: 63
> > tracks/cylinder: 255
> > sectors/cylinder: 16065
> > cylinders: 17750
> > sectors/unit: 285155328
> > rpm: 3600
> > interleave: 1
> > trackskew: 0
> > cylinderskew: 0
> > headswitch: 0           # milliseconds
> > track-to-track seek: 0  # milliseconds
> > drivedata: 0 
> >
> > 8 partitions:
> > #        size   offset    fstype   [fsize bsize bps/cpg]
> > a: 20971520        0    4.2BSD     2048 16384 28552
> > b: 20971520 75497472      swap
> > c: 285153687        0    unused        0     0         # "raw" part, 
> > don't edit
> > d: 20971520 20971520    4.2BSD     2048 16384 28552
> > e: 20971520 41943040    4.2BSD     2048 16384 28552
> > f: 12582912 62914560    4.2BSD     2048 16384 28552
> > bsdlabel: partition c doesn't cover the whole unit!
> > bsdlabel: An incorrect partition c may cause problems for standard system 
> > utilities 
> 
> It's complaining that 285153687 (see "c" partition) does not equal
> 285155328 (see "sectors/unit" up top).
> 
> > thanks for any advice, Im not really confident with the FreeBSD disk  
> > management as I havent used it much, 
> 
> I'm left wondering why you're messing around with bsdlabel on a FreeBSD
> install in the first place.  :-)

Do you mean - as apposed to letting sysinstall handle it?
Yah, I would let sysinstall do the disk mangling, but maybe he
did something else.

////jerry

> 
> -- 
> | Jeremy Chadwick                                jdc at parodius.com |
> | Parodius Networking                       http://www.parodius.com/ |
> | UNIX Systems Administrator                  Mountain View, CA, USA |
> | Making life hard for others since 1977.              PGP: 4BD6C0CB |
> 
> _______________________________________________
> 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"


More information about the freebsd-questions mailing list