I'd be surprised if "mkfs /dev/hdd" permanently damaged the hard
drive.  So if you tried to repartition it, but fdisk found only 33 GB
available after originally finding 120 GB, I have no explanation for
what changed.

    I have a WD1200BB 120 GB disk for which "fdisk -l /dev/hdb" shows 

Disk /dev/hdb: 255 heads, 63 sectors, 14593 cylinders
Units = cylinders of 16065 * 512 bytes

    I multiply 14593*16065*512 to get 120031511040, which is 120 GB.
In view of "CHS=65535/16/63" in your dmesg output, I guess a similar
calculation for you based on "fdisk -l /dev/hdd" would show 33.8GB.
If your computer really thinks the disk has only 16 heads, that would
make it impossible to get beyond 33.8 GB because 65535 is the maximum
allowable number of cylinders.
    It might solve your problem to to specify the disk geometry at boot
time or in an append command in lilo.conf:
    hdd=14593,255,63
if your disk is like mine.  Or replace "14593,255,63" with what the
numbers of cylinders, heads, and sectors are supposed to be on your disk,
instead of what "fdisk -l /dev/hdd" shows.

On Mon, 24 Jun 2002, Laxman Buneti wrote:

> Hi,
> 
> Thanks for the information.I think I typed "mkfs /dev/hdd" instead of "mkfs 
> /dev/hdd1" initially when I was making a partition of 100 gb.
> 
> Anyway I deleted all the partitions on /dev/hdd and still my disk shows only 
> 33 gb space(originally it was 120 gb).Do you think the command "mkfs 
> /dev/hdd" messed up the ard drive. Any help on this?
> 
> 
> 
> Thanks,
> Laxman
> 
> 
> >     The whole disk is /dev/hdd; the first partition is /dev/hdd1.  Try
> >partitioning the disk again; then create the file system on the first
> >partition, instead of on the whole disk, with "mkfs /dev/hdd1" instead of
> >"mkfs /dev/hdd".  Although it takes much longer, you might consider
> >"mkfs -c /dev/hdd1" to check for bad blocks before building the file
> >system.
> >
> >On Fri, 21 Jun 2002, Laxman Buneti wrote:
> >
> > >
> > > Hello everyone,
> > >
> > > I have tried to install a new 120 gb hd on my rh 7.1 machine.Following 
> >are
> > > the steps I have taken,
> > >
> > > 1)I have physically attached the hd
> > > 2)rebooted the system and the kernel recognised the hd as hdd
> > > 3)partitioned the disk using fdisk.(I made a primary partition of 100 gb 
> >and
> > > left the rest as free space).
> > > 4)created the file system using
> > >
> > >                mkfs /dev/hdd
> > >          for this I got a final message saying as,
> > >     illegal triply indirect block found while setting bad block inode.
> > > 5)then i created a directory and tried to mount the partition using,
> > >        mount -t ext2 /dev/hdd /mnt/drive3
> > >       result:
> > >          mount:wrong fs type bad partition,
> > >                 bad superblock on /dev/hdd or
> > >                 too many mounted file systems
> > >
> > >
> > > After this I rebooted and the dmesg command shows the hdd space around 
> >33000
> > > MB (originally it was showing 120000 which is the correct value).
> > >
> > > I have tried to delete and add partitons again but its the same result.
> > >
> > > Any help on this is appreciated.Or please suggest me a good book to read 
> >for
> > > this.
> > >
> > > I may have not given the entire info of my problem and Iam willing to 
> >give
> > > should you guys need to solve this problem.
> > >
> > > OUTPUT OF dmesg(partial)
> > >
> > >
> > >             hda: IBM-DTLA-307015, ATA DISK drive
> > > hdb: CDU5211, ATAPI CD/DVD-ROM drive
> > > hdc: WDC WD400BB-32AUA1, ATA DISK drive
> > > hdd: ÿDÿ ÿDÿ2ÿ0ÿBÿ7ÿCÿAÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ ÿ, ATA DISK drive
> > > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > > ide1 at 0x170-0x177,0x376 on irq 15
> > > hda: 30003120 sectors (15362 MB) w/1916KiB Cache, CHS=1867/255/63,
> > > UDMA(33)
> > > hdc: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63,
> > > UDMA(33)
> > > hdd: 66059280 sectors (33822 MB) w/32640KiB Cache, CHS=65535/16/63,
> > > UDMA(33)
> > > Partition check:
> > > hda: hda1 hda2 < hda5 >
> > > hdc: [PTBL] [4865/255/63] hdc1
> > > hdd:hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hdc: DMA disabled
> > > ide1: reset: success
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > ide1: reset: success
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > end_request: I/O error, dev 16:40 (hdd), sector 0
> > > unable to read partition table
> > >
> > >
> > > hdb: ATAPI 52X CD-ROM drive, 120kB Cache, UDMA(33)
> > > Uniform CD-ROM driver Revision: 3.12
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hdd: dma_intr: error=0x84 { DriveStatusError BadCRC }
> > > ide1: reset: success
> > > hdd: unknown partition table
> > > hdd: unknown partition table
> > >
> > >
> > > thats it,
> > >
> > > bye,
> > > laxman
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Get your FREE download of MSN Explorer at 
> >http://explorer.msn.com/intl.asp.
> > >
> > >
> > >
> > > _______________________________________________
> > > Seawolf-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/seawolf-list
> > >
> >
> >--
> >Steven Yellin
> >
> >
> >
> >
> >_______________________________________________
> >Seawolf-list mailing list
> >[EMAIL PROTECTED]
> >https://listman.redhat.com/mailman/listinfo/seawolf-list
> 
> 
> 
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail. 
> http://www.hotmail.com
> 
> 
> 
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list
> 

-- 
Steven Yellin




_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to