docs: wrap lines

This commit is contained in:
Trent Nelson 2021-01-07 00:57:28 -07:00 committed by mergify[bot]
parent 769b8f5613
commit 140642ea21
1 changed files with 5 additions and 1 deletions

View File

@ -397,7 +397,11 @@ Example configuration:
(assuming your validator is running under the user "sol"). **CAREFUL: If you (assuming your validator is running under the user "sol"). **CAREFUL: If you
incorrectly edit /etc/fstab your machine may no longer boot** incorrectly edit /etc/fstab your machine may no longer boot**
3. Create at least 250GB of swap space 3. Create at least 250GB of swap space
- Choose a device to use in place of `SWAPDEV` for the remainder of these instructions. Ideally select a free disk partition of 250GB or greater on a fast disk. If one is not available, create a swap file with `sudo fallocate -l 250G /swapfile`, set its permissions with `sudo chmod 0600 /swapfile` and use `/swapfile` as `SWAPDEV` for the remainder of these instructions - Choose a device to use in place of `SWAPDEV` for the remainder of these instructions.
Ideally select a free disk partition of 250GB or greater on a fast disk. If one is not
available, create a swap file with `sudo fallocate -l 250G /swapfile`, set its permissions
with `sudo chmod 0600 /swapfile` and use `/swapfile` as `SWAPDEV` for the remainder of
these instructions
- Format the device for usage as swap with `sudo mkswap SWAPDEV` - Format the device for usage as swap with `sudo mkswap SWAPDEV`
4. Add the swap file to `/etc/fstab` with a new line containing `SWAPDEV swap swap defaults 0 0` 4. Add the swap file to `/etc/fstab` with a new line containing `SWAPDEV swap swap defaults 0 0`
5. Enable swap with `sudo swapon -a` and mount the tmpfs with `sudo mount /mnt/solana-accounts/` 5. Enable swap with `sudo swapon -a` and mount the tmpfs with `sudo mount /mnt/solana-accounts/`