10 Replies Latest reply on Jul 10, 2008 9:13 AM by 447950

    Error: The largest virtual disk that can be allocated is: 0 MB.

    624888
      hi, when a create a new virtual machine, Oracle VM Manager gives the following error:

      Error: The largest virtual disk that can be allocated is: 0 MB.

      I have enought disk space in all partitions on VM Server.

      Has anyone solved this??... How to ....

      Regards from Chile (and sorry for my poor english)

      --
      RENÉ FELIPE VIANCOS S.
      Director / IT Manager

      CENTRO DE INFORMÁTICA Y COMPUTACIÓN
      (Informatics and Computing Center)

      UNIVERSIDAD DE LA SERENA
      www.userena.cl

      Message was edited by:
      user621885
        • 1. Re: Error: The largest virtual disk that can be allocated is: 0 MB.
          624888
          and when a create a shared virtual disk a have a similar error:

          - Error: The largest virtual disk that can be allocated is: 0 MB.

          I don't know what is the problem.

          Help please

          Regards

          René
          • 2. Re: Error: The largest virtual disk that can be allocated is: 0 MB.
            590519
            please issue "df -h" on your Oracle VM server, and make sure your / and /OVS have enough diskspace.
            • 3. Re: Error: The largest virtual disk that can be allocated is: 0 MB.
              624888
              hi, i have enought disk space in all partitions.

              Regards

              Rene
              • 4. Re: Error: The largest virtual disk that can be allocated is: 0 MB.
                590519
                (1)please try to create a Guest OS from Oracle VM Server directly using virt-install.
                if any error, please upload output and /var/log/xen/xend.log.

                (2)issue the command on your Oracle VM server:
                # /opt/ovs-agent-2.2/utils/do_rpc.py https://user:passwd@oracleVM_server:8899 get_free_space

                please upload output.
                • 5. Re: Error: The largest virtual disk that can be allocated is: 0 MB.
                  hfr
                  The Oracle VM Server default locale is set to some value other than en_US. See /etc/sysconfig/i18n. e.g.

                  Set the default locale to en_US or en_US.*. e.g.:

                  # vi /etc/sysconfig/i18n

                  Ensure it contains:

                  LANG="en_US.UTF-8"
                  SYSFONT="latarcyrheb-sun16"
                  • 6. Re: Error: The largest virtual disk that can be allocated is: 0 MB.
                    624888
                    ok, i have changed for a new machine, and the error persists

                    Step (1), and the output of virt-install is:

                    [root@ovm21 winxpue5]# virt-install
                    Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified operating systems. yes
                    What is the name of your virtual machine? winkkxp
                    How much RAM should be allocated (in megabytes)? 1000
                    What would you like to use as the disk (path)? winkkxp
                    How large would you like the disk (winkkxp) to be (in gigabytes)? 5000
                    Would you like to enable graphics support? (yes or no) yes
                    What would you like to use for the virtual CD image? /OVS/iso_pool/winxpue5/winxpue5.iso


                    Starting install...
                    libvir: Xen Daemon error : GET operation failed:
                    Traceback (most recent call last):
                    File "/usr/sbin/virt-install", line 476, in ?
                    main()
                    File "/usr/sbin/virt-install", line 440, in main
                    dom = guest.start_install(conscb)
                    File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 379, in start_install
                    self._create_devices()
                    File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 281, in createdevices
                    disk.setup()
                    File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 96, in setup
                    os.write(fd, '\x00')
                    OSError: [Errno 28] No space left on device



                    here is the df command output

                    S.ficheros Tamaño Usado Disp Uso% Montado en
                    /dev/sda2 3,0G 718M 2,1G 26% /
                    /dev/sda3 108G 755M 107G 1% /OVS
                    /dev/sda1 99M 24M 70M 26% /boot
                    tmpfs 257M 0 257M 0% /dev/shm

                    all filesystems have enought disk space....

                    Here is the content of the xend.log:

                    [2008-03-09 21:48:35 2534] INFO (SrvDaemon:331) Xend Daemon started
                    [2008-03-09 21:48:35 2534] INFO (SrvDaemon:335) Xend changeset: unavailable.
                    [2008-03-09 21:48:35 2534] INFO (SrvDaemon:342) Xend version: Unknown.
                    [2008-03-09 21:48:35 2534] DEBUG (XendDomainInfo:132) XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 9577805624L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 4294967292L, 'shutdown': 0, 'mem_kb': 524288L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'Domain-0'})
                    [2008-03-09 21:48:35 2534] INFO (XendDomainInfo:148) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
                    [2008-03-09 21:48:35 2534] DEBUG (XendDomainInfo:2069) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image': '(linux (kernel ))', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'name': 'Domain-0'}
                    [2008-03-09 21:48:35 2534] DEBUG (XendDomainInfo:907) Storing domain details: {'name': 'Domain-0', 'console/limit': '1048576', 'memory/target': '524288', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1'}
                    [2008-03-09 21:48:35 2534] DEBUG (XendDomain:434) Adding Domain: 0
                    [2008-03-09 21:48:35 2534] DEBUG (XendDomain:379) number of vcpus to use is 0
                    [2008-03-09 21:48:35 2534] INFO (SrvServer:180) unix path=/var/lib/xend/xend-socket
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VBD.set_device not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VBD.set_type not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VM.get_auto_power_on not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VM.set_auto_power_on not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: debug.get_all not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: console.get_other_config not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: console.set_other_config not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VIF.get_network not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VIF.set_device not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VIF.set_MAC not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VIF.set_MTU not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: session.get_all_records not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: event.get_record not found
                    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: event.get_all not found
                    [2008-03-09 21:48:35 2534] DEBUG (XendDomainInfo:991) XendDomainInfo.handleShutdownWatch
                    [2008-03-09 21:48:38 2534] INFO (XMLRPCServer:149) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server.
                    [2008-03-09 21:48:38 2534] INFO (XMLRPCServer:149) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.




                    Step(2) rpc output:

                    [root@ovm21 winxpue5]# /opt/ovs-agent-2.2/utils/do_rpc.py https://admin:oracle@127.0.0.1:8899 get_free_space
                    get_free_space []
                    socket error! code=104, msg=Connection reset by peer
                    [root@ovm21 winxpue5]# /opt/ovs-agent-2.2/utils/do_rpc.py https://system:oracle@127.0.0.1:8899 get_free_space
                    get_free_space []
                    socket error! code=104, msg=Connection reset by peer
                    [root@ovm21 winxpue5]# /opt/ovs-agent-2.2/utils/do_rpc.py https://sys:oracle@127.0.0.1:8899 get_free_space
                    get_free_space []
                    socket error! code=104, msg=Connection reset by peer

                    my password for whole system is 'oracle'

                    some ideas ????

                    Regards

                    René Felipe Viancos.
                    • 7. Re: Error: The largest virtual disk that can be allocated is: 0 MB.
                      590519
                      S.ficheros Tamaño Usado Disp Uso% Montado en
                      /dev/sda2 3,0G 718M 2,1G 26% /
                      (1)I found that you did not use default locale.Please follow hfr's suggestion,set the en_US or en_US.* as default locale.
                      Set the default locale to en_US or en_US.*. e.g.:
                      # vi /etc/sysconfig/i18n
                      Ensure it contains:
                      LANG="en_US.UTF-8"
                      SYSFONT="latarcyrheb-sun16"

                      (2) please use oracle:oracle in the command,if you did not re-set password using "/etc/init.d/ovs-agent configure".
                      # /opt/ovs-agent-2.2/utils/do_rpc.py https://oracle:oracle@127.0.0.1:8899 get_free_space
                      • 8. Re: Error: The largest virtual disk that can be allocated is: 0 MB.
                        624888
                        well, i have changed de locale information to en_US, and the disk creation was succesful. So strange. I think that we are in presence of a bug.

                        Can you expolain to us, why, if i install OVM in my own language (Spanish, Chile) the system makes a discrimination :-) when a try to create virtual disks or virtual machines ??? hahaha

                        Regards, and all works fine now.

                        Sorry for my poor english.

                        Rene Viancos
                        • 9. Re: Error: The largest virtual disk that can be allocated is: 0 MB.
                          649233
                          hi,
                          im getting the error
                          Using config file "/etc/xen/vm01".
                          Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')

                          /opt/ovs-agent-2.2/utils/do_rpc.py https://oracle:oracle@127.0.0.1:8899 get_free_space
                          get_free_space []
                          => success:free_space=228498

                          any idea???????
                          • 10. Re: Error: The largest virtual disk that can be allocated is: 0 MB.
                            447950
                            what is the content of /etc/xen/vm01 ?
                            are you trying to run a hvm on a server without hardware virtualization support?

                            'xm info | grep xen_caps' to see if the server has hvm support.