That depends on the cabinet. The Code requires a sump that holds at least the largest container and at least a quarter of everything in the cabinet; the standard EN 14470-1 requires at least 110 % of the largest container or 10 % of the total. Calculate both and use the larger result. With a 30-litre sump, this gives at most 120 litres, in containers of no more than 27 litres each. Also respect the maximum shelf load stated by the manufacturer and the conditions at your site.
Above certain quantities you must also notify the storage or obtain a permit: see the thresholds by region in our guide. We help you choose the right cabinet size and layout.