Adding Extra Block Storage to Server Question

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
806
156
168
New Jersey
cPanel Access Level
DataCenter Provider
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,224
463
Hello,

The previous post is correct. Let us know if you have any questions about how this works.

Thanks!
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
806
156
168
New Jersey
cPanel Access Level
DataCenter Provider
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.
 
Last edited:
  • Like
Reactions: cPanelMichael

albatroz

Well-Known Member
Mar 6, 2003
401
6
168
Virtual Orbis / Peru
cPanel Access Level
Root Administrator
Twitter
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
[[email protected] ~]# 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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,224
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,224
463