I need to install another hard drive is there anything I need to know

Discussion in 'General' started by chaloum, Jun 2, 2012.

  1. chaloum

    chaloum New Member

    I've run out of storage space and I need to install another hard drive is there anything I need to know?

    Part of the process is to move the existing sites to the new drive/s, can this be done from within ISPConfig?

    what do I need to do to get ISPConfig to use the new drives/s instead of the current drive?

    Is there anything I need to do with Apache

    I used the How to build a perfect CentOS 6.2 server instructions.

    Any help much appreciated
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. chaloum

    chaloum New Member

    sadly no or I dont think so, I dont know, I put the server using the how to build a perfect server instructions is there a way of finding out?.

    I have seen a couple of articles here in adding RAID to an existing system
    http://www.howtoforge.com/how-to-create-a-raid1-setup-on-an-existing-centos-redhat-6.0-system and now the article you've pointed me at.

    Do you have any CentOS instructions, or will the same instructions work on CentOS?

    Can this be done to an existing system?
     
  4. chaloum

    chaloum New Member

    on page one of the A Beginner's Guide To LVM and on the line, Last cylinder or +size or +sizeM or +sizeK (1-10443, default 10443): <-- +25000M
    I understand you're installing a 80gb drive but only allocating 25gb when creating the partition.

    Does it make a different if I'm installing a 2TB drive? would I still allocate 25gb or would i make it larger?

    this first drive is a 1TB drive and am not sure if this makes any difference.
     
  5. chaloum

    chaloum New Member

    I've got LVM on the system

    /dev/vg_server/lv_root
    /dev/vg_server/lv_home
    /dev/vg_server/lv_swap

    and have the new drive in the system

    can I mount the new drive to the existing group volume which I assume is vg_server?
     
  6. falko

    falko Super Moderator ISPConfig Developer

    First you must format your new hard drive with Linux LVM with the fdisk command. Then prepare the new partition for LVM with the pvcreate command. Then you can use the vgextend command to add the partition of the volume group vg_server (see chapter 5 of the tutorial).

    Resizing logical volumes is described in chapter 4.
     

Share This Page