Results 1 to 2 of 2
  1. #1

    Resize main partition

    Hi all,
    I have a dedicated server running Ubuntu 9.04 and I want to start doing virtualization with LVM. However I only have 1 partition for all my data on my disk and I need to resize it to have space for the LVM. Is there any way to do this remotely? My host can't provide KVM for me to boot with a live CD and arrange the partitions and I can't think of another way to do this.

    Does anybody know another way of doing this?


  2. #2
    I'm afraid it does sound like you need to go the KVM+Live CD route. There is no other option as far as I know. Your host really should be able to provide KVM access... they pretty-much all do, either for free, or charged.

    Using .qcow2 image files is a reasonable way to do it though, you don't have to go the LVM route. If you are worried about performance, you can consider using "virtio" for the disk access, it's pretty good.

    You do lose out on the LVM snapshots though. What I do is use a separate .qcow2 image for my home and var partitions, then that keeps the main OS on a really small .qcow2 file. I then have a script that pauses the VM, copies the main OS image, then resumes it. The copy takes about 30 seconds, so this is an acceptable amount of downtime for me, especially as I don't do this every day. is useful for information about virtio. Also worth mentioning... if you're using networking, go for virtio or e1000, the default Realtek interface sometimes plays up.

Similar Threads

  1. can anyone help me resize a partition
    By grabahost in forum Dedicated Server
    Replies: 6
    Last Post: 08-14-2009, 12:04 AM
  2. Resize a serve partition
    By kakalu in forum Hosting Security and Technology
    Replies: 2
    Last Post: 10-14-2008, 06:15 AM
  3. resize a partition in Linux?
    By torwill in forum Hosting Security and Technology
    Replies: 7
    Last Post: 09-15-2004, 05:56 PM
  4. Resize NTFS Partition....Can't Boot Though
    By Neo3Net in forum Web Hosting Lounge
    Replies: 2
    Last Post: 06-21-2003, 01:30 PM
  5. Main partition nearly full, can't find the source
    By JeremyV in forum Hosting Security and Technology
    Replies: 6
    Last Post: 03-24-2003, 03:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts