On 10/05/2011 11:50 AM, Brian Cuttler wrote:
The property should go in script section for script_zfs_snapshot
Do you mean the auth property ? That errored, when I checked
the on-line docs it looks to me like auth goes in dumptype so
that is where I left it.
I mean property when I write property, DF-PATH, ZFS-PATH, PFEXEC-PATH,
PFEXEC
Who should use them, it is the script, not the dumptype. The dumptype do
nothing with them, but the script can use them, put them in the script
definition 'script_zfs_snapshot'.
Did you mean the properties in general ?
I am using this dumptype, I do I need a new script type ?
define dumptype zfs-snapshot-bsdtcp {
index
program "APPLICATION"
application "app_amgtar"
script "script_zfs_snapshot"
auth "bsdtcp"
property "DF-PATH" "/usr/sbin/df"
property "ZFS-PATH" "/usr/sbin/zfs"
property "PFEXEC-PATH" "/usr/bin/pfexec"
property "PFEXEC" "YES"
estimate server
}
[grifserv/var/svc/manifest/network] snoop host curieb
Using device bge0 (promiscuous mode)
curieb.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Syn Seq=2686087875
Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
grifserv.wadsworth.org -> curieb.wadsworth.org TCP D=516 S=10080 Syn Ack=2686087876
Seq=2853612878 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
curieb.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516
Ack=2853612879 Seq=2686087876 Len=0 Win=49640
curieb.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Push
Ack=2853612879 Seq=2686087876 Len=89 Win=64240
grifserv.wadsworth.org -> curieb.wadsworth.org TCP D=516 S=10080
Ack=2686087965 Seq=2853612879 Len=0 Win=49640
grifserv.wadsworth.org -> curieb.wadsworth.org TCP D=516 S=10080 Fin
Ack=2686087965 Seq=2853612879 Len=0 Win=49640
curieb.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516
Ack=2853612880 Seq=2686087965 Len=0 Win=64240
curieb.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Fin
Ack=2853612880 Seq=2686087965 Len=0 Win=64240
grifserv.wadsworth.org -> curieb.wadsworth.org TCP D=516 S=10080
Ack=2686087966 Seq=2853612880 Len=0 Win=49640
I can't help, maybe someone with more Solaris knowledge can help.
Jean-Louis