NetBSD-Users archive

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

Re: Problem with Xen domU



Yes thank you, you are right.  I did finally got it right last night.

I'll keep it in mind.

Cheers!

On Wed, Mar 7, 2012 at 4:19 AM, Manuel Bouyer 
<bouyer%antioche.eu.org@localhost>wrote:

> 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
>
> use:
> 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 <bouyer%antioche.eu.org@localhost>
>     NetBSD: 26 ans d'experience feront toujours la difference
> --


Home | Main Index | Thread Index | Old Index