Skip to main content

Split Storage on two SSD

Comments

10 comments

  • cPanelMichael
    Hello :) Have you mounted the drive to the server? Do you mean that cPanel is not recognizing the additional drive or that new accounts are not created on it? Thank you.
    0
  • kayyy
    Hi :) where can i see the mounted ssd ? i mean i`ve two ssd`s. where cpanel knows where to storage all websites if one of the ssd is full ?
    0
  • cPanelMichael
    You should see the drive mounted when using the "mount" command. Disk space availability should appear when using the "df -h" command. Did you mount the drive under a specific name (e.g. /home2)? Thank you.
    0
  • kayyy
    With df -h i get this results: It seems there`s no secound ssd. But i know i should have 2 x 240 GB ssds [QUOTE]Filesystem Size Used Avail Use% Mounted on /dev/md2 204G 30G 164G 16% / tmpfs 16G 0 16G 0% /dev/shm /dev/md1 496M 53M 419M 12% /boot /usr/tmpDSK 1.9G 36M 1.8G 2% /tmp
    0
  • cPanelMichael
    You may want to try mounting the drive again, or consulting with your data center/system administrator to ensure it's properly mounted to the server. Thank you.
    0
  • kayyy
    well cPanel is showing me the secound drive: [ 7.196427] sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/223 GiB) [ 7.196444] sd 1:0:0:0: [sdb] 468862128 512-byte logical blocks: (240 GB/223 GiB) but how can i say to cPanel "if the first disk is full storage all other files on the secound disk"? Because i got an alert today: "The file system /dev/md2, which is mounted at /, has reached critical status because it is 93% full."
    0
  • gopkris2005
    You have RAID Card in your server... Check your mounted drives and if you have additional drive then try to mount for /home2 folder and point that folder to account creation.
    0
  • kayyy
    where can i point for /home2 to account creation ? do i have to do this in whm ?
    0
  • gopkris2005
    Yes, You can mount additional drive to /home2 folder and change account home directory in WHM->Basic cPanel & WHM Setup-> Basic Config. Then new accounts will be stored on /home2 folder. Otherwise you can mount additional drive to /home2 folder and move large account home folder to /home2 folder and create symlinks in your /home directory. [quote="kayyy, post: 1601572">where can i point for /home2 to account creation ? do i have to do this in whm ?
    0
  • cPanelMichael
    Once the additional drive is mounted as /home2, then new accounts should automatically use that directory when created. Here is a quote from the option referenced in the previous post: [QUOTE]By default all directories matching the "Home Directory Prefix" are checked for available disk space and the directory with the most free space will be used.
    Thank you.
    0

Please sign in to leave a comment.