how to formatting a new harddrive in linux/unix console :

Here is a simple steps how to formatting a new harddrive in linux/unix console :

First, we need to take a look all partition in your server

Code:
$fdisk -l
.....
.....
Disk /dev/hdd: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
__________________

You will see a result above that tell /dev/hdd is have 320GB but don't have any partition on it.

0 comments: