View Single Post

   
  #7 (permalink)  
Old 01-16-2008, 08:55 AM
Casper H.S. Dik
 
Posts: n/a
Default Re: 36GB disk is really 18GB.

Casper H.S. Dik <Casper.Dik@Sun.COM> writes:

>David Kirkby <david.kirkby@onetel.net> writes:


>>A friend has a Sun barcoded (540-4689) hard drive, made by Fujitsu.
>>Unless I am very much mistaken, the disk is half the capacity marked on
>>the drive.


>Looks like it was labelled incorrectly by someone.



>Clear the label and relabel (will lose all data except when the new label
>matches the same partitions)



And you zap the old label using:


dd if=/dev/zero of=/dev/rdsk/..... count=16

which will overwrite the first 8K of the disk (this will leave ufs
filesystem intact but you can only recover them by repartition with
the exact same partition boundaries).

Casper
Reply With Quote