From: Toomas Soome <tsoome@me.com>
To: illumos-discuss <discuss@lists.illumos.org>
Subject: Re: [discuss] Cannot receive older ZFS dumps
Date: Mon, 5 Aug 2024 11:57:24 +0300 [thread overview]
Message-ID: <76876C7E-C1AC-4B90-B8F2-CBCD89D77FEC@me.com> (raw)
In-Reply-To: <f2cbf191-2273-6b01-f016-0f0bbd1d8823@kit.edu>
[-- Attachment #1: Type: text/plain, Size: 5630 bytes --]
> On 5. Aug 2024, at 11:03, Udo Grabowski (IMK) <udo.grabowski@kit.edu> wrote:
>
> On 02/08/2024 19:21, Toomas Soome via illumos-discuss wrote:
>>
>>
>>> On 2. Aug 2024, at 20:09, John D Groenveld via illumos-discuss <discuss@lists.illumos.org> wrote:
>>>
>>> In message <1c2abfa3-df73-91cb-79da-c34eaeca3af7@kit.edu>, "Udo Grabowski (IMK)" writes:
>>>> Did some more testing, could also import it on an 8 years old pool
>>>> (illumos-a90d75b) with all the features (known at that time) active or enab=
>>>> led:
>>>
>>> I'm not able to reproduce.
>>> Here's my test procedure:
>>> Booted 151a8
>>> Created two pools:
>>> # mkfile 64M /root/features
>>> # mkfile 64M /root/version28
>>> # zpool create features /root/features
>>> # zpool create -d -o version=28 version28 /root/version28
>>> # zfs create features/test
>>> # zfs create version28/test
>>> # dd if=/dev/urandom of=/features/test/wee bs=1024k count=16
>>> # md5sum /features/test/wee
>>> # cp /features/test/wee /version28/test/
>>> # md5sum /version28/test/wee
>>> # zfs snapshot features/test@foo
>>> # zfs snapshot version28/test@bar
>>> # zfs send features/test@foo>features.snapshot
>>> # zfs send version28/test@bar>version28.snapshot
>>>
>>> copy the snapshots to today's OI, illumos-533d257436
>>>
>>> # zfs receive -v rpool/features< features.snapshot
>>> # zfs receive -v rpool/version28< version28.snapshot
>>> # md5sum rpool/features/test/wee
>>> # md5sum rpool/version28/test/wee
>>>
>>> John
>>> groenveld@acm.org
>>
>> I’m afraid it is related to specific feature; we would need to get list of enabled and active features from receiving side (as sending side does not have features).
>>
>> And then there is a question what is specific about that file which is triggering the receive error… is it possible to get hands on send stream maybe?
>>
>> (I’m investigating one send+receive case which is triggering receiving pool to get to suspended state and it is quite a challenge).
>
> Here is the ZFS dump (1.8GB) <https://imk-asf-mipas.imk.kit.edu/users/grabow/> :
>
> 32@20100825
> 32@20100825_xxhsum
> features_importable
> features_nonimportable
>
> + xxhsum checksum , + features active/enabled on 2018/4 pool where
> it can be imported, and features on a very recent pool where it can't.
> The zfs filesystem contained is Results/imk/32.
ok, so the feature difference is:
tsoome@beastie:~/zfs-receive-problem$ diff -u features_*
--- features_importable E aug 5 11:30:53 2024
+++ features_nonimportable E aug 5 11:32:31 2024
@@ -1,4 +1,4 @@
-OI Hipster 2018/4
+OI Hipster illumos-5a33fb2d62 (>2024/4)
rpool feature@async_destroy enabled local
rpool feature@empty_bpobj active local
rpool feature@lz4_compress active local
@@ -6,11 +6,12 @@
rpool feature@spacemap_histogram active local
rpool feature@enabled_txg active local
rpool feature@hole_birth active local
-rpool feature@extensible_dataset enabled local
+rpool feature@extensible_dataset active local
rpool feature@embedded_data active local
rpool feature@bookmarks enabled local
rpool feature@filesystem_limits enabled local
rpool feature@large_blocks enabled local
+rpool feature@large_dnode enabled local
rpool feature@sha512 enabled local
rpool feature@skein enabled local
rpool feature@edonr enabled local
@@ -18,3 +19,10 @@
rpool feature@obsolete_counts enabled local
rpool feature@zpool_checkpoint enabled local
rpool feature@spacemap_v2 active local
+rpool feature@allocation_classes enabled local
+rpool feature@resilver_defer enabled local
+rpool feature@encryption enabled local
+rpool feature@bookmark_v2 enabled local
+rpool feature@userobj_accounting active local
+rpool feature@project_quota active local
+rpool feature@log_spacemap active local
tsoome@beastie:~/zfs-receive-problem$
IMO the first suspects are added active features: extensible_dataset, userobj_accounting, project_quota, log_spacemap.
So one test scenario would be to test newer build, but with those features disabled, if receive is good, then enable one feature and re-test, till we have suspect:)
rgds,
toomas
> --
> Dr.Udo Grabowski Inst.of Meteorology & Climate Research IMK-ASF-SAT
> https://www.imk-asf.kit.edu/english/sat.php
> KIT - Karlsruhe Institute of Technology https://www.kit.edu <https://www.kit.edu/>
> Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
>
>
> ------------------------------------------
> illumos: illumos-discuss
> Permalink: https://illumos.topicbox.com/groups/discuss/T575f82eecd117456-M9f0eb10cbc59ea9652b39fe0
> Delivery options: https://illumos.topicbox.com/groups/discuss/subscription
[-- Attachment #2: Type: text/html, Size: 45251 bytes --]
next prev parent reply other threads:[~2024-08-05 8:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-01 10:38 Udo Grabowski (IMK)
2024-08-01 10:53 ` [discuss] " Toomas Soome
2024-08-01 12:26 ` Udo Grabowski (IMK)
2024-08-02 4:55 ` Joshua M. Clulow
2024-08-02 17:09 ` John D Groenveld
2024-08-02 17:21 ` Toomas Soome
2024-08-02 19:28 ` Richard Lowe
2024-08-05 8:03 ` Udo Grabowski (IMK)
2024-08-05 8:57 ` Toomas Soome [this message]
2024-08-05 12:03 ` Udo Grabowski (IMK)
2024-08-05 21:33 ` Joshua M. Clulow
2024-08-05 7:42 ` Udo Grabowski (IMK)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76876C7E-C1AC-4B90-B8F2-CBCD89D77FEC@me.com \
--to=tsoome@me.com \
--cc=discuss@lists.illumos.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).