Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 22:27:41 +0200
From:      Nikolay Denev <ndenev@gmail.com>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        Marat Bakeev <hawara@hawara.com>, freebsd-virtualization@freebsd.org
Subject:   Re: VirtIo errors inside VM with UFS-in-zvol
Message-ID:  <CA%2BP_MZHwvSqthrJMjBvF2rw31EfjtMkZhLqFOB9-zpcuhU3jYw@mail.gmail.com>
In-Reply-To: <53FB856A.4090900@freebsd.org>
References:  <CAOb7DXGpDb1fALsLzbfAYk-9nQUoV5wWF9VJQwNDMQ2ZhBPkPg@mail.gmail.com> <CA%2BP_MZHvzuwZuvfNJBb6s3hJEcUKZx56-Zc9RPpXgOs8SUuN%2BQ@mail.gmail.com> <53FB2662.7090501@hawara.com> <53FB856A.4090900@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 25, 2014 at 8:50 PM, Peter Grehan <grehan@freebsd.org> wrote:
> Hi Marat,
>
>
>>>    vtbd0: hard error cmd=write 290-305
>>>
>> I would like to report the same problem. I'm using  10.0-RELEASE-p7 as a
>> host, and 9.3-RELEASE as a guest. VM is created using vmrc script, it
>> installed fine. But on attempt to create additional fs inside the vm,
>> newfs just silently fails without writing anything to disk.  file -s on
>> a filesystem reports just 'data', instead of the usual "Unix Fast File
>> system"
>
>
>  This issue is caused by the FreeBSD GEOM code tasting the zvol, parsing
> partition/slice tables, and marking sections read-only.
>
>  There is a fix for this by mav@ in r264145 in CURRENT, and MFC'd to
> 10-STABLE in r265678 (May 8). The fix will be in 10.1.
>
>  The zfs man page lists the new zvol property and sysctls that can be used
> to prevent GEOM testing.
>
> later,
>
> Peter.
>
>
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to
> "freebsd-virtualization-unsubscribe@freebsd.org"

Thanks Peter,

That would be volmode=dev, correct?
Does it make sense for either the scripts (runvm.sh, vmrc, etc) or
bhyve itself print a warning in such case?

--Nikolay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BP_MZHwvSqthrJMjBvF2rw31EfjtMkZhLqFOB9-zpcuhU3jYw>