Validator Home

Setup Your Disks

2min

You will want to verify you have at lease 400gb avaiable on your machine using df -h. Here you see 940G in my / mount point on drive /dev/sdc/. The Ubuntu installer will default to 100G and leave much of your space unused unless you tell it what to do.

Document image


If your machine has 2 Disks, we want to separate the Ledger to the larger disk.

NOTE: if you change ledger to a separate drive, you will need to modify your Ledger Dir in other commands and locations later in the guide.



Process to mount a new directory:

Run lsblk to see your storage devices on your system

If you have a drive not being used, you can run sudo mkfs -t ext4 /dev/sdd but adjusting for your device name.

Then you can make your ledger dir in some folder such as sudo mkdir -p /mnt/ledger

And change ownership to your non-privledged user sudo chown -R xand:xand /mnt/ledger

And then mount it to your spare device sudo mount /dev/sdd /mnt/ledger

Now anything you put in the /mnt/ledger directory will be held in the additional drive (possibly a faster nvme drive).