Re: Harddrive size being reported incorrectly?
> > On Thursday 29 December 2005 12:22 pm, Jerry McAllister wrote: > > > Now, I understand that harddrive manufacturers measure things differently > > > (1000kbytes per gbyte rather than 1024, or something like that) than > > > expected, but I've been told by a few people that I should be getting > > > around 305-312GB of available space after the drive has been formatted. > > > > They didn't do their arithmetic. > > > > When you slice and partition the drive, there will likely be a handful > > of sectors that don't round out to an even value so those are dropped. > > Then, when you do the newfs, some space is taken by the spare superblocks > > and finally the system reserves 8%. So, I would say you are getting > > it all. > > 289GB is before the 8% reservation. I actually turned that off with tunefs. I strongly suggest you do not do that - at least completely off. Reduce it some, if you like, but keep some. jerry > > Thanks to all who responded so quickly, makes me feel better about filling > the > drive up. Wanted to verify this before using the drive as to not end up > having to re-newfs it in the future to gain back any possible unused space. > > Thanks, > -- > Travis Poppe > IRC: tlp @ irc.freenode.net > ___ > 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: Harddrive size being reported incorrectly?
On Thursday 29 December 2005 12:22 pm, Jerry McAllister wrote: > > Now, I understand that harddrive manufacturers measure things differently > > (1000kbytes per gbyte rather than 1024, or something like that) than > > expected, but I've been told by a few people that I should be getting > > around 305-312GB of available space after the drive has been formatted. > > They didn't do their arithmetic. > > When you slice and partition the drive, there will likely be a handful > of sectors that don't round out to an even value so those are dropped. > Then, when you do the newfs, some space is taken by the spare superblocks > and finally the system reserves 8%. So, I would say you are getting > it all. 289GB is before the 8% reservation. I actually turned that off with tunefs. Thanks to all who responded so quickly, makes me feel better about filling the drive up. Wanted to verify this before using the drive as to not end up having to re-newfs it in the future to gain back any possible unused space. Thanks, -- Travis Poppe IRC: tlp @ irc.freenode.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Harddrive size being reported incorrectly?
> > Hello, > > I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0 > harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in the > system > reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a 305245MB > (or 298GB drive) in two separate machines. When it has finally been formatted > for use, I get 289GB of available space. A nominal 320GB drive works out to 298.02 GB using the 1024 MB number system that the system uses. eg 320,000,000,000 / 1024 / 1024 / 1024 / 1024 = 298.02 or 320,000,000,000 / 1,073,741,824 = 298.02 > Now, I understand that harddrive manufacturers measure things differently > (1000kbytes per gbyte rather than 1024, or something like that) than > expected, but I've been told by a few people that I should be getting around > 305-312GB of available space after the drive has been formatted. They didn't do their arithmetic. When you slice and partition the drive, there will likely be a handful of sectors that don't round out to an even value so those are dropped. Then, when you do the newfs, some space is taken by the spare superblocks and finally the system reserves 8%. So, I would say you are getting it all. > sysinstall had to adjust the drive geometry because the reported one was > 'invalid'. I tried to manually specify the geometry BIOS reported, but this > too was rejected as invalid. Let the system do what it thinks is right. You are not losing any due to invalid geometry. > > BIOS Geometry-CYL/HD/SECT: 65535/16/255 > > Am I really getting the full potential out of this drive, or is something > wrong? Doesn't look like anything is wrong. It looks right. jerry > > Thanks, > -- > Travis Poppe > IRC: tlp @ irc.freenode.net > ___ > 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: Harddrive size being reported incorrectly?
On Thu, Dec 29, 2005 at 12:02:51PM -0700 I heard the voice of Travis Poppe, and lo! it spake thus: > > reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a > 305245MB (or 298GB drive) in two separate machines. When it has > finally been formatted for use, I get 289GB of available space. > > Now, I understand that harddrive manufacturers measure things > differently (1000kbytes per gbyte rather than 1024, or something > like that) than expected, but I've been told by a few people that I > should be getting around 305-312GB of available space after the > drive has been formatted. Don't be told. Do the math. 320,000,000,000 bytes (hard drive manufacturer 'gigabytes'), divided by 1024 gives 312,500,000 kbytes, divided by 1024 gives 305,175.8 mbytes, divided by 1024 gives 298.023 gbytes according to a quick dc(1). -- Matthew Fuller (MF4839) | [EMAIL PROTECTED] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Harddrive size being reported incorrectly?
Travis Poppe <[EMAIL PROTECTED]> writes: > Hello, > > I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0 > harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in the > system > reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a 305245MB > (or 298GB drive) in two separate machines. When it has finally been formatted > for use, I get 289GB of available space. > > Now, I understand that harddrive manufacturers measure things differently > (1000kbytes per gbyte rather than 1024, or something like that) than > expected, but I've been told by a few people that I should be getting around > 305-312GB of available space after the drive has been formatted. Well, no. 305245MB is (305245x1024x1024), or just a *hair* larger than 320 x 10e10 bytes. So what FreeBSD reports is exactly what you should expect from the manufacturer's specification. > sysinstall had to adjust the drive geometry because the reported one was > 'invalid'. I tried to manually specify the geometry BIOS reported, but this > too was rejected as invalid. > > BIOS Geometry-CYL/HD/SECT: 65535/16/255 C/H/S geometries are (more or less) fictitious these days anyway. I let the installer do what it wants, and haven't had a problem in a long time. > Am I really getting the full potential out of this drive, or is something > wrong? Looks like things are working fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Harddrive size being reported incorrectly?
Just use FreeBSD's best guess and it will work fine. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Travis Poppe Sent: Thursday, December 29, 2005 2:03 PM To: freebsd-questions@freebsd.org; freebsd-hardware@freebsd.org Subject: Harddrive size being reported incorrectly? Hello, I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0 harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in the system reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a 305245MB (or 298GB drive) in two separate machines. When it has finally been formatted for use, I get 289GB of available space. Now, I understand that harddrive manufacturers measure things differently (1000kbytes per gbyte rather than 1024, or something like that) than expected, but I've been told by a few people that I should be getting around 305-312GB of available space after the drive has been formatted. sysinstall had to adjust the drive geometry because the reported one was 'invalid'. I tried to manually specify the geometry BIOS reported, but this too was rejected as invalid. BIOS Geometry-CYL/HD/SECT: 65535/16/255 Am I really getting the full potential out of this drive, or is something wrong? Thanks, -- Travis Poppe IRC: tlp @ irc.freenode.net ___ 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]"