Project

General

Profile

Actions

Bug #3647

closed

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

Added by Gordon Ross about 8 years ago. Updated 4 months ago.

Status:
Closed
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

Actions #1

Updated by Gordon Ross about 8 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)).

Actions #2

Updated by Gordon Ross 4 months ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF