Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2024 12:56:05 +0100 (CET)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Johan Hendriks <joh.hendriks@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: BRT copying feature
Message-ID:  <982644351.5078.1730980565800@localhost>
In-Reply-To: <97788ab0-db70-4413-8b18-f9d95f1d120f@gmail.com>
References:  <b8e0bb5f-5d5d-4b47-9c02-3448f148a1c1@gmail.com> <1568966692.4590.1730895354064@localhost> <97788ab0-db70-4413-8b18-f9d95f1d120f@gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
 
Van: Johan Hendriks <joh.hendriks@gmail.com>
Datum: donderdag, 7 november 2024 11:43
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: FreeBSD Current <freebsd-current@freebsd.org>
Onderwerp: Re: BRT copying feature
> 
>  
> 
> On 06/11/2024 13:15, Ronald Klop wrote:
>> Hi,
>> 
>> When you create a new pool you can use something like this:
>> zpool create -o feature@block_cloning=disabled ...
>> 
>> I tried setting this on an existing pool. That gave me an error.
>> # zpool set feature@block_cloning=disabled zdata4
>> cannot set property for 'zdata4': property 'feature@block_cloning' can only be set to 'disabled' at creation time
>> 
>> So to install a new 14.2 system you need to do some manual work to create the root pool with the options you prefer.
>> 
>> Regards,
>> Ronald.
>> 
>>  
>> Van: Johan Hendriks <joh.hendriks@gmail.com>
>> Datum: woensdag, 6 november 2024 09:37
>> Aan: FreeBSD Current <freebsd-current@freebsd.org>
>> Onderwerp: BRT copying feature
>>> 
>>> I installed the latest 14.2 Beta and i noticed that on the root pool the BRT copying feature is enabled on the pool.
>>> I know i need to set vfs.zfs.bclone_enabled=1 to really make us of it. But i do not want this on my root pool but i do want to use it on my storage pool.
>>> I can not disable this feature on the root pool as it is a feature that can only be set at creation time.
>>> 
>>> Is there a way to use this feature only on selected pools?
>>> 
>>> regards,
>>> Johan Hendriks
>>> 
>>>  
>>> 
>>> 
>>> 
> I think that it would be nice if the installer has the option to set a feature like this to off. Is it easy to break out of the installer, create the pool before hand and use that pool?
> 
> Regards,
> Johan.


Hi Johan,

The installer gives me the option to partition manually (which does not give me the option you are looking for) or open a shell which gives you all the power you need.
 
┌─────────────────┤Partitioning├──────────────────┐
│ How would you like to partition your disk?      │
│ ┌─────────────────────────────────────────────┐ │
│ │Auto (ZFS) Guided Root-on-ZFS                │ │
│ │Auto (UFS) Guided UFS Disk Setup             │ │
│ │Manual     Manual Disk Setup (experts)       │ │
│ │Shell      Open a shell and partition by hand│ │
│ └─────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────┤
│              [  OK  ]     [Cancel]              │
└─────────────────────────────────────────────────┘
I can't say if you will find it easy or not.
Good luck!

Regards,
Ronald.
 
[-- Attachment #2 --]
<html><head></head><body>&nbsp;
<p><strong>Van:</strong> Johan Hendriks &lt;joh.hendriks@gmail.com&gt;<br>
<strong>Datum:</strong> donderdag, 7 november 2024 11:43<br>
<strong>Aan:</strong> Ronald Klop &lt;ronald-lists@klop.ws&gt;<br>
<strong>CC:</strong> FreeBSD Current &lt;freebsd-current@freebsd.org&gt;<br>
<strong>Onderwerp:</strong> Re: BRT copying feature</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartAlternativeViewer">
<div class="TextHTMLViewer" id="P.P.P">
<p>&nbsp;</p>

<div class="moz-cite-prefix">On 06/11/2024 13:15, Ronald Klop wrote:</div>

<blockquote>Hi,<br>
<br>
When you create a new pool you can use something like this:<br>
zpool create -o feature@block_cloning=disabled ...<br>
<br>
I tried setting this on an existing pool. That gave me an error.<br>
# zpool set feature@block_cloning=disabled zdata4<br>
cannot set property for 'zdata4': property 'feature@block_cloning' can only be set to 'disabled' at creation time<br>
<br>
So to install a new 14.2 system you need to do some manual work to create the root pool with the options you prefer.<br>
<br>
Regards,<br>
Ronald.<br>
<br>
&nbsp;
<p><strong>Van:</strong> Johan Hendriks <a class="moz-txt-link-rfc2396E" href="mailto:joh.hendriks@gmail.com">&lt;joh.hendriks@gmail.com&gt;</a><br>
<strong>Datum:</strong> woensdag, 6 november 2024 09:37<br>
<strong>Aan:</strong> FreeBSD Current <a class="moz-txt-link-rfc2396E" href="mailto:freebsd-current@freebsd.org">&lt;freebsd-current@freebsd.org&gt;</a><br>
<strong>Onderwerp:</strong> BRT copying feature</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="TextPlainViewer" id="P.P">I installed the latest 14.2 Beta and i noticed that on the root pool the BRT copying feature is enabled on the pool.<br>
I know i need to set vfs.zfs.bclone_enabled=1 to really make us of it. But i do not want this on my root pool but i do want to use it on my storage pool.<br>
I can not disable this feature on the root pool as it is a feature that can only be set at creation time.<br>
<br>
Is there a way to use this feature only on selected pools?<br>
<br>
regards,<br>
Johan Hendriks<br>
<br>
&nbsp;</div>

<hr></div>
</blockquote>
</blockquote>
I think that it would be nice if the installer has the option to set a feature like this to off. Is it easy to break out of the installer, create the pool before hand and use that pool?<br>
<br>
Regards,<br>
Johan.</div>
</div>
</div>
</blockquote>
<br>
<br>
Hi Johan,<br>
<br>
The installer gives me the option to partition manually (which does not give me the option you are looking for) or open a shell which gives you all the power you need.<br>
&nbsp;
<pre>┌─────────────────┤Partitioning├──────────────────┐
│ How would you like to partition your disk?      │
│ ┌─────────────────────────────────────────────┐ │
│ │Auto (ZFS) Guided Root-on-ZFS                │ │
│ │Auto (UFS) Guided UFS Disk Setup             │ │
│ │Manual     Manual Disk Setup (experts)       │ │
│ │Shell      Open a shell and partition by hand│ │
│ └─────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────┤
│              [  OK  ]     [Cancel]              │
└─────────────────────────────────────────────────┘
</pre>
<br>
I can't say if you will find it easy or not.<br>
Good luck!<br>
<br>
Regards,<br>
Ronald.<br>
&nbsp;</body></html>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?982644351.5078.1730980565800>