When using the custom option, tablespaces are created based on the user's custom input. For each tablespace, you must specify the initial size, growth increment, and location. You can make these specifications using the -- dbspace# switch. For more information, see --dbspace# "[initial size], [growth increment], [tablespace path]".
If a -- dbspace# switch is used to specify information for at least one DBSpace, then the switch must be used to specify information for every DBSpace.
Alternatively, custom settings for tablespaces can be defined in the JSON configuration file. The following is an example of a command that creates the database using custom tablespace settings defined in a custom JSON configuration file:
foundationdbutils create --datasourcename "[data source name]" --configoverride [config file path]\[config file name] --tablespaceoption "custom"
For information on how specify the custom option in a Foundation DBUtils JSON configuration file, see Modifying the JSON Configuration File.