Initial Server Setup

This is a guide for getting your server setup before installing Solana software.

Format and mount a primary disk for accounts, snapshots and logs (Optional)

This step depends on how your server is initially configured. For instance, if the first disk is where the OS is installed by default and enough space is available to contain accounts, snapshots, and logs, you can skip this step.

Find unused disk

sudo parted -l | grep Error

Choose partitioning Standard

sudo parted /dev/<device> mklabel gpt

Create the new Partition

sudo parted -a opt /dev/<device> mkpart primary ext4 0% 100%

Create a filesystem on the new partition

sudo mkfs.ext4 -L solana_ledger /dev/<device partition>

Get the uuid

sudo lsblk -o NAME,FSTYPE,LABEL,UUID,MOUNTPOINT

Add mount entry in /etc/fstab

/dev/disk/by-uuid/<device partition uuid> /mnt/solana ext4 defaults 0 2

Mount device

sudo mount -ab

Last updated