How to add a new disk to Ubuntu server (12.04) by using remote ssh

1. Physically install the hard disk.
2. use ssh log in
3. find out whether the disk is installed

sudo fdisk -l

4. find out the UUID of the disk

sudo blkid

See here for UUID: https://help.ubuntu.com/community/UsingUUID

5. add /etc/fstab
sudo nano /etc/fstab

#/dev/sdb1*
UUID=30fcb748-ad1e-4228-af2f-951e8e7b56df* /home/NEW-DISK* ext4 defaults 0 2

* change accordingly.

For fstab editing instruction please read: https://help.ubuntu.com/community/Fstab

6. To create a new mount point,

sudo mkdir /home/NEW-DISK*

7. To mout all file systems in /tec/fstab

sudo mount -a