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

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

  1. sonuyos

    sonuyos Registered

    Joined:
    Mar 18, 2016
    Messages:
    3
    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,146
    Likes Received:
    34
    Trophy Points:
    48
    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
     
  3. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    322
    Likes Received:
    24
    Trophy Points:
    18
    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 *
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,689
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page