Project

General

Profile

Bug #3647

error: cannot share pool/folder - smb add share failed

Added by Gordon Ross over 7 years ago. Updated over 7 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Start date:
2013-03-23
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

When the SMB service is starting up, one sometimes will see
error: cannot share pool/folder - smb add share failed

#1

Updated by Gordon Ross over 7 years ago

From Daniil Lunev

Problem is that there is the race condition between libshare and smf. Libshare starts smb service, but it can go forward with sharing before smf actually begins work with service. cr3848 fixes this race and eliminates errors masking. It will wait for server up to 15 second. If server gets online during this 15 second, then everything is ok. If not, then we propogate error to the upper level. Having this error returned, upper level sets up return code with error, but tries to share other datasets (until datasets is over, service gets online, service gets maintained (one of that)).

Also available in: Atom PDF