Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2003 18:03:00 -0400 (EDT)
From:      Bryan Liesner <bleez@verizon.net>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Disk labelling: WARNING: Expected rawoffset 37752750, found 0 
Message-ID:  <20030505175944.P634@gravy.homeunix.net>
In-Reply-To: <44709.1052160833@critter.freebsd.dk>
References:  <44709.1052160833@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 May 2003, Poul-Henning Kamp wrote:

> I would be very interested if you could try to compile the "bsdlabel"
> program in src/sbin/bsdlabel and tell me what that says about your
> disk.

I'm seeing the same thing, slightly different scenario with a 40G
external drive.

Here's my USB drive at boot time:

da0 at umass-sim1 bus 1 target 0 lun 0
da0: <SAMSUNG SV4002H QP10> Fixed Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 38204MB (78242976 512 byte sectors: 255H 63S/T 4870C)
WARNING: Expected rawoffset 63, found 0

%disklabel da0s1

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 78236487       63    unused        0     0       	# (Cyl.    0*- 4869*)
  e: 78236487       63    4.2BSD     2048 16384 28512 	# (Cyl.    0*- 4869*)
partition c: partition extends past end of unit
Warning, partition c doesn't start at 0!
Warning, An incorrect partition c may cause problems for standard system utilities
partition e: partition extends past end of unit

%bsdlabel da0s1

# /dev/da0s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 78236487        0    unused        0     0         # "raw" part, don't edit
  e: 78236487        0    4.2BSD     2048 16384 28512


When I did a bsdlabel -e da0s1 and aborted the edit I got this kernel message:
WARNING: Expected rawoffset 63, found 32256


-- 
=============================================================
= Bryan D. Liesner            LeezSoft Communications, Inc. =
=                             A subsidiary of LeezSoft Inc. =
= bleez@.verizon.net          Home of the Gipper            =
=============================================================



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