Last active
November 6, 2017 20:50
-
-
Save ericallam/cb336faed329c878194b94e30a877ef8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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