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

2007-02-03 Thread Jerry McAllister
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 SizeUsed   Avail Capacity  Mounted on
> ...
> ...
> /dev/ad1a  289G4.0K266G 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  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   offsetfstype   [fsize bsize bps/cpg]
>   a: 625140319   164.2BSD 2048 16384 28552
>   c: 6251403350unused0 0
> 
> Thanks in advance for any pointers,
> 
> PM
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2007-02-03 Thread Ted Mittelstaedt

- Original Message - 
From: "Peter" <[EMAIL PROTECTED]>
To: 
Cc: "Peter A. Giessel" <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2007 4:18 PM
Subject: Re: 305 GB hard drive reduced to 266 GB (why?)


> Le Vendredi 2 Février 2007 18:46, Peter A. Giessel a écrit :
> > On 2007/02/02 14:39, Peter seems to have typed:
> > > 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:
> >
> > Its in the FAQ:
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MANUF
> >ACTURER-DISK-SIZE
>
> I already took account of manufacturer disk size.  However, I didn't
> know about the FreeBSD 8% rule which accounts for the discrepancy
> between my disk size of 289 GB and its available space of 266 GB.
>
> So now my question becomes "Where does FreeBSD get 289 from 305?".

Whall, on Ford small blocks you get a 302 when you bore out a 289, you
could probably go the other direction if you sleeved an old tired
302 block down. ;-)

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2007-02-03 Thread Amitabh Kant

On 2/3/07, Peter <[EMAIL PROTECTED]> wrote:



Thank you.  Now what happens to the other 9 GBs?  Is it the
formatting/fat?



Not sure of it, but I would assume that is the case.

Amitabh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2007-02-02 Thread Peter
Le Vendredi 2 Février 2007 19:41, Peter A. Giessel a écrit :
> On 2007/02/02 15:18, Peter seems to have typed:
> > So now my question becomes "Where does FreeBSD get 289 from 305?".
>
> Well, for one thing, you never have 305GB.  1024MB = 1GB.

As I said, I already accounted for that.  320 000 / 1024 = 305 GB.

> You only had 298GB UNFORMATTED.  Formatted, you had 289GB.  With
> 8% reserve, you're down to 266GB.

You think the formatting takes up the missing 16 GB (305 - 289)?

PM

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2007-02-02 Thread Peter A. Giessel
On 2007/02/02 15:18, Peter seems to have typed:
> So now my question becomes "Where does FreeBSD get 289 from 305?".

Well, for one thing, you never have 305GB.  1024MB = 1GB.

You only had 298GB UNFORMATTED.  Formatted, you had 289GB.  With
8% reserve, you're down to 266GB.

Remember the 2MB floppies? 2,000,000 bytes = 1.907MB UNFORMATTED.
1.44 MB formatted.  Same principle applies to all disks.  Formatting
takes space, but makes the disk usable.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2007-02-02 Thread Peter
Le Vendredi 2 Février 2007 18:46, Peter A. Giessel a écrit :
> On 2007/02/02 14:39, Peter seems to have typed:
> > 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:
>
> Its in the FAQ:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MANUF
>ACTURER-DISK-SIZE

I already took account of manufacturer disk size.  However, I didn't 
know about the FreeBSD 8% rule which accounts for the discrepancy 
between my disk size of 289 GB and its available space of 266 GB.

So now my question becomes "Where does FreeBSD get 289 from 305?".

PM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2007-02-02 Thread Peter A. Giessel
On 2007/02/02 14:39, Peter seems to have typed:
> 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:

Its in the FAQ:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MANUFACTURER-DISK-SIZE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"