I've filed a bug for the problem Tim mentions below.
6463140 zfs recv with a snapshot name that has 2 @@ in a row succeeds
This is most likely due to the order in which we call
zfs_validate_name in the zfs recv code, which would explain why other
snapshot commands like 'zfs snapshot' will fail out and refuse to
create a snapshot with 2 @@ in a row. I'll look into it and update
the bug further.
Noel
On Aug 22, 2006, at 11:45 AM, Shane Milton wrote:
Just updating the discussion with some email chains. After more
digging, this does not appear to be a version 2 or 3 replicatiion
issues. I believe it to be an invalid named snapshot that causes
zpool and zfs commands to core.
Tim mentioned it may be similiar to bug 6450219.
I agree it seems similiar to 6450219, but I'm not so sure it's the
same as the related bug of 6446512. At least the description of
"...mistakenly trying to copy a file or directory..." I do not
believe to apply in this case. However, I'm still testing things
so it very well may produce the same error.
-Shane
--------------
To: Tim Foster , Eric Schrock
Date: Aug 22, 2006 10:37 AM
Subject: Re: [zfs-discuss] Issue with zfs snapshot replication from
version2 to version3 pool.
Looks like the problem is that 'zfs recieve' will accept invalid
snapshot names. In this case two @ signs
This causes most other zfs and zpool commands that look up the
snapshot object type to core dump.
Reproduced on x64 Build44 system with the following command.
"zfs send t0/[EMAIL PROTECTED] | zfs recv t1/fs0@@snashot_in"
[EMAIL PROTECTED]:/var/tmp/]
$ zfs list -r t1
internal error: Invalid argument
Abort(coredump)
dtrace output
....
1 51980 zfs_ioc_objset_stats:entry t1
1 51981 zfs_ioc_objset_stats:return 0
1 51980 zfs_ioc_objset_stats:entry t1/fs0
1 51981 zfs_ioc_objset_stats:return 0
1 51980 zfs_ioc_objset_stats:entry t1/fs0
1 51981 zfs_ioc_objset_stats:return 0
1 51980 zfs_ioc_objset_stats:entry t1/fs0@@snashot_in
1 51981 zfs_ioc_objset_stats:return 22
....
This may need to be filed as a bug again zfs recv.
Thank you for your time,
-Shane
----------------------------
From: Tim Foster
To: shane milton
Cc: Eric Schrock
Date: Aug 22, 2006 10:56 AM
Subject: Re: [zfs-discuss] Issue with zfs snapshot replication from
version2 to version3 pool.
Hi Shane,
On Tue, 2006-08-22 at 10:37 -0400, shane milton wrote:
Looks like the problem is that 'zfs recieve' will accept invalid
snapshot names. In this case two @ signs
This causes most other zfs and zpool commands that look up the
snapshot object type to core dump.
Thanks for that! I believe this is the same as
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6450219
(but I'm open to corrections :-)
cheers,
tim
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss