> On 1. Aug 2024, at 13:38, Udo Grabowski (IMK) <udo.grabow...@kit.edu> wrote:
> 
> Hi,
> 
> it seems that older zfs images (from zfs send) cannot be imported
> into recent illumos versions. These are dumps from a "pre-features"
> zpool. I get
> 
> ro suntc ~ # cat 32@20100825 | zfs receive -d rpool
> cannot receive new filesystem stream: invalid backup stream


Since we virtually do not develop zfs, it is rather hard to say, but it does 
sound like bug. However, if you can receive it to pre-feature pool, I would 
upgrade pre-features pool and then check the send+receive again (from upgraded 
pool).

rgds,
toomas


> 
> while I can still import those on an older illumos (in oi151.a8).
> 
> This is what zstreamdump sees:
> 
> # cat 32@20100825|zstreamdump
> BEGIN record
>        hdrtype = 1
>        features = 0
>        magic = 2f5bacbac
>        creation_time = 4c751a60
>        type = 2
>        flags = 0x0
>        toguid = d5549c3062863864
>        fromguid = 0
>        toname = Processor/Results/imk/32@20100825
> END checksum = 
> ac3419bb76a98f7/9a5ac336e407bdf3/c07a3f469bc7e40e/f03a369ef26634ee
> SUMMARY:
>        Total DRR_BEGIN records = 1
>        Total DRR_END records = 1
>        Total DRR_OBJECT records = 131771
>        Total DRR_FREEOBJECTS records = 716
>        Total DRR_WRITE records = 133062
>        Total DRR_WRITE_BYREF records = 0
>        Total DRR_WRITE_EMBEDDED records = 0
>        Total DRR_FREE records = 300918
>        Total DRR_SPILL records = 0
>        Total records = 566469
>        Total write size = 1690867200 (0x64c89600)
>        Total stream length = 1902392632 (0x71643538)
> 
> Is this a bug or are "non-feature" dumps in general not importable
> on "feature"-zpools ?
> --
> 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
> Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
> 

------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T575f82eecd117456-M86e91c6b85ba15613f8f79c2
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to