GEOM_PART: zvol/pond/xxx was automatically resized, every boot
Andriy Gapon
avg at FreeBSD.org
Wed Mar 1 17:14:16 UTC 2017
On 28/02/2017 14:05, Andrey V. Elsukov wrote:
> On 28.02.2017 13:00, Andriy Gapon wrote:
>> This is quite annoying as I have to do gpart commit after each reboot to make my
>> zvols usable.
>>
>> To add some data:
>>> gpart show zvol/pond/raidz0
>> => 63 10485697 zvol/pond/raidz0 MBR (5.0G)
>> 63 10485697 - free - (5.0G)
>>
>> The zvol actually has whole-disk ZFS on it, which uses zfsboot for booting.
>> In other words, the first block of the zvol is the first block of zfsboot binary.
>
> Hi Andriy,
>
> I think the attached (untested) patch can help.
The patch does help.
Thank you very much!
--
Andriy Gapon
More information about the freebsd-geom
mailing list