{"record":{"id":"a326bb66e4d71ee8","repo":"juicedata/juicefs","slug":"mount-s-s","errorCode":null,"errorMessage":"mount %s: %s","messagePattern":"mount (.+?): (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/object/gluster.go","lineNumber":338,"sourceCode":"\t}\n\tfor i := range ostore.vols {\n\t\tv := &gfapi.Volume{}\n\t\t// TODO: support port in host\n\t\terr = v.Init(name, hosts...)\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"init %s: %s\", name, err)\n\t\t}\n\t\tif logPath == \"\" {\n\t\t\terr = v.SetLogging(fmt.Sprintf(\"/var/log/glusterfs/%s-%s-%d-%d.log\", hosts[0], name, pid, i), level)\n\t\t} else {\n\t\t\terr = v.SetLogging(logPath, level)\n\t\t}\n\t\tif err != nil {\n\t\t\tlogger.Warnf(\"Set gluster logging for vol %s: %s\", name, err)\n\t\t}\n\t\terr = v.Mount()\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"mount %s: %s\", name, err)\n\t\t}\n\t\tostore.vols[i] = v\n\t}\n\treturn &ostore, nil\n}\n\nfunc init() {\n\tRegister(\"gluster\", newGluster)\n}\n","sourceCodeStart":320,"sourceCodeEnd":348,"githubUrl":"https://github.com/juicedata/juicefs/blob/c9a67b23e8e08ec23ec331aa6f1675e2319e921c/pkg/object/gluster.go#L320-L348","documentation":"The gfapi Volume.Mount call failed for a gluster volume after successful Init and logging setup. Indicates the client could not establish a native gluster connection to the volume — commonly due to unreachable hosts, the volume not being started, or gluster authentication errors.","triggerScenarios":"Thrown at pkg/object/gluster.go:338 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check gluster volume status and start it if stopped","Look at gluster client logs for mount rejection reasons"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c9a67b23e8e08ec23ec331aa6f1675e2319e921c","analyzedAt":"2026-09-06T17:55:48.476Z","contentChangedAt":"2026-09-06T17:55:48.476Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}