Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2007 18:39:29 -0500
From:      Peter <pmatulis@sympatico.ca>
To:        freebsd-questions@freebsd.org
Subject:   305 GB hard drive reduced to 266 GB (why?)
Message-ID:  <200702021839.29502.pmatulis@sympatico.ca>

Next in thread | Raw E-Mail | Index | Archive | Help
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

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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200702021839.29502.pmatulis>