Disk too small - options

Discussion in 'General' started by Toucan, Jul 16, 2013.

  1. Toucan

    Toucan Member

    I recently made a new ispconfig installation running debian squeeze on a vm, inside virtualbox Ubuntu.

    Foolishly, i made the hard disk way too small at only 10gb. I now have the dilemma whether to attempt to increase the size of the existing hard disk or simply attach a new disk, copy the contents of /var to it and then mount it over the old /var. Would this even work?

    Any ideas,suggestions, tutorials appreciated..

    Thanks
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    I don't think it should raise any problems if you attach a new disk and mount it as /var
    Should not make any difference for the linux system whether the /var is on the root partition or on a separate one.
     
  3. Toucan

    Toucan Member

    Yes, thank you. I did try attaching a new drive, copying the old var directory abs remounting it over the old. I rebooted and it didn't go as planned. Are the databases also kept in this location? Possibly just plastering a duplicate set of data over the active data wouldn't go so well?
     
  4. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    The databases are kept in /var/lib/mysql.
    And you had the correct entries in the fstab on reboot?
     

Share This Page