minio Verified current stable Not installed? Cloud Infrastructure

Minio / Start Minio Server Cluster Nodes

Start Minio Server Cluster Nodes

Minio server command to initialize nodes for scalable storage on specified addresses.

$
Terminal
minio server <node1_hostname> <path/to/data_directory> <node2_hostname> <path/to/data_directory>

When To Use

During a node failure recovery or scaling operation in an active cluster.

Pro Tip

Use the --address flag to bind the server to a specific network interface for performance tuning.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
minio server <node1_hostname> <path/to/data_directory> <node2_hostname> <path/to/data_directory>

Anatomy of Output

Understanding the result

[INFO] Listening on :9000 Server Start

Indicates initial server binding on port 9000.

[INFO] API: /minio/storage/v1 API Endpoint

Endpoint URL for accessing storage API.

[INFO] Minio server started successfully Server Status

Confirms successful startup of Minio server.

Troubleshooting

Common pitfalls

Error: InvalidArgument: storage directory does not exist

Solution: Ensure the specified data directory exists.

Error: Network error: bind: address already in use

Solution: Check if another process is using the required port.

Error: Unable to parse config, config file malformed

Solution: Validate the JSON/YAML syntax of the Minio configuration file.

Command Breakdown

What each part is doing

minio
Base Command
The executable that performs this operation. Here it runs Minio before the shell applies any redirect operators.
<node1_hostname>
node1 hostname
The host or server name supplied to this command.
<path/to/data_directory>
path to data directory
The directory path supplied to this command.
<node2_hostname>
node2 hostname
The host or server name supplied to this command.

Alternative Approaches

Comparable commands in other tools

Alternative cloud infrastructure tools for the same job.