305 GB hard drive reduced to 266 GB (why?)

Jerry McAllister jerrymc at msu.edu
Sat Feb 3 22:04:44 UTC 2007


On Fri, Feb 02, 2007 at 06:39:29PM -0500, Peter wrote:

> I am installing a new 6.2 STABLE system and I am troubled by the amount 
> of available disk space I'm getting on one of my IDE devices:
> 
> # df -h
> Filesystem     Size    Used   Avail Capacity  Mounted on
> ...
> ...
> /dev/ad1a      289G    4.0K    266G     0%    /ad1
> 
> This drive is 320 GB by the manufacturer and thus I should theoretically 
> have 305 GBs.  This is confirmed by dmesg:
> 
> ad1: 305244MB <WDC WD3200JB-00KFA0 08.05J08> at ata0-slave UDMA33

This is well covered in the FreeBSD FAQ and answered many times
in this Email list.   Do some checking.

////jerry

> 
> Steps:
> 
> # fdisk -i /dev/ad1
> # bsdlabel -w /dev/ad1
> # newfs /dev/ad1a
> # mount /dev/ad1a /ad1
> 
> Info:
> 
> # bsdlabel /dev/ad1
> # /dev/ad1:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>   a: 625140319       16    4.2BSD     2048 16384 28552
>   c: 625140335        0    unused        0     0
> 
> Thanks in advance for any pointers,
> 
> PM
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list