Mount Disk on Linux Server.

1. Mount New Disk on Linux Server
In the following procedure to mount the new disk as a secondary in Linux Server

Legends:
i. Login to Linux server using ssh-key
ii. Execute command ‘df –h’ to check the available disk mount on the server
iii. Execute command ‘fdisk –l’ to check the available raw disk

Legends:
i. Execute command ‘mkfs.ext4 /dev/vdb’ to format the raw disk

Legends:
i. Create a directory to mount the formatted disk
ii. Execute command ‘mkdir <directory name>‘
iii. Execute command ‘mount /dev/vdb <new directory name>‘
iv. Execute command ‘df –h’ to check the new mount disk

Legends:
i. Execute command ‘vi /etc/fstab’ to configure the new mount disk to be available after the server reboot

Legends:
i. Insert parameter as below
/dev/vdb | <new mount disk directory> | File system Type (ext4) | defaults | 0 0
ii. Execute command ‘wq!’ to safe the file

Legends:
i. Execute command ‘reboot’ to restart the server
Legends:

Legends:
i. Login to Linux server
ii. Execute command ‘df –h’ to re-check the availability of new mount disk after server rebooted
iii. The new mount disk available as ‘/apps’ with 30GB disk capacity