Skip to main content

add 2nd HDD and move some users to it

Comments

7 comments

  • Eric
    Howdy, The easy way to make cPanel start using it is to mount it as /homeN so /home2 or /home3 and so on. You can change your fstab in etc and cPanel will start using it. Thanks!
    0
  • morteza3245
    Thank you can you let me know how i can change name /data to /home2 ? i haven't any data on /data (means 2th HDD) Thanks.
    0
  • dalem
    Log into your server via SSH umount /data mkdir /home2 edit your /etc/fstab and change the line /data and put /home2 be sure to enable the quotas (make it look the same as your primary home partition) mount /home2
    0
  • morteza3245
    Thanks so much, now how i can ensure cpanel known my /home3 ? and how i can change a user directory from /home1 to /home3 ? Thanks.
    0
  • vanessa
    In /etc/wwwacct.conf, make sure to set HOMEMATCH to 'home' (no slash). cPanel will automatically provision to whatever /home* folder has the most space available. If you only want it to provision on /home3, set HOMEDIR to /home3 and blank out the HOMEMATCH directive. You can use the rearrange accounts function in WHM. There's a way to do it manually from command line as well.
    0
  • morteza3245
    Thanks, now my 1th HDD is 95% full, i want move some user to home3, how i can change directory user1 from 1th HDD to 2HDD (home3) ? Thanks.
    0
  • JaredR.
    Home " Account Functions " Rearrange an Account will move an account from one partition to another. This is documented here:
    0

Please sign in to leave a comment.