Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2021 14:43:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 254530] ZFS (base) receive fails to receive zvol dataset if dataset already exist
Message-ID:  <bug-254530-3630-p4MEEQDy3K@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254530-3630@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254530

--- Comment #4 from Patrik Hildingsson <patrik@hildingsson.se> ---
(In reply to Alan Somers from comment #3)
The error occurs even in FreeBSD 12.2-STABLE r369477

root@testbsd:~ # zfs create zroot/test
root@testbsd:~ # zfs create -o volmode=dev -V 50M zroot/test/disk0
root@testbsd:~ # dd if=/dev/random of=/dev/zvol/zroot/test/disk0
dd: /dev/zvol/zroot/test/disk0: end of device
102401+0 records in
102400+0 records out
52428800 bytes transferred in 1.582797 secs (33124142 bytes/sec)
root@testbsd:~ # zfs snapshot zroot/test/disk0@test-now_ok
root@testbsd:~ # dd if=/dev/random of=/dev/zvol/zroot/test/disk0
dd: /dev/zvol/zroot/test/disk0: end of device
102401+0 records in
102400+0 records out
52428800 bytes transferred in 0.926790 secs (56570297 bytes/sec)
root@testbsd:~ # zfs snapshot zroot/test/disk0@test-now_ok-2
root@testbsd:~ # dd if=/dev/random of=/dev/zvol/zroot/test/disk0
dd: /dev/zvol/zroot/test/disk0: end of device
102401+0 records in
102400+0 records out
52428800 bytes transferred in 1.235393 secs (42438953 bytes/sec)
root@testbsd:~ # zfs create -V 52428800 -o 'reservation=none' -o
'volblocksize=8192' -o 'checksum=on' -o 'compression=lz4' -o 'readonly=off' -o
'copies=1' -o 'logbias=throughput' -o 'dedup=off' -o 'sync=standard' -o
'volmode=dev' -o 'snap
shot_limit=none' -o 'redundant_metadata=most' zroot/test/disk1
root@testbsd:~ # zfs send zroot/test/disk0@test-now_ok | zfs receive -F
zroot/test/disk1
cannot open 'zroot/test/disk1/': trailing slash in name
warning: cannot send 'zroot/test/disk0@test-now_ok': signal received
root@testbsd:~ # uname -K
1202505
root@testbsd:~ # uname -U
1202505
root@testbsd:~ # freebsd-version
12.2-STABLE

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

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