View Single Post
  #2 (permalink)  
Old 07-09-2009, 06:23 PM
Voltar Voltar is offline
Registered User
 
Join Date: Apr 2007
Location: Bakersfield, California
Posts: 265
Voltar is on a distinguished road
In WHM you can do it by going to Disk Drives >> Format/Mount a new hard drive. I've never used that before though.

By hand you could do something like.

fdisk the 'drive'
Quote:
fdisk /dev/hdd
(press 'm' for help to see all the options)
press 'n' for a new partition
press 'p' for a new primary partition
partition number 1 (since it'll be the only one on the disk)
use the default first cylinder
use the last cylinder
(it should go back and ask for a command after that)
hit 'p' to show the partition table, if it looks good, hit 'w' to write to disk and exit.

Now format it:
Code:
mkfs.ext3 /dev/hdd1
Then add an entry to fstab for the new partition:

Quote:
/dev/hdd1 /home2 ext3 defaults,usrquota 1 2
And then mount /dev/hdd1.

That should do it.
__________________
.
Reply With Quote