[OpenIndiana-discuss] zfs send-receive on same machine breaks cifs sharing

Geoff Nordli geoffn at gnaa.net
Fri Dec 6 22:58:43 UTC 2013


Garbiele, how did you end up handling this.

I came across the same issue.

How I fixed it, is I created the backup data set first, then I set the
sharesmb property to off.  Now when I send snapshots, it doesn't enable the
sharing.

Geoff


On Thu, Apr 26, 2012 at 8:34 AM, Gabriele Bulfon <gbulfon at sonicle.com>wrote:

> Hi,
> don't know why, this did not happen on an older machine running
> OpenSolaris.
> I have a script running from time to time, to "zfs send | zfs receive
> -Fdu" on the same machine, to backup
> everything on a removable dedicated sata disk.
> When the receive ends, the script exports the destination pool, so that I
> can go and remove the
> disk and replace it for next time.
> On OI, the original CIFS shares becomes unavailable just after the receive
> ends, as if the copied
> shares mislead the original shares (even though I used the u option to
> avoid mounting of filesystems).
> To get shares back, I have to options:
> - export original and import back, and magically everything appears
> - deactivate and reactivate CIFS sharing option on the zfs dataset
> Any idea?
> Gabriele.
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
>


More information about the OpenIndiana-discuss mailing list