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 add more HDD to /home folder

Discussion in 'General Discussion' started by sonuyos, Mar 18, 2016.

  1. sonuyos

    sonuyos Member

    Joined:
    Mar 18, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Ok,

    so i have this server which is running my 1 and only site.

    It is a dedicated server, and this site is of almost 1.7TB.

    I recently migrated from other server.

    Now, the home partition is 1.8TB site,

    and it is 100% full,

    I have another 1.8TB HDD on the same server, how can i add that 1.8tb HDD to /home?

    I know this is pretty stupid, but i rarely work on centos, and i have no clue how to work this out..

    Here is the structure of the HDDs..

    root@xxxxxx [~]# lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 1.8T 0 disk
    ├─sda1 8:1 0 300M 0 part /boot
    ├─sda2 8:2 0 1.8T 0 part /
    └─sda3 8:3 0 1G 0 part [SWAP]
    sdb 8:16 0 1.8T 0 disk
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,880
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    I can see you created normal linux partition on your old disk so you can NOT increase it now. You can increase only LVM partition on Linux server.

    You have hosted only on site on your server so you can mount your second disk on /home2 directory and link your some folder from /home to your /home2/ directory
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    43
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I agree with 24x7server, Also, if on your server /var or /backup directory is big size then you can add another disk and mount that big directory on new disk.

    Can you please provide the out put for below command so that I can check and assist you.

    Code:
    cd /
    du -sch *
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    I'd like to note that while you can review user-feedback and tutorials on changing the partition, it's generally a good idea to consult with your data center or a qualified system administrator before making any changes if you are not experienced with partition management. Otherwise, you risk data loss if you make a simple mistake.

    Thank you.
     
    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