The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do you create /home2 on a new secondary HDD

Discussion in 'General Discussion' started by chrisbuk, Jul 9, 2009.

  1. chrisbuk

    chrisbuk Well-Known Member
    PartnerNOC

    Joined:
    Dec 7, 2003
    Messages:
    393
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Liverpool, United Kingdom
    cPanel Access Level:
    DataCenter Provider
    Hi

    this server is a virtual machine. i have added a secondary HDD which is 15GB

    if i do

    I get

    how do i format this and make it /home2
     
  2. Voltar

    Voltar Well-Known Member

    Joined:
    Apr 30, 2007
    Messages:
    269
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Bakersfield, California
    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'

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

    And then mount /dev/hdd1.

    That should do it.
     
  3. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    mount -a , command will help to update the /etc/fstab entries with out rebooting the server
     
Loading...

Share This Page