Wednesday, 4 January 2017

[AWS] EC2 Extends storage and mounting

1. Check device

#> sudo file -s [DEVICE_PATH]




2. Make filesystem

#> sudo mkfs -t [FILESYSTEM_TYPE] [DEVICE_PATH]




3. Mount

#> sudo mount [DEVICE_PATH] [MOUNT_DIRECTORY]




4. Setup auto mount when rebooting

#> sudo vi /etc/fstab















No comments:

Post a Comment