🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.fs
4 messages
4 total messages Started by Kurt Jaeger Sat, 31 Oct 2026 18:37
How to complete a zfs recv ?
#22
Author: Kurt Jaeger
Date: Sat, 31 Oct 2026 18:37
32 lines
2254 bytes
Hi!

I have this incomplete zfs recv here:

bp/mytest         7G  1.27T   7G  /bp/mytest

If I try to mount it:

zfs mount bp/mytest

this is the error:

cannot mount 'bp/mytest': Contains partially-completed state
from "zfs receive -s", which can be resumed with "zfs send -t"

I tried this:

zfs recv bp/mytest < /dev/null

this returns this error:

cannot receive: failed to read from stream

Any ideas ?

-- 
pi@FreeBSD.org         +49 171 3101372                  Now what ?


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: How to complete a zfs recv ?
#23
Author: Kurt Jaeger
Date: Sat, 31 Oct 2026 18:43
24 lines
2353 bytes
Hi!

> I have this incomplete zfs recv here:
> 
> bp/mytest         7G  1.27T   7G  /bp/mytest
> 
> If I try to mount it:
> 
> zfs mount bp/mytest
> 
> this is the error:
> 
> cannot mount 'bp/mytest': Contains partially-completed state
> from "zfs receive -s", which can be resumed with "zfs send -t"

there's nothing more to 'send'  - it's a stream from a crashed disk.

-- 
pi@FreeBSD.org         +49 171 3101372                  Now what ?


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: How to complete a zfs recv ?
#24
Author: void
Date: Sat, 31 Oct 2026 18:45
60 lines
8718 bytes
--2YJ93xgZ5w62A7I/
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 31, 2026 at 07:37:02PM +0100, Kurt Jaeger wrote:
>Hi!
>
>I have this incomplete zfs recv here:
>
>bp/mytest         7G  1.27T   7G  /bp/mytest
>
>If I try to mount it:
>
>zfs mount bp/mytest
>
>this is the error:
>
>cannot mount 'bp/mytest': Contains partially-completed state
>from "zfs receive -s", which can be resumed with "zfs send -t"
>
>I tried this:
>
>zfs recv bp/mytest < /dev/null
>
>this returns this error:
>
>cannot receive: failed to read from stream
>
>Any ideas ?

Is this send/receive on the same disk?
If it is, then it's like

'zfs send bp/mytest@snap1 | zfs receive bp/mytest1'

Did you make a snapshot before zfs send?
--=20
void<at>f-m.fm | GPG fingerprint: BD97 5B52 1B78 B7A9 AFFE  7DD4 FD32 D1F9 =
0814 DECD
Please don't Cc: as I'm already subscribed to the list.

--2YJ93xgZ5w62A7I/
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iJEEABYKADkWIQS9l1tSG3i3qa/+fdT9MtH5CBTezQUCauY3MhsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDMACgkQ/TLR+QgU3s0BTwEAmyQap6fQjIE3O+oJe9Gq
rJT8Jj+xRYS1TYJWtJK9t50BAOuO1ytVvrMoAGMXi1ZjkY7FVmTpWvd7gGm0Oi26
L7IH
=+Pm1
-----END PGP SIGNATURE-----

--2YJ93xgZ5w62A7I/--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: How to complete a zfs recv ?
#25
Author: Kurt Jaeger
Date: Sat, 31 Oct 2026 18:54
36 lines
2671 bytes
Hi!

> > cannot mount 'bp/mytest': Contains partially-completed state
> > from "zfs receive -s", which can be resumed with "zfs send -t"
> > 
> > I tried this:
> > 
> > zfs recv bp/mytest < /dev/null
> > 
> > this returns this error:
> > 
> > cannot receive: failed to read from stream
> > 
> > Any ideas ?
> 
> Is this send/receive on the same disk?

it comes from a 'zdb -eB mytest/21 > mytest.zfs' recovery attempt,
so it writes to a different disk. It reads from a disk that
is no longer importable.

> If it is, then it's like
> 
> 'zfs send bp/mytest@snap1 | zfs receive bp/mytest1'
> 
> Did you make a snapshot before zfs send?

I have no snapshot on that crashed disk.

-- 
pi@FreeBSD.org         +49 171 3101372                  Now what ?


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads