add second HDD - ISPConfig 3, Debian 7

Discussion in 'ISPConfig 3 Priority Support' started by inside83, Mar 20, 2015.

  1. inside83

    inside83 Member HowtoForge Supporter

    Hello,

    I am running out of space on one of my servers running ISPConfig 3 on top of Debian 7.
    Is there a way to add second HDD (internal or external) so that the clients do not run out of space for e-mails and ownCloud?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Does your server use lvm?
     
  3. inside83

    inside83 Member HowtoForge Supporter

    Not sure.
    Is there a way to know that?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    run:

    lvscan

    to get a list of all logical volumes. If no volumes are listed or the command is not found, then you dont use lvm.
     
  5. inside83

    inside83 Member HowtoForge Supporter

    Code:
     lvscan
    -bash: lvscan: command not found
    
    So I do not use lvm?
    Is adding second HDD much easier with lvm or is it impossible without?
    Can I start using it?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You dont use lvm. With lvm you would have been able to to extend your current partition with a second harddisk. But this has to be setup during OS install, there is no esay way to to that now.

    My suggstion is that you levae either mail or web on the current harddisk and move the other one to the new harddisk. you can then use a bind mount to relocate the data without changing the actual path in ispconfig. A bind mount is a kind of symlink, but on filesystem level.

    https://www.howtoforge.com/use_moun...ctory_of_a_ispconfig_server_to_a_new_location
     
  7. inside83

    inside83 Member HowtoForge Supporter

    Could I backup everything, move data to external HDD, reinstall OS (this time, with lvm enabled), restore data and then add another HDD?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats always possible off course.
     
  9. inside83

    inside83 Member HowtoForge Supporter

    Great!
    Is there a tutorial on how to backup and restore everything?
     
  10. inside83

    inside83 Member HowtoForge Supporter

    Should I use some kind of tool like Acronis or is there a better way?
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, would recommend to use a backup solution that makes a backup of the whole operating system, so nothing ISPConfig specific.
     

Share This Page