Hi Brandon,
I'm not the right person to evaluate your zstreamdump output, but I
can't reproduce this error on my b152 system, which as close as I
could get to b151a. See below.
Are the rpool and radar pool versions reasonably equivalent?
In your follow-up, I think you are saying that rp...@copy is a recursive
snapshot and you are able to receive the individual rpool snapshots. You
just can't receive the recursive snapshot. Is this correct?
Thanks,
Cindy
# zfs snapshot -r rp...@0105
# zpool set listsnapshots=on rpool
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 8.51G 58.4G 93K /rpool
rp...@0105 0 - 93K -
rpool/ROOT 4.50G 58.4G 31K legacy
rpool/r...@0105 0 - 31K -
rpool/ROOT/solaris 4.50G 58.4G 4.45G /
rpool/ROOT/sola...@install 45.4M - 4.32G -
rpool/ROOT/sola...@0105 0 - 4.45G -
rpool/dump 1.94G 58.4G 1.94G -
rpool/d...@0105 0 - 1.94G -
rpool/export 96.5K 58.4G 32K /export
rpool/exp...@0105 0 - 32K -
rpool/export/home 64.5K 58.4G 32K /export/home
rpool/export/h...@0105 0 - 32K -
rpool/export/home/admin 32.5K 58.4G 32.5K /export/home/admin
rpool/export/home/ad...@0105 0 - 32.5K -
rpool/swap 2.07G 60.5G 13.8M -
rpool/s...@0105 0 - 13.8M -
# zfs send -Rv rp...@0105 | zfs recv -vduF bkpool/snaps
sending from @ to rp...@0105
receiving full stream of rp...@0105 into bkpool/sn...@0105
sending from @ to rpool/r...@0105
received 114KB stream in 2 seconds (57.0KB/sec)
receiving full stream of rpool/r...@0105 into bkpool/snaps/r...@0105
sending from @ to rpool/ROOT/sola...@install
received 46.3KB stream in 2 seconds (23.1KB/sec)
receiving full stream of rpool/ROOT/sola...@install into
bkpool/snaps/ROOT/sola...@install
sending from @install to rpool/ROOT/sola...@0105
received 4.49GB stream in 170 seconds (27.0MB/sec)
receiving incremental stream of rpool/ROOT/sola...@0105 into
bkpool/snaps/ROOT/sola...@0105
sending from @ to rpool/d...@0105
received 254MB stream in 13 seconds (19.5MB/sec)
receiving full stream of rpool/d...@0105 into bkpool/snaps/d...@0105
sending from @ to rpool/exp...@0105
received 1.94GB stream in 45 seconds (44.2MB/sec)
receiving full stream of rpool/exp...@0105 into bkpool/snaps/exp...@0105
sending from @ to rpool/export/h...@0105
received 47.9KB stream in 2 seconds (23.9KB/sec)
receiving full stream of rpool/export/h...@0105 into
bkpool/snaps/export/h...@0105
sending from @ to rpool/export/home/ad...@0105
received 47.9KB stream in 2 seconds (23.9KB/sec)
receiving full stream of rpool/export/home/ad...@0105 into
bkpool/snaps/export/home/ad...@0105
sending from @ to rpool/s...@0105
received 49.9KB stream in 1 seconds (49.9KB/sec)
receiving full stream of rpool/s...@0105 into bkpool/snaps/s...@0105
received 14.5MB stream in 4 seconds (3.63MB/sec)
# zpool set listsnapshots=on bkpool
# zfs list -r bkpool
NAME USED AVAIL REFER MOUNTPOINT
bkpool 8.50G 58.4G 32K /bkpool
bkpool/snaps 8.50G 58.4G 93K /bkpool/snaps
bkpool/sn...@0105 0 - 93K -
bkpool/snaps/ROOT 4.49G 58.4G 31K legacy
bkpool/snaps/r...@0105 0 - 31K -
bkpool/snaps/ROOT/solaris 4.49G 58.4G 4.45G /
bkpool/snaps/ROOT/sola...@install 44.7M - 4.32G -
bkpool/snaps/ROOT/sola...@0105 0 - 4.45G -
bkpool/snaps/dump 1.94G 58.4G 1.94G -
bkpool/snaps/d...@0105 0 - 1.94G -
bkpool/snaps/export 96.5K 58.4G 32K /export
bkpool/snaps/exp...@0105 0 - 32K -
bkpool/snaps/export/home 64.5K 58.4G 32K /export/home
bkpool/snaps/export/h...@0105 0 - 32K -
bkpool/snaps/export/home/admin 32.5K 58.4G 32.5K /export/home/admin
bkpool/snaps/export/home/ad...@0105 0 - 32.5K -
bkpool/snaps/swap 2.07G 60.5G 13.8M -
bkpool/snaps/s...@0105 0 - 13.8M -
On 01/03/11 23:22, Brandon High wrote:
On an snv_151a system I'm trying to do a send of rpool, and works when
using -n, but when I actually try to receive it's failing.
scrubs pass without issue, it's just the recv that fails.
# zfs send -R rp...@copy | zfs recv -n -vduF radar/foo
would receive full stream of rp...@copy into radar/f...@copy
would receive full stream of rpool/r...@copy into radar/foo/r...@copy
cannot create 'radar/foo/ROOT/snv_1...@copy': parent does not exist
# zfs send -R rp...@copy | zfs recv -vduF radar/foo
receiving full stream of rp...@copy into radar/f...@copy
cannot receive new filesystem stream: invalid backup stream
zstreamdump shows this:
BEGIN record
hdrtype = 2
features = 4
magic = 2f5bacbac
creation_time = 0
type = 0
flags = 0x0
toguid = 0
fromguid = 0
toname = rp...@copy
nvlist version: 0
tosnap = copy
fss = (embedded nvlist)
nvlist version: 0
0x4f65ffc5611d9a16 = (embedded nvlist)
nvlist version: 0
name = rpool
parentfromsnap = 0x0
props = (embedded nvlist)
nvlist version: 0
copies = 0x1
compression = 0x2
dedup = 0x2
sync = 0x2
com.sun:auto-snapshot = false
org.opensolaris.caiman:install = ready
atime = 0x0
(end props)
snaps = (embedded nvlist)
nvlist version: 0
copy = 0xf7b725c8fb4909cc
(end snaps)
snapprops = (embedded nvlist)
nvlist version: 0
copy = (embedded nvlist)
nvlist version: 0
(end copy)
(end snapprops)
(end 0x4f65ffc5611d9a16)
0x26c5ffeede47502 = (embedded nvlist)
nvlist version: 0
name = rpool/ROOT
parentfromsnap = 0xf7b725c8fb4909cc
props = (embedded nvlist)
nvlist version: 0
canmount = 0x0
mountpoint = legacy
(end props)
snaps = (embedded nvlist)
nvlist version: 0
copy = 0x5ac3999f0be01307
(end snaps)
snapprops = (embedded nvlist)
nvlist version: 0
copy = (embedded nvlist)
nvlist version: 0
(end copy)
(end snapprops)
(end 0x26c5ffeede47502)
0x90cb12b83fc2546a = (embedded nvlist)
nvlist version: 0
name = rpool/ROOT/snv_151a
parentfromsnap = 0x5ac3999f0be01307
props = (embedded nvlist)
nvlist version: 0
org.opensolaris.libbe:uuid =
ac29b2b5-fe1f-6c55-ab3b-ed3e9e9d53db
mountpoint = /
canmount = 0x2
org.opensolaris.libbe:policy = static
(end props)
snaps = (embedded nvlist)
nvlist version: 0
copy = 0xec9bfc4eddeadb9c
(end snaps)
snapprops = (embedded nvlist)
nvlist version: 0
copy = (embedded nvlist)
nvlist version: 0
(end copy)
(end snapprops)
(end 0x90cb12b83fc2546a)
(end fss)
END checksum = 428d2b3e38/3a24e0eff5bb/21ff89e9b44e75/f3ec1d43d884647
BEGIN record
hdrtype = 1
features = 4
magic = 2f5bacbac
creation_time = 4d218647
type = 2
flags = 0x0
toguid = f7b725c8fb4909cc
fromguid = 0
toname = rp...@copy
END checksum = a4a5178c744c/a8332b7147dc247c/6d134a0269a1a1dd/f88d9b05376123dd
BEGIN record
hdrtype = 1
features = 4
magic = 2f5bacbac
creation_time = 4d218647
type = 2
flags = 0x0
toguid = 5ac3999f0be01307
fromguid = 0
toname = rpool/r...@copy
END checksum = 30116b3946/10d44de627105/3aa95a2a944e4ff/6f4e3100a0b41f08
BEGIN record
hdrtype = 1
features = 4
magic = 2f5bacbac
creation_time = 4d218647
type = 2
flags = 0x0
toguid = ec9bfc4eddeadb9c
fromguid = 0
toname = rpool/ROOT/snv_1...@copy
END checksum =
166011b53462ace6/33caba98af971c80/effff489aebfb24c/e227a3e8e2169c57
END checksum = 0/0/0/0
SUMMARY:
Total DRR_BEGIN records = 4
Total DRR_END records = 5
Total DRR_OBJECT records = 195329
Total DRR_FREEOBJECTS records = 12190
Total DRR_WRITE records = 203628
Total DRR_FREE records = 219160
Total DRR_SPILL records = 0
Total records = 630316
Total write size = 5670396416 (0x151fb6200)
Total stream length = 5919048188 (0x160cd81fc)
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss