Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    394
    Likes Received:
    0
    Trophy Points:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Voltar

    Voltar Well-Known Member

    Joined:
    Apr 30, 2007
    Messages:
    267
    Likes Received:
    1
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. logicsupport

    logicsupport Well-Known Member

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice