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 to mount a partition on my second drive..HELP!

Discussion in 'General Discussion' started by Nathan D., Sep 13, 2004.

  1. Nathan D.

    Nathan D. Well-Known Member

    Joined:
    Mar 21, 2004
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Virginia
    My second drive is already mounted as "/" and using 15% out of 80GB. I need to only allow maybe 20% for / and mount the rest of the space as "/home2". How do I do this?
     
  2. Nathan D.

    Nathan D. Well-Known Member

    Joined:
    Mar 21, 2004
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Virginia
    Anyone?
    .....
     
  3. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    318
    You need to resize the partition and then format a new one with the free space. I would highly recommend you hire someone ( perhaps your server provider ) to do this for you, if you are incapable of doing the research on your own.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    You would need to repartition the hard drive in order to achieve that. Meaning reload OS.

    Actually its strange to see your second hdd being mounted as /
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    hahah exactly at the same time :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Nathan D.

    Nathan D. Well-Known Member

    Joined:
    Mar 21, 2004
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Virginia
    OK, thank you for the information.
     
  7. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    Just create a directory called home2 inside of /
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    type
    df
    fdisk -l

    paste results here

    to partiton
    fdisk /dev/hdx
    mkfs -text3 /dev/hdx#
    repeat for all partitions
    e2fsck /dev/hdx#
    repeat for all partitions

    Practice on a test server first.
     
    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