Re: Largest Disk Partition

Sean Chittenden <[email protected]>
Newsgroups gmane.os.freebsd.devel.database
Message-ID <[email protected]>
> 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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-database
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.