SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
add more logs
chrislubcf35876d1a7
diff --git a/weed/command/mount_linux.go b/weed/command/mount_linux.goindex aebb14e613..1d1727519c 100644--- a/weed/command/mount_linux.go+++ b/weed/command/mount_linux.go@@ -3,6 +3,7 @@ package commandimport ("bufio""fmt"+ "github.com/seaweedfs/seaweedfs/weed/glog""io""os""strings"@@ -142,6 +143,9 @@ func checkMountPointAvailable(dir string) bool {}if mounted, err := mounted(mountPoint); err != nil || mounted {+ if err != nil {+ glog.Errorf("check %s: %v", mountPoint, err)+ }return false}diff --git a/weed/command/mount_std.go b/weed/command/mount_std.goindex db5899109a..a39d88ccec 100644--- a/weed/command/mount_std.go+++ b/weed/command/mount_std.go@@ -157,7 +157,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {// Ensure target mount point availabilityif isValid := checkMountPointAvailable(dir); !isValid {- glog.Fatalf("Expected mount to still be active, target mount point: %s, please check!", dir)+ glog.Fatalf("Target mount point is not available: %s, please check!", dir)return true}