Hard Drive Issues

From: Justin Gruenberg (justin_at_ice.kewlio.net)
Date: 10/25/03

  • Next message: Greg 'groggy' Lehey: "Re: vinum concatenated raid setup problems - SOLVED"
    To: freebsd-questions@freebsd.org
    Date: Sat, 25 Oct 2003 18:43:20 +0000
    
    

    I've been having a bit of an issue with my 120gb Maxtor hard drive under
    FreeBSD. As of right now, the disk is set up with one NTFS partition,
    but I'm not sure if thats relevant. BIOS reports the correct geometry
    and size, and Windows also reports the correct size. The disk is ad1.

    If do a dmesg, I get these messages relating to the drive:

    ad1: 2014MB <Maxtor 4G120J6> [4092/16/63] at ata0-slave UDMA100
    ad1s3: slice extends beyond end of disk: truncating from 240091425 to
    4108671 sectors
    ad1s5: slice extends beyond end of disk: truncating from 167782797 to
    4108608 sectors

    Steps I've already tried (in no particular order):
    1. A friend said that I could disable the drive in BIOS, and FreeBSD
    would query the controller, and get the info from there. I did disable
    it, but I got the same results.
    2. Checked in Windows XP is the disk is set to a "dynamic disk." I
    understand they are not compatible with any operating system besides
    XP. The disk is listed as "Basic"
    3. I've tried taking the geometry from BIOS and manually putting it in
    from fdisk in sysinstall. With the values copied verbatim, fdisk says
    that they are incorrect, and will not use them. I have also used the
    geometry published by Maxtor. Those numbers work, but the hard drive is
    only around 8gb.
    4. I was advised on IRC to try switching the drive from its position at
    primary slave, to somewhere else. I changed it to secondary slave, and
    had the same results.

    The Values that BIOS gives:
    58853 cyls
    16 heads
    255 sectors

    Values from Maxtor
    (http://maxtor.custhelp.com/cgi-bin/maxtor.cfg/php/enduser/olh_adp.php?p_faqid=596)
    16383 max cyls (238216 actual)
    16 heads
    63 sectors

    The Values that BSD reports (from fdisk):
    256 cyls
    255 heads
    63 sectors

    Thanks a lot.

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Greg 'groggy' Lehey: "Re: vinum concatenated raid setup problems - SOLVED"

    Relevant Pages

    • Re: Disk geometry salad...
      ... but lists the number of LBA sectors for each drive. ... > of the hard drives and the CHS geometry, but no LBA sectors) as ... The c/h/s data format used to pass a disk sector address to an ATA disk ... The c/h/s data format used to pass a disk sector address to a BIOS disk ...
      (freebsd-questions)
    • Re: Followup Q to "IBM 120 G IDE -- problems"
      ... > that the BIOS reports. ... limitations of "BIOS" disk addressing, ... usually given as 1024 cylinders, 255 heads, and 63 sectors per track. ... BIOS may pretend that your disk drive has some other geometry, ...
      (freebsd-questions)
    • Re: OpenBSD failing to boot
      ... My hard disk controller and BIOS support LBA and so does biosboot, ... I should choose heads and sectors values ... will reside on the first sector of my OpenBSD partition, ...
      (comp.unix.bsd.openbsd.misc)
    • GRUB master boot record
      ... the Jump Instruction. ... BIOS parameter block is a description of the physical medium ... as for flexible/floppy and optic distal disk cartridges) also ... installed in the first track (Sectors 1 ff.) of an HDD; ...
      (comp.os.linux.hardware)
    • GRUB master boot record
      ... the Jump Instruction. ... BIOS parameter block is a description of the physical medium ... as for flexible/floppy and optic distal disk cartridges) also ... installed in the first track (Sectors 1 ff.) of an HDD; ...
      (comp.os.vms)