Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2008 05:22:07 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        andys <a.smith@ukgrid.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: bsdlabel partiton c error message on new install
Message-ID:  <20081017122207.GA21157@icarus.home.lan>
In-Reply-To: <E1KqoDB-000OIe-Cg@alpha.ukgrid.net>
References:  <E1KqoDB-000OIe-Cg@alpha.ukgrid.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.  :-)

-- 
| 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 |




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