NetBSD-Users archive

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

Re: Problem with Xen domU

On Tue, Mar 06, 2012 at 07:07:51PM -0600, Max León wrote:
> Hello,
> I know what you are going to tell me, this is for the Xen list and not for
> NetBSD.
> Well, it very well might but the problem I'm having is with a NetBSD dom0
> and a CentOS 5 domU that I don't have on a CentOS 5 dom0 with a CentOS domU
> It should be quite straight forward, the problem is my VM ran out of space
> so I want to attach another virtual device to expand the LVM.
> This is the procedure I followed:
> Create the virtual drive:  dd if=/dev/zero
> of=/path/to/vm/folder/newdrive.img bs=1025k seek=25600 count=1

dd if=/dev/zero of=/path/to/vm/folder/newdrive.img bs=1025k count=25601

The command you used creates a sparse file, and vnd(4) (the device driver
used by NetBSD to attach a backend block device to a file) didn't
support sparse files until recently.

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index