Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 15:57:38 -0800
From:      Sean Chittenden <sean@chittenden.org>
To:        jdusek@cs.uiowa.edu
Cc:        "Database@BSD" <freebsd-database@freebsd.org>
Subject:   Re: Largest Disk Partition
Message-ID:  <06166A08-82A6-11D8-BE7B-000A95C705DC@chittenden.org>
In-Reply-To: <4069F521.9060704@cs.uiowa.edu>
References:  <4069F521.9060704@cs.uiowa.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> What it the largest disk partition that FreeBSD can support?

FreeBSD 5 uses UFS2 which uses signed 64bit sizes:

irb(main):001:0> max = 2 ** 63
=> 9223372036854775808 bytes
irb(main):002:0> max /= 1024
=> 9007199254740992 kilobytes
irb(main):003:0> max /= 1024
=> 8796093022208 megabytes
irb(main):004:0> max /= 1024
=> 8589934592 gigabytes
irb(main):005:0> max /= 1024
=> 8388608 terabytes
irb(main):006:0> max /= 1024
=> 8192 petabytes

It's bigger than any existing hardware can support.  :)  -sc

-- 
Sean Chittenden



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06166A08-82A6-11D8-BE7B-000A95C705DC>