Largest Disk Partition

Mark Mayo mark at vmunix.com
Tue Mar 30 21:39:08 PST 2004


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-database
> To unsubscribe, send any mail to "freebsd-database-unsubscribe at freebsd.org"

-- 
 Mark Mayo        <mark at 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.                       


More information about the freebsd-database mailing list