André Amorim

Crafting Web Experiences


//

Linux Server Commands I needed

Reboot

reboot

shutdown --reboot now

Volume Mount

mount -a

See All Disks

fdisk -l

See Usage

df -h -x tmpfs -x devtmpfs

See Usage by Directory

du -h --max-depth=1 /var | sort -rh | head -10

Mount your volume at the newly-created mount point

mount -o discard,defaults,noatime /dev/disk/by-id/scsi-0DO_Volume_revisionary <strong>/root/revisionary/backend/src/cache</strong>

Change fstab so the volume will be mounted after a reboot

echo '/dev/disk/by-id/scsi-0DO_Volume_revisionary /root/revisionary/backend/src/cache ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab

Verify

findmnt --verify --verbose

Published date:

Modified date: