Skip to main content

Adding Extra Block Storage to Server Question

Comments

11 comments

  • Jcats
    Just make sure they amount it as /home2 and cPanel will really do the rest Home Directory on Second Hard Drive You can also move accounts between partitions using WHM > Account Functions " Rearrange an Account
    0
  • cPanelMichael
    Hello, The previous post is correct. Let us know if you have any questions about how this works. Thanks!
    0
  • albatroz
    Hello, I guess I managed to got this think working. Can you please check the attached picture so I can be sure.
    0
  • Jcats
    Looks fine but quotas won't work properly: How to Fix Quotas - cPanel Knowledge Base - cPanel Documentation
    0
  • albatroz
    I migrated some accounts to the server I was talking about and noticed that the information shown as disk space usage is not accurate. Do I need to make any adjustment?
    0
  • albatroz
    I also tried the following command and got some error messages [root@s2 ~]# repquota -a repquota: Cannot open quotafile /home2/aquota.user: No such file or directory
    0
  • Jcats
    You need to first enable quotas. You can use the link in the previous response to enable quotas. In /etc/fstab you can copy the mount options from your root partition as well.
    0
  • albatroz
    In the end I used these commands mkdir /home2 echo >> /etc/fstab echo /dev/vdb1 /home2 ext4 defaults,noatime 0 0 >> /etc/fstab mount /home2 and got these results [root@s4 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 60G 9.2G 47G 17% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 1.9G 17M 1.9G 1% /run tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup tmpfs 380M 0 380M 0% /run/user/0 /dev/vdb1 148G 61M 140G 1% /home2 Any other suggestion?
    0
  • cPanelMichael
    Any other suggestion?

    Hello, I recommend seeking assistance from your server provider so they can let you know the best way to mount additional locations on your particular environment. Thank you.
    0
  • albatroz
    The problem I have now is that some accounts appear in WHM as if they were using 0MB of disk space
    0
  • cPanelMichael
    The problem I have now is that some accounts appear in WHM as if they were using 0MB of disk space

    I recommend reaching out to your provider to verify you mounted the additional location correctly. Once you do that, ensure to review the following document: How to Fix Quotas - cPanel Knowledge Base - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.