50l3r

Active Member
Mar 3, 2017
42
6
8
Spain
cPanel Access Level
Root Administrator
Buenos dias

Vereis, dispongo de un equipo con multiples discos, un Raid 1 de SSH y un Raid 1 de HDD.

El caso es que me gustaria poder saber si es posible alojar a determinados clientes en SSD y a otros en HDD en carpetas separadas.

He visto que existe una opcion la cual no se si sera la que necesito:

Additional home directories matching the following value will also be used for new home directory creations. (Leaving this value blank disables the feature.) Only mount points are considered. This option only takes one value.

Examples: “home” matches /home, /home2, /newhome, /usr/home, /anythingwith/homeinit
Dispongo de dos directorios "/home" para los HDD y "/home2" para los SSD

Esa opcion me sirve? Que deberia hacer?
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,421
689
263
Houston
cPanel Access Level
DataCenter Provider
Hola,

Sí, sólo tiene que añadir home2 en la parte del partido de casa, esto permitirá que se reconozca la segunda unidad. Tenga en cuenta que cPanel/WHM añadirá automáticamente cuentas en función de la cantidad de espacio de disco disponible, aunque puede ir a reorganizar las cuentas más tarde y configurarlas en la unidad en la que desee que estén presentes.

Gracias!

=======================================================================
Hello,

Yes you would just add home2 to in the homematch portion, this would allow the second drive to be recognized. Keep in mind that cPanel/WHM will automatically add accounts based on the amount of available diskspace, you can go to rearrange accounts later though and set them to the drive you’d like them to be present on.

Thanks!
 

50l3r

Active Member
Mar 3, 2017
42
6
8
Spain
cPanel Access Level
Root Administrator
Asi?



When i try to organize account its says "The user is already installed on the only usable partition on this machine."
 
Last edited by a moderator:

50l3r

Active Member
Mar 3, 2017
42
6
8
Spain
cPanel Access Level
Root Administrator
Sure:

cat /proc/mounts

Code:
[[email protected]~]# cat /proc/mounts
sysfs /sys sysfs rw,relatime 0 0
proc /proc proc rw,relatime 0 0
devtmpfs /dev devtmpfs rw,nosuid,size=16404816k,nr_inodes=4101204,mode=755 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,relea                                        se_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,ne                                        t_cls,net_prio 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpu                                        acct 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
configfs /sys/kernel/config configfs rw,relatime 0 0
/dev/md2 / ext4 rw,relatime,quota,usrquota,errors=remount-ro 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=35,pgrp=1,timeout=0,min                                        proto=5,maxproto=5,direct 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
/dev/md1 /boot ext4 rw,relatime,errors=remount-ro,stripe=4 0 0
/dev/loop0 /tmp ext3 rw,nosuid,noexec,relatime 0 0
/dev/loop0 /var/tmp ext3 rw,nosuid,noexec,relatime 0 0
tmpfs /run/user/0 tmpfs rw,nosuid,nodev,relatime,size=3289728k,mode=700 0 0
/dev/md3 /home ext4 rw,relatime,quota,usrquota,errors=remount-ro 0 0
devtmpfs /home/virtfs/calltek/dev devtmpfs rw,nosuid,noexec,size=16404816k,nr_in                                        odes=4101204,mode=755 0 0
/dev/md2 /home/virtfs/calltek/opt ext4 ro,nosuid,relatime,quota,usrquota,errors=                                        remount-ro 0 0
/dev/loop0 /home/virtfs/calltek/tmp ext3 rw,nosuid,noexec,relatime 0 0
/dev/md2 /home/virtfs/calltek/usr ext4 ro,nosuid,relatime,quota,usrquota,errors=                                        remount-ro 0 0
/dev/md2 /home/virtfs/calltek/var ext4 ro,nosuid,relatime,quota,usrquota,errors=                                        remount-ro 0 0
/dev/md2 /home/virtfs/calltek/etc/scl ext4 ro,nosuid,noexec,relatime,quota,usrqu                                        ota,errors=remount-ro 0 0
/dev/md2 /home/virtfs/calltek/var/log ext4 rw,nosuid,noexec,relatime,quota,usrqu                                        ota,errors=remount-ro 0 0
/dev/loop0 /home/virtfs/calltek/var/tmp ext3 rw,nosuid,noexec,relatime 0 0
/dev/md2 /home/virtfs/calltek/etc/mail ext4 rw,nosuid,noexec,relatime,quota,usrq                                        uota,errors=remount-ro 0 0
/dev/md2 /home/virtfs/calltek/usr/sbin ext4 ro,relatime,quota,usrquota,errors=re                                        mount-ro 0 0
/dev/md2 /home/virtfs/calltek/var/spool ext4 rw,nosuid,noexec,relatime,quota,usr                                        quota,errors=remount-ro 0 0
/dev/md2 /home/virtfs/calltek/etc/apache2 ext4 ro,nosuid,relatime,quota,usrquota                                        ,errors=remount-ro 0 0
/dev/md2 /home/virtfs/calltek/etc/pki/tls ext4 ro,nosuid,relatime,quota,usrquota                                        ,errors=remount-ro 0 0
/dev/md2 /home/virtfs/calltek/etc/alternatives ext4 ro,nosuid,relatime,quota,usr                                        quota,errors=remount-ro 0 0
/dev/md2 /home/virtfs/calltek/etc/pki/ca-trust ext4 ro,nosuid,relatime,quota,usr                                        quota,errors=remount-ro 0 0
/dev/md2 /home/virtfs/calltek/var/cpanel/php/sessions ext4 rw,nosuid,noexec,rela                                        time,quota,usrquota,errors=remount-ro 0 0
/dev/md2 /home/virtfs/calltek/var/cpanel/email_send_limits ext4 rw,nosuid,noexec                                        ,relatime,quota,usrquota,errors=remount-ro 0 0
/dev/md3 /home/virtfs/calltek/home/calltek ext4 rw,relatime,quota,usrquota,error                                        s=remount-ro 0 0
cat /etc/fstab

Code:
[[email protected] ~]# cat /etc/fstab
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/md2        /       ext4    errors=remount-ro,usrquota      0       1
/dev/md1        /boot   ext4    errors=remount-ro       0       1
/dev/sda3       swap    swap    defaults        0       0
/dev/sdb3       swap    swap    defaults        0       0
proc            /proc   proc    defaults                0       0
sysfs           /sys    sysfs   defaults                0       0
tmpfs           /dev/shm        tmpfs   defaults        0       0
devpts          /dev/pts        devpts  defaults        0       0
/usr/tmpDSK             /tmp                    ext3    defaults,noauto        0 0
/swapfile swap swap defaults 0 0
/dev/md3                /home              ext4    errors=remount-ro,usrquota         0 0