NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CentOS DomU under NetBSD51 Dom0 XEN 41



2012/1/18 Bruno Gruel <b.gruel%sdnet.info@localhost>:
>> dd if=/dev/zero of=virtualdisk.img bs=1024 count=2000
>>
>> (this will create a 2GB file)
>>
> So this command create a 2MB file. But i steel have to initialize the DD
> (i do some test with a 2Go file)

This creates a 2GB file, but if you change the count= to 4000 it will
create a 4GB file, and so...

>>
>>
>>> during the install process i have somme message tha tell me to initialise
>>> the DD because there is somme error.
>>>
>>> And after the initialisation i have this message :
>>>
>>> Input/Output error during read on /dev/xvda ?
>>
>>
>> When you get this error, can you switch to the Dom0 and paste the
>> output of running "xenstore-ls -fp"?
>
>
> Now there is no more message with  Input/Output error during read on
> /dev/xvda but i still  can't install the systeme... When i selecte "Use
> entire disk" or other options i have the following message "Impossible to
> allocate asking paition not enought space for LVM requests.

Well, the solution to this is simple, create a bigger disk (using the
dd command above, something like 10GB will probably be enough).

>
> And the xenstore-ls -fp :
>
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/image/ostype = "linux"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/image/kernel =
> "/etc/xen/centos/vmlinuz"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/image/cmdline = ""   (n0,r49)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/image/ramdisk =
> "/etc/xen/centos/initrd.img"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device = ""   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vbd = ""   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vbd/51712 = ""   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vbd/51712/frontend =
> "/local/domain/49/device/vbd/51712"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vbd/51712/frontend-id = "49"
>   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vbd/51712/backend-id = "0"
> (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vbd/51712/backend =
> "/local/domain/0/backend/vbd/49/51712"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vif = ""   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vif/0 = ""   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vif/0/frontend =
> "/local/domain/49/device/vif/0"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vif/0/frontend-id = "49"
> (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vif/0/backend-id = "0"  (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/vif/0/backend =
> "/local/domain/0/backend/vif/49/0"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/console = ""   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/console/0 = ""   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/console/0/frontend =
> "/local/domain/49/device/console/0"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/console/0/frontend-id = "49"
>   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/console/0/backend-id = "0"
> (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/device/console/0/backend =
> "/local/domain/0/backend/console/49/0"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/on_xend_stop = "ignore"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/pool_name = "Pool-0"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/shadow_memory = "0"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/uuid =
> "7c239e06-1e76-1452-34c3-914ffc306aa3"   (n0,r49)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/on_reboot = "restart"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/start_time = "1326907193.96"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/on_poweroff = "destroy"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/bootloader_args = ""   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/on_xend_start = "ignore"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/on_crash = "restart"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/xend = ""   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/xend/restart_count = "0"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/vcpus = "1"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/vcpu_avail = "1"   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/bootloader = ""   (n0)
> /vm/7c239e06-1e76-1452-34c3-914ffc306aa3/name = "centos"   (n0)
>
>
> Thank's
>
> Bruno.
>
>
>
> --
> Sallanches Data Network (SDN)
> Pour l'Internet des Internautes


Home | Main Index | Thread Index | Old Index