NetBSD-Users archive

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

Re: Boot VM from a zvol using qemu and nvmm?



On Sat, 14 Sept 2024 at 11:04, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> On Sat, 14 Sept 2024 at 10:45, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> >
> > ci4ic4%gmail.com@localhost (Chavdar Ivanov) writes:
> >
> > >On Sat, 14 Sept 2024 at 08:57, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> > >> >-drive file=/tank/volumes/my-disk.qcow2
> > >> >Should this work?
> > >>
> > >> On NetBSD it does not.
> >
> > >Sorry, I have to disagree. Each and every nvmm guest I have running
> > >gets started like:
> >
> > Please check your zvol, it apparently uses 512 byte sectors.
>
> Perhaps; perhaps not optimal, but works.
>
> >
> > That depends on the backing storage used for the zpool
> > and how the zvol is configured (ashift value).
> >
>
> The backing storage was a single 240 gb sata ssd, I've not done
> anything to modify the default ashift value.

Also, on my 11.99.12 amd64 system, I do not see "ashift" as a valid
option of zpool at all.

>
> >
> > Greetings,
>
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index