Skip to content

Instantly share code, notes, and snippets.

@ericallam ericallam/Terminal
Last active Nov 6, 2017

Embed
What would you like to do?
sudo parted /dev/disk/by-id/scsi-0DO_Volume_volume-lon1-03 mklabel gpt
sudo parted -a opt /dev/disk/by-id/scsi-0DO_Volume_volume-lon1-03 mkpart primary ext4 0% 100%
sudo mkfs.ext4 /dev/disk/by-id/scsi-0DO_Volume_volume-lon1-03-part1
sudo mkdir -p /mnt/volume-lon1-03-part1
echo '/dev/disk/by-id/scsi-0DO_Volume_volume-lon1-03-part1 /mnt/volume-lon1-03-part1 ext4 defaults,nofail,discard 0 2' | sudo tee -a /etc/fstab
sudo mount -a
sudo chmod 777 /mnt/volume-lon1-03-part1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.