Re: Instance with a larger disk size then Template

2017-08-03 Thread Mohd Zainal Abidin
We have this issue long time ago. We manually resize root when VM's still running. After resize and reboot the size show correct. On Aug 4, 2017 6:25 AM, "ilya" wrote: > Just a thought - as i do this very frequently. > > If you are using LVM on your ROOT partition

Re: Instance with a larger disk size then Template

2017-08-03 Thread ilya
Just a thought - as i do this very frequently. If you are using LVM on your ROOT partition - you dont need to power it on via Live CD. It can all be done online while the system running. On 8/3/17 6:40 AM, Imran Ahmed wrote: > Hi Erik, > > Thanks for suggestion, I tried this too and was

Re: AW: Instance with a larger disk size then Template

2017-08-03 Thread ilya
Great feedback - did not know cloud-init supported this. On 8/3/17 3:17 AM, S. Brüseke - proIO GmbH wrote: > Hi Imran, > > you are talking about 3 different levels here to reach your goal of resizing > a volume. First level is the volume itself. This is what you can do within > CS. After

Re: Some things I found out installing on Centos 7

2017-08-03 Thread ilya
Eric Its a good feedback for us as community to focus on cleaning up documentation. We are adding many features - and we need to make sure they are properly reflected. Also - way back when - some of the documentation was written by technical writers sponsored by Citrix. I can only assume

AW: Creating a Cloud-Init Ready Template for CentOS7

2017-08-03 Thread S . Brüseke - proIO GmbH
Hi, we are using the following config for template createn via virt-install: https://gitlab.proio.com/s.brueseke/megonacloudtemplates/blob/master/CentOS/centos7.cfg But take a look at: http://dl.openvm.eu/ You can find tempates there. Mit freundlichen Grüßen / With kind regards, Swen

Re: Creating a Cloud-Init Ready Template for CentOS7

2017-08-03 Thread Rodrigo Baldasso
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.8/templates.html#creating-a-linux-template You can install qemu-guest-agent if you use KVM.  - - - - - - - - - - - - - - - - - - - Rodrigo Baldasso - LHOST (51) 9 8419-9861 - - - - - - - - - - - - - - - - - - - On

Creating a Cloud-Init Ready Template for CentOS7

2017-08-03 Thread Imran Ahmed
Hi all, Can someone suggest what packages are recommended to create a new cloud-init enabled template for CentOS 7? For an OpenStack environment we need below packages: acpid Cloud-init cloud-utils-growpart Also on the host machine we use virt-sysprep to remove mac addresses etc. Regards,

Re: [DISCUSS] CloudStack 4.9.3.0 (LTS)

2017-08-03 Thread Rohit Yadav
All, We've helped with several PR reviews and merges recently, both in 4.9 and master. We'll stop accepting any changes by end of next week (18 August), afterwards we'll only accept test and blocker fixes blocking the release. Feel free to suggest any commits/fixes/PRs we should consider

RE: Instance with a larger disk size then Template

2017-08-03 Thread Rodrigo Baldasso
We don't use lvm inside containers here because we find out that is easier to resize without it.  You can even boot up with an GParted ISO that's makes very simple resizing the VM (even the client can do it) with very small risk comparing to use manual tools. - - - - - - - - - - - - - - - - -

RE: Instance with a larger disk size then Template

2017-08-03 Thread Imran Ahmed
Hi Erik, Thanks for suggestion, I tried this too and was successful till lvextending the logical volume. However at the stage of running resize2fs it produced errors like : Bad super block..." so I ended up installing from an ISO and partitioning without LVM this time so that I could use

Re: Instance with a larger disk size then Template

2017-08-03 Thread Erik Weber
A faster approach than those mentioned is to create a new partition on the unused disk space, and add it to the volume group, then use lvextend and resizing the fs. On Thu, Aug 3, 2017 at 12:00 PM, Imran Ahmed wrote: > Hi All, > > I am creating an instance with a 300GB disk

Re: Instance with a larger disk size then Template

2017-08-03 Thread Dag Sonstebo
Hi Imran, If you create a VM from template then the root disk adopts the size of the original template – and the disk size your select is for *additional data disks*. So you probably now how a 5GB root disk and a 300GB data disk attached. In that case you should no use LVM to extend the root

RE: Instance with a larger disk size then Template

2017-08-03 Thread Imran Ahmed
Hi Swen, I am thankful for the detailed technical explanation. I will try to expand the LVM partition by booting from the CentOS CD and will come back to you if I need further support. Cheers, Imran -Original Message- From: S. Brüseke - proIO GmbH [mailto:s.brues...@proio.com] Sent:

RE: Instance with a larger disk size then Template

2017-08-03 Thread Imran Ahmed
Hi Makran, I appreciate your reply on this. I will complete the procedure that you have mentioned. Kind regards, Imran -Original Message- From: Makrand [mailto:makrandsa...@gmail.com] Sent: Thursday, August 03, 2017 3:10 PM To: users@cloudstack.apache.org Subject: Re: Instance with a

AW: Instance with a larger disk size then Template

2017-08-03 Thread S . Brüseke - proIO GmbH
Hi Imran, you are talking about 3 different levels here to reach your goal of resizing a volume. First level is the volume itself. This is what you can do within CS. After that you need to extend the partition and then you need to expand the filesystem. The last to levels you need to do within

RE: Instance with a larger disk size then Template

2017-08-03 Thread Imran Ahmed
Hi Dag, Thanks for your prompt reply. During the creation of new instance I set the size of root disk to 300G. Once the instance was created , the device /dev/vda was created with 300G size. However the LVM partition still shows 5G size. (same is shown under in df -h) Regards, Imran

Re: Instance with a larger disk size then Template

2017-08-03 Thread Makrand
Imran, >From Linux POV, boot VM from live centos DVD/ISO and then go on for extending root LVM partition. Once you boot into live ISO, the existing root will be just another lvm and can be extended by using existing unused space on vggroup. If you don't wanna do all time with new VM, then set

Re: Instance with a larger disk size then Template

2017-08-03 Thread Dag Sonstebo
Hi Imran, Can you elaborate – you say your template had a 5GB root disk. Did you resize this, or did you add a disk? If you resized it then all you need to do is use your LVM and filesystem tools to expand your partition. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 03/08/2017, 11:00,

Instance with a larger disk size then Template

2017-08-03 Thread Imran Ahmed
Hi All, I am creating an instance with a 300GB disk from a CentOS 7 template that has 5GB disk (LVM Based). The issue is that the root LVM partition inside the new VM instance still shows 5GB . The device size (/dev/vda) however shows 300GB. The question is what is the best strategy to

RE: CloudStack 4.9 Enabling Local Storage for Zones

2017-08-03 Thread Imran Ahmed
Hi Anshul, Got your point. Thanks a lot Regards, Imran -Original Message- From: Anshul Gangwar [mailto:anshul.gang...@accelerite.com] Sent: Thursday, August 03, 2017 1:59 PM To: users@cloudstack.apache.org Subject: Re: CloudStack 4.9 Enabling Local Storage for Zones Full path is

Re: CloudStack 4.9 Enabling Local Storage for Zones

2017-08-03 Thread Anshul Gangwar
Full path is Home->Infrastructure->Zone-> Regards, Anshul On 03/08/17, 2:27 PM, "Anshul Gangwar" wrote: It’s not that kind of setting. Goto Zone →→Details Go through all the details. There you will see “Enable local storage for User

Re: CloudStack 4.9 Enabling Local Storage for Zones

2017-08-03 Thread Anshul Gangwar
It’s not that kind of setting. Goto Zone →→Details Go through all the details. There you will see “Enable local storage for User VMs”. Modify details to change the value. Regards, Anshul On 03/08/17, 2:17 PM, "Imran Ahmed" wrote: Hi Anshul, Thanks for your

RE: CloudStack 4.9 Enabling Local Storage for Zones

2017-08-03 Thread Imran Ahmed
Hi Anshul, Thanks for your reply. Can you specify the setting parameter? All I can see under settings for a zone are below : 1. enable.dynamic.scale.vm Enables/Disables dynamically scaling a vm 2. guest.domain.suffix Default domain name for vms inside virtualized networks

UNSUBCRIBE

2017-08-03 Thread Akshay Dhapare
DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not

Re: CloudStack 4.9 Enabling Local Storage for Zones

2017-08-03 Thread Anshul Gangwar
That option is available in zone details. Regards, Anshul On 03/08/17, 1:16 PM, "Imran Ahmed" wrote: Hello All, I am working on a cloudstack 4.9 setup with a few KVM hosts. Some of the KVM hosts have local primary storage besides the NFS storage. In the

CloudStack 4.9 Enabling Local Storage for Zones

2017-08-03 Thread Imran Ahmed
Hello All, I am working on a cloudstack 4.9 setup with a few KVM hosts. Some of the KVM hosts have local primary storage besides the NFS storage. In the global settings I could not find an option to enable local storage for the zone. ( I am using advanced zone here). When I tried to create a VM