cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nux! <...@li.nux.ro>
Subject Re: Auto-resize partition when create VM
Date Thu, 21 Nov 2013 12:10:58 GMT
On 21.11.2013 12:05, Fariborz Navidan wrote:
> Hi.
> Can I write down the above into a shell script and add it to first 
> boot?
> Can I then resize the root volume?

Yes, those commands will extend your root LVM over to the new DATA disk 
that you added.
However, you must only run that ONCE, running it at every boot will 
likely wipe out the data from it and re-add it to the LVM so be careful.
Another gotcha is that if you add yet another DATA disk, it will be 
called /dev/vdc or /dev/vdd and so on, you will need to add some extra 
logic into your scripts to make sure you will not lose any data.


-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

Mime
View raw message