similar to: Python API for Resizing the disk

Displaying 20 results from an estimated 1000 matches similar to: "Python API for Resizing the disk"

2011 Oct 25
4
Ubuntu 11.04 DomU not showing external block Device
Hello, I just installed Xen 4.0.1 on Ubuntu 10.04 dom0. After this i had Ubuntu 11.04 as Para domU. I tried to attach file based disk to the this domU. My command is: # xm block-attach Ubuntu-11 file:/root/ubunut-natty/Extra /dev/xvdb w there is no error on this. But inside the DomU i cannot see any disk xvdb. xend.log shows : [2011-10-25 16:27:32 14794] DEBUG
2011 Dec 05
5
Ubuntu 11.04 shutdown Problem
I am using old Xen Rpms which comes with RHEL 5.5 . xen-3.0.3-105.el5. I am running Ubuntu 11.04 Full Virt on this. But after a gap of 2 or 3 days this VM gets shutdown automatically. I have checked the logs there is nothing suspicious.. What can be reason for it..?? Any one has faced same problem?? -- Thanks Vipul Borikar "Our task must be to free ourselves...by widening our circle of
2012 Jan 29
1
libvir: error : cannot getpwuid_r(107): Success
I am on RHEL 6.1 running KVM. I am getting following error when i start a Ubuntu 11.10 Guest I am attaching my xml file . # virsh -c qemu:///system create Ubuntu-110.10.xml error: Failed to create domain from Ubuntu-110.10.xml error: internal error Process exited while reading console log output: 16:19:53.991: 2418: info : libvirt version: 0.8.7, package: 18.el6 (Red Hat, Inc.
2012 Feb 02
2
KVM Image not working after expansion
Hello, I expanded a KVM image of 4gb to 10 gb .... My Host machine is RHEL 6.1 and Guest is RHEL 5.5 Command i used is: virt-resize --expand /dev/sda1 RHEL5.5-64bit.img RHEL5.5-10gb Commands successfully gets executed... Old disk works fine i mean it boots properly but the new disk stucks at GRUB... Has any one seen this behavior... What should i do to debug this problem.. --
2011 Oct 10
1
Child process died
Hello, I have installed libguestfs on RHEL 5.5 64 bit. 3 packages i have installed. libguestfs-tools-c-1.9.10-1.1 libguestfs-tools-1.9.10-1.1 libguestfs-1.9.10-1.1 When i am trying to run virt-resize it gives me error: virt-resize -expand /dev/sda1 vm01.scilab vm01.scilab-15GB -d libguestfs: trace: add_drive_opts "vm01.scilab" "readonly:true" libguestfs: trace:
2012 Apr 24
1
Non-Root not able to use openReadOnly()
Hi, I have a code : import libvirt con = libvirt.openReadOnly(None) print con.listDomainsID() When i run the above code using root i get the proper output... but when i use non-root user it givers be a empty list [ ] If i change the 2nd line to con = libvirt.open(qemu:///system) It works. I am using RHEL 6.1 with default kvm and libvirt. unix_sock_group = "virt" in
2012 May 14
0
Script execution at Boot
I am using KVM on RHEL 6.1. When i try to run a RHEL 5.5 Guest using virt-manager the a shell script put under rc.local runs properly. But when i try to run Guest using cmd line the script doesn't run. I mean it gives error code as 1 . The commands like echo works but executing another shell script under rc.local file doesn't run and gives return code as 1. I know its weird question ..
2012 May 23
0
monitor socket did not show up.: No such file or directory
I am using a Nimbus Cloud Middleware which in turn use Python libvirt binding to start VM's. Hypervisor is KVM. # virsh -c qemu:///system version Compiled against library: libvir 0.8.7 Using library: libvir 0.8.7 Using API: QEMU 0.8.7 Running hypervisor: QEMU 0.12.1 Some time i get the error in the Nimbus Logs it says : UnexpectedError: Problem creating the VM: monitor socket did not show
2011 Jan 19
1
Python Bindings for Python 2.7
Hello, I want to source compile the libvirt 0.8.4 with its Python bindings. I have python 2.4 rpm installed but i dont use it. I use Python 2.7 source compiled version. So when i compile libvirt it produces bindings for Python 2.4 which is obvious choice since it is rpm. So how should i make it point to Python 2.7 so that it produces bindings for it. Installed path of Python 2.7 is
2012 Aug 03
1
How to connect to local hpyervisor by libvirt?
Hi libvirt team, I suffered some troubles. Could you please give me some advices? Our team plan to control more then 100 android emulators, however, we failed to connect to the local android emulators by libvirt. Now we have tested 2 ways. 1. Converting from QEMU args to domain XML. It's a right way to control the local QEMU built manually. But the android emulator based on QEMU
2011 Jan 31
1
Image Not Expanding
Hello, I am running xen with libvirt. I have an image(Fedora12) with xen para virt and run with the help of libvirt. So i wanted to increase the size of this image from 1GB to 2 GB. I am using virt-resize command for this. When i do : virt-list-partitions it displays 2 partitions 1] /dev/sda1 and 2] /dev/sda2 I want to resize this to 2 gb So i do like this: virt-resize
2001 Oct 16
1
(no subject)
There's nothing in rsync to do that. How about making the files and directories all belong to another user, set the sticky bit and write for your rsync user on the directories, unset write for the files, and rsync that way, then chown afterwards? the updates to existing files will fail, leaving you only with new. Tim Conway tim.conway@philips.com 303.682.4917 Philips Semiconductor -
2001 Oct 13
1
transferring files that don't exist on remote system.
Hi, Is there a way to transfer only those files that don't exist on the remote system? That is, I don't want to update common files even when the local system has new versions of common files. best, vipul. -- Vipul Ved Prakash | "I almost died, but I made it, so I'm not so Software Design Artist | serious about formal-wear anymore." http://vipul.net/
1999 Nov 09
3
Question on function "glm.fit"
I have a code that contains function "glm.fit" and it works in S-PLUS. But this same code (with some minor changes) does not work in R. I am supplying the part of the code. Can somebody help with this problem? The code *************************************************** x1 <- seq(from=-1,to=2, length=20) x2 <- (rep(1:5,4))/4 x <- cbind(1,x1,x2) y <-
2008 Aug 25
2
slow Perl on CentOS 5
If your Perl apps are unusually slow on CentOS 5, have a look at this blog: http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/ In a nutshell: some Perl apps are 100x slower on RedHat / CentOS 5 compared to other distributions. Bugzilla entry: https://bugzilla.redhat.com/show_bug.cgi?id=379791 -- Florin Andrei http://florin.myip.org/
1999 Nov 18
1
R BATCH job
Hi I am trying to run a 'R Batch' job on unix machine but somehow it locks my dterm window. If I kill the window (or logout from my unix account) it kills the R job too. It does'nt seem to happen when I run a 'Splus BATCH' command on my unix machine. Can you please give me a fix for this problem? Thank you very much. Best Regards Vipul Devas Email: vipul.devas at
2008 Jun 10
2
err: State got corrupted
Hi All, I am tryting to setup Puppet masters and client in Sun solaris environment. ( Global zone puppet Master is running) and non global zone all puppet clients are installed ( ..Note I have not installed puppet client in all nonglobal zone .. binaries are shared by Global zone... While i m generating client certified i am getting this error .... Any one has clue .... bash-3.00# puppetd
2019 Mar 28
8
[PATCH v2 0/4] OCaml tools: output messages as JSON machine
Enhance the output in machine parseable mode, by outputting all the messages of OCaml tools as JSON to the machine parseable stream. Related, although not strictly needed for this (and thus can be split if requested), is the addition of the fd format for the machine readable stream. Changes from v1: - use Obj.magic to convert int -> Unix.file_descr - add tests Pino Toscano (4):
2019 Mar 22
8
[PATCH 0/4] OCaml tools: output messages as JSON machine
Enhance the output in machine parseable mode, by outputting all the messages of OCaml tools as JSON to the machine parseable stream. Related, although not strictly needed for this (and thus can be split if requested), is the addition of the fd format for the machine readable stream. Pino Toscano (4): common/mltools: move the code for machine readable up common/mltools: make sure machine
2006 Mar 07
1
Call Path Optimization?
Hello, Is Call Path Optimization (IAX Draft, Section 6.4.4) supported by Asterisk? If not, is there a roadmap for it? If there is a URL I can study to get the answer, I will appreciate a pointer. I scanned recent mailing list archives and couldn't find any discussion of this topic. Thank you. Vipul Bhatt, Asterisk-newbie