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

next in thread | previous in thread | raw e-mail | index | archive | help
I know the underlying VM system has been able to cross the 2TB barrier
for quite some time, but can SCSI LUNs be bigger than 2TB now?

-Mark

On Tue, Mar 30, 2004 at 03:57:38PM -0800, Sean Chittenden wrote:
> >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
> 
> _______________________________________________
> freebsd-database@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-database
> To unsubscribe, send any mail to "freebsd-database-unsubscribe@freebsd.org"

-- 
 Mark Mayo        <mark@vmunix.com>       http://www.vmunix.com/~mark
 PGP Fingerprint: 32BA C076 D78C 109B 2558  25E5 0CCE C6C1 262E 28AF                
 Commitment, n.:  Commitment can be illustrated by a breakfast of  
 ham and eggs.    The chicken was involved, the pig was committed.                       


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040331053908.GA45657>