TurnKey Linux Virtual Appliance Library

Extending root partition

69wolf69's picture


Im new to Turnkey Linux, but have been very impressed with the virtual appliances so far! I have downloaded and am currently using the lamp, mysql and torrent appliances and think they are very good and well set up! However, the issue i am facing is the virtual hdd that the appliances come with are only 20GB and these are just too small. So, i was trying to make them bigger by using LVM comands, but these didnt work, here is the output:

root@lamp ~# lvextend -L+230G /dev/turnkey/root
  Extending logical volume root to 247.00 GiB
  Insufficient free space: 58880 extents needed, but only 165 available

I made sure that there was enough space on the hdd by setting the size to 255GB within VMWare ESXi and this showed as i booted a live cd of ubuntu and the extra space showed in the disk manager.

Any help is much appreciated!

Cheers! =)

Liraz Siri's picture

You've inspired me to write a new blog post

Gizmo, your question inspired me to write a new blog post. Hope this helps!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)