Another idea: fdisk has an expert option, x.  The expert menu allows
you to change the number of cylinders ("c") and the number of heads ("h").
If somehow "mkfs /dev/hdd" messed up those numbers, you should be able
to restore them with fdisk.

On Sun, 23 Jun 2002, Steven J. Yellin wrote:

>     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 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?
> > 
...

-- 
Steven Yellin



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

Reply via email to