sudo lshw -C disk
sudo fdisk /dev/sdb
<type 'n' and 'enter' for new partition>
<type 'p' for primary partition>
<type '1' to fill the entire drive with 1 partition>
<type 'w' to write partition to disk>
sudo mkfs -t ext3 /dev/sdb1
$ # < grab uuid of new disk >
$ sudo blkid
$ # < create our mount point >
$ sudo mkdir /data
$ # < edit fstab for automount >
$ sudo nano -Bw /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
...
...
...
...
# new drive mounted to /data
UUID=03b7775d-a9d5-4977-b054-78451fa3046a /data ext3 defaults 0 2
$ # < mount the drive >
$ sudo mount -a
$ sudo chgrp plugdev /data
$ sudo chmod g+w /data
$ sudo chmod +t /data
https://help.ubuntu.com/community/UsingUUID https://help.ubuntu.com/community/InstallingANewHardDrive