[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: odd behaviour with harddisk



On Tue, 19 Nov 2002, Mike Dresser wrote:

> On Tue, 19 Nov 2002, Burkhard Ritter wrote:
>
> > spass:/home/buri# hdparm -i /dev/hdb
> >
> > /dev/hdb:
> >
> >  Model=Maxtor 6Y060L0, FwRev=YAR41VW0, SerialNo=Y2R7JV6E
> >  Config={ Fixed }
> >  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
> >  BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
> >  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=120103200
> >  IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
> >  PIO modes: pio0 pio1 pio2 pio3 pio4
> >  DMA modes: mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4 udma5 udma6
> >  AdvancedPM=yes: disabled (255) WriteCache=enabled
> >  Drive Supports : ataATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 ATA-7
>
>
> From the LBAsects = 120103200, that tells me at least something sees it
> as a 60 gig drive(512byte * 120103200 ~= 60 gig)
>
> When you partitioned it, did cfdisk/fdisk only show a 17 gig partition?
>
> run dmesg, and look for a line somewhat similar to the last one of these,
> it should say 60xxx MB or something
>
> hda: QUANTUM FIREBALLP KX13.6, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: 26771672 sectors (13707 MB) w/418KiB Cache, CHS=1666/255/63, UDMA(33)
>
> Mike
>
>


no this seems to be right.

df:
/dev/hdb1             60039660  16909188  40127928  30% /mnt

fdisk:
Festplatte /dev/hdb: 255 Kpfe, 63 Sektoren, 7476 Zylinder
Einheiten: Zylinder mit 16065 * 512 Bytes

    Gert boot.  Anfang      Ende    Blcke   Id  Dateisystemtyp
/dev/hdb1             1      7476  60050938+  83  Linux

dmesg:
hdb: 120103200 sectors (61493 MB) w/2048KiB Cache, CHS=119150/16/63

The different number cylinders (in dmesg and fdisk) are a bit strange, but
this is also the case for my other disks and they are working right
(though they have not so big capacities).

Perhabs it is due to an "overlay bios" I once installed. I have to try
this out (have not the floppy here at the moment), although I think this
is not the reason.

To clarify:
I have not configured the harddisk in the bios. It "works" without.

Error:
touch /mnt/test
touch: Erzeugen von /mnt/test: Auf dem Gert ist kein Speicherplatz mehr
verfgbar
(in English: no space available)

Burkhard





Reply to: