Largest Disk Partition

Sean Chittenden sean at chittenden.org
Tue Mar 30 15:57:53 PST 2004


> 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



More information about the freebsd-database mailing list