Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm examining the possibility to script the resizing of a kvm image. The goal is to give our customers the possibility to upgrade their vps online. So for instance if a customer has a vps of 10G then they get the option to upgrade to 20G and set the time when the server restarts for the upgrade to take effect. The resizing of the image it self won't be much trouble, but how to script the resizing of the partition and file system inside the vps?
I was wondering if it's possible to do this in a robust way and if someone has done this before. I couldn't find much about this on the internet.

At the moment I'm using proxmox2 with ubuntu 12.4 LTS guests.

Thanks in advance

share|improve this question

May be this link can help u ..

share|improve this answer
Welcome to Server Fault! We really do prefer that answers contain content not pointers to content. Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Iain Feb 5 '13 at 17:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.