[storage-discuss] Disk Size Limits For 32/64-bit Kernel
Andrew
andy at crowbird.com
Wed Sep 23 11:52:15 PDT 2009
To verify for myself before buying a 1TB drive I did the math.
The comparison in cmdk.c is:
if (#blocks - 1 > DK_MAX_BLOCKS) then fail
where
DK_MAX_BLOCKS = 2^(32-1) = 0x7fffffff
#blocks = 2147483648 = 1024GB * 1024MB * 1024KB * 1024B / 512B (block size)
#blocks = 2147483648 = 0x80000000 = 0x7fffffff + 1
so a 1TB drive should work.
--
This message posted from opensolaris.org
More information about the storage-discuss
mailing list