public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Devices/Partitions over 2TB
@ 2005-03-14 16:44 Berkley Shands
  2005-03-14 21:23 ` Miquel van Smoorenburg
  2005-03-17 13:07 ` Andries Brouwer
  0 siblings, 2 replies; 9+ messages in thread
From: Berkley Shands @ 2005-03-14 16:44 UTC (permalink / raw)
  To: linux-kernel

	With a Broadcom BC4852 and suitable Sata drives, it is easy to create
functional devices with well in excess of 2TB raw space. This presents a severe
problem to partitioning tools, such as fdisk/cfdisk and the like as the
kernel partition structure has a 32 bit integer max for sector counts. Since
the read_int() function combined with cround() overflows, having such a large
device makes life difficult. While mkfs.ext3 doesn't care, there is not
any way to slice that space up other than to use the raw device (/dev/sda).
Ever though about backing up 4TB to tape? :-)
	Even with a severely hacked up fdisk, the 32-bit field is just too
hard coded to make the effort worthwhile. A newer revision of the partitioning 
system needs to be thought of.  The kernel must be told how to deal with large
devices (the filesystems already do this), using at least 64 bits here.
Using a large SAN server, I've seen 200 Peta-byte arrays. While that is excessive
for a local workstation, 4-16 TB is clearly available and being deployed.
I have not found any documentation of efforts to overcome the 2TB partition limit,
though someone should be thinking of this. If there is an effort, could someone
point me to that place? If not, is there any interest in starting such a project?

thanks for the bandwidth.

berkley@cs.wustl.edu

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-03-17 13:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-14 16:44 Devices/Partitions over 2TB Berkley Shands
2005-03-14 21:23 ` Miquel van Smoorenburg
2005-03-14 21:35   ` Randy.Dunlap
2005-03-14 23:58   ` jmerkey
2005-03-15  4:47     ` Bernd Eckenfels
2005-03-15  4:54       ` jmerkey
2005-03-16 12:16         ` Stephen C. Tweedie
2005-03-16 14:06           ` Lennart Sorensen
2005-03-17 13:07 ` Andries Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox