Enlarge HD space

Discussion in 'Technical' started by ikrudolf, Aug 5, 2013.

  1. ikrudolf

    ikrudolf Member

    I have a Ubuntu server 12.04 with ispconfig 3 installed. Is there a way to enlarge my HD space? I have about 150GB now but would like to enlarge it by 150GB. How can I do this without reinstalling the server?

    Tnx in advance,
    Rudolf.
     
  2. ikrudolf

    ikrudolf Member

    Any ideas, tips?
     
  3. almere

    almere Member HowtoForge Supporter

    Ehm... Install the new harddisk, format and mount it ?
     
  4. mattmatt

    mattmatt New Member

    "Enlarging your hdd" isn't very clear, but I assume that you meant re-sizing one or more of your partitions.
    If so: To do this without destroying the data currently installed on the system, you can use gparted. Download a livecd iso from http://gparted.sourceforge.net/livecd.php and create a bootable disc/usb and follow the instructions.
     
  5. byau

    byau New Member

    Do you have room for more hard drive space? And are you using LVM?

    If using LVM and can add a hard drive
    1) insert new hard drive
    2) add it as a PV, expand your VG, expand your LV, expand your fs

    If not using LVM and can add a hard drive
    1) insert new hard drive
    2) find filesystem you can move off (e.g. /home)
    3) add new hard drive as /home2
    4) mv /home/* /home2/*
    5) umount /home (if it is a separate mount point)
    6) mount new disk as home

    If cannot add new hard drive (LVM or not)

    1) backup
    2) use clonezilla and clone your machine to a usb drive
    3) buy bigger hard drive
    4) insert bigger hard drive
    5) use clonezilla and restore your machine to new big hard drive

    Just some ideas and general outline.
     

Share This Page