Date: Sat, 16 Jun 2001 15:36:00 -0400 (EDT) From: ahd@kew.com To: FreeBSD-gnats-submit@freebsd.org Subject: bin/28204: Can't get label from /dev/da1s1c: Invalid argument (22) Message-ID: <20010616193600.33852D926@minerva.uucp.kew.com>
next in thread | raw e-mail | index | archive | help
>Number: 28204
>Category: bin
>Synopsis: vinum attempts to read DOS volumes and whines about it
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 16 12:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Drew Derbyshire
>Release: FreeBSD 4.3-RELEASE i386
>Organization:
Kendra Electronic Wonderworks
>Environment:
System: FreeBSD minerva.hh.kew.com 4.3-RELEASE FreeBSD 4.3-RELEASE #2: Sat Jun 16 12:32:47 EDT 2001 ahd@minerva.hh.kew.com:/usr/src/sys/compile/MINERVA i386
>Description:
Issue vinum dumpconfig on a machine with a DOS partition, vinum whines
that it can't read the FreeBSD disklabel.
fdisk output:
******* Working on device /dev/da1 *******
parameters extracted from in-core disklabel are:
cylinders=2231 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=2231 heads=255 sectors/track=63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6,(Primary 'big' DOS (> 32MB))
start 63, size 771057 (376 Meg), flag 0
beg: cyl 0/ sector 1/ head 1;
end: cyl 47/ sector 63/ head 254
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 771120, size 35069895 (17123 Meg), flag 80 (active)
beg: cyl 48/ sector 1/ head 0;
end: cyl 1023/ sector 63/ head 254
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
minerva,/home/ahd,84# vinum dumpconfig
Can't get label from /dev/da1s1c: Invalid argument (22)
>How-To-Repeat:
See example above.
>Fix:
Check type of disk before blindly reading the disk.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010616193600.33852D926>
