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
check missing hdd disk type
chrislu4aae87f40510
diff --git a/weed/shell/command_cluster_check.go b/weed/shell/command_cluster_check.goindex a050c3f120..f841bd224a 100644--- a/weed/shell/command_cluster_check.go+++ b/weed/shell/command_cluster_check.go@@ -39,6 +39,19 @@ func (c *commandClusterCheck) Do(args []string, commandEnv *CommandEnv, writer ireturn nil}+ // collect topology information+ topologyInfo, volumeSizeLimitMb, err := collectTopologyInfo(commandEnv, 0)+ if err != nil {+ return err+ }+ fmt.Fprintf(writer, "Topology volumeSizeLimit:%d MB%s\n", volumeSizeLimitMb, diskInfosToString(topologyInfo.DiskInfos))++ emptyDiskTypeDiskInfo, emptyDiskTypeFound := topologyInfo.DiskInfos[""]+ hddDiskTypeDiskInfo, hddDiskTypeFound := topologyInfo.DiskInfos["hdd"]+ if !emptyDiskTypeFound && !hddDiskTypeFound || emptyDiskTypeDiskInfo.VolumeCount == 0 && hddDiskTypeDiskInfo.VolumeCount == 0 {+ return fmt.Errorf("Need to a hdd disk type!")+ }+// collect filersvar filers []pb.ServerAddresserr = commandEnv.MasterClient.WithClient(false, func(client master_pb.SeaweedClient) error {