Does anyone know if the FN api implements the equivalent of the command line 'zfs clone snapshot_path new_zvol_path'?
Background: We have a bunch of FN zvol provisioned iSCSI LUNs presented to our servers from which I need to provision out copies to other servers. I seem to be able to do the whole chain of create snapshot| clone the r/o snapshot to a new r/w zvol| create extent and then finally create extent/target mapping - except for the actual 'create zvol from snapshot' bit which seems to be undocumented in the api although, presumably, it can be done as the operation is available in the gui.
Background: We have a bunch of FN zvol provisioned iSCSI LUNs presented to our servers from which I need to provision out copies to other servers. I seem to be able to do the whole chain of create snapshot| clone the r/o snapshot to a new r/w zvol| create extent and then finally create extent/target mapping - except for the actual 'create zvol from snapshot' bit which seems to be undocumented in the api although, presumably, it can be done as the operation is available in the gui.