The first effective submarines, those of World War I, had hulls that were broadly circular in cross-section, with a deck plate mounted midway.
For some time it remained practice to place the main ballast tanks outside the pressure hull, but to keep the smaller auxiliary tanks inside the hull and below the deck.