Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2000 15:38:13 -0400 (EDT)
From:      "Gregory C. Schohn" <gcs@eizel.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   fdisk won't work on new hard drives can't get
Message-ID:  <Pine.LNX.4.10.10009051527280.31618-100000@vs-01.digipath.net>

next in thread | raw e-mail | index | archive | help
hi - I've recently purchased 2 different 18GB scsi drives (a barracuda & a
cheetah, but the layout of the disks are identical).  For the past month,
I've not been able to get partitions laid on them that FreeBSD is willing
to notice correctly (w/ disklabel & fdisk).

I've tried a lot of different things.  Originally I tried writing the
partition information w/ sysinstall - that didn't work, then I tried fdisk
w/ -u (& -i -u) & that didn't work.  Each time that I wrote the values out
- the light would flicker on the disk, but the partition table wasn't
changed (presumably some other sector was changed).

I've upgraded my machine a couple of times (& I'm going to be doing it
once more now) & replaced /dev/MAKEDEV & the affiliated disks (da1 & da2)
- yet I still can't get this to work...

Here's the output from fdisk on the drives (I had successfully partitioned
them under solaris86 which is why the solaris partitions are there).
fdisk: invalid fdisk partition table found
******* Working on device /dev/da2 *******
parameters extracted from in-core disklabel are:
cylinders=2181 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=2181 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 130,(Linux swap or Solaris x86)
    start 5136, size 5125728 (2502 Meg), flag 0
        beg: cyl 0/ sector 34/ head 81;
        end: cyl 311/ sector 18/ head 97
The data for partition 2 is:
sysid 6,(Primary 'big' DOS (> 32MB))
    start 5128816, size 30414368 (14850 Meg), flag 0
        beg: cyl 311/ sector 19/ head 97;
        end: cyl 164/ sector 18/ head 166
The data for partition 3 is:
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 1, size 35037764 (17108 Meg), flag 80 (active)
        beg: cyl 0/ sector 2/ head 0;

note - I didn't put the 4th partition on - it continues to tell me
that that parition exists - even though solaris (when I ran the installer)
knew of only the first 2.

Also - when I step through the sysinstall utility & try to make slices
after I lay the partitions, it tells me that the devices aren't
configured.

It seems like my devices are hosed, but they've been rebuilt.

when I try running disklabel on one of these disks
disklabel: ioctl DIOCGDINFO: Invalid argument
& device not configured when I try it on the slices.

If anybody has any idea how I can fix this - please let me know - I've
been searching the mailing lists & web for a LONG time.  Also - please be
sure to reply to me, as I'm not back on the stable mailing list yet (I
will be when my machine is back up & from the upgrades).

thanks,
Greg





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10009051527280.31618-100000>