Re: Disk labelling: WARNING: Expected rawoffset 37752750, found 0

From: Bryan Liesner <bleez_at_verizon.net>
Date: Mon, 5 May 2003 18:03:00 -0400 (EDT)
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_at_.verizon.net          Home of the Gipper            =
=============================================================
Received on Mon May 05 2003 - 13:03:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC