diff --git a/weed/server/master_ui/templates.go b/weed/server/master_ui/templates.go
index ceb0528cf..b674e3f82 100644
--- a/weed/server/master_ui/templates.go
+++ b/weed/server/master_ui/templates.go
@@ -76,6 +76,7 @@ var StatusTpl = template.Must(template.New("status").Parse(`
Rack |
RemoteAddr |
#Volumes |
+ #ErasureCodingShards |
Max |
@@ -88,6 +89,7 @@ var StatusTpl = template.Must(template.New("status").Parse(`
{{ $rack.Id }} |
{{ $dn.Url }} |
{{ $dn.Volumes }} |
+ {{ $dn.EcShards }} |
{{ $dn.Max }} |
{{ end }}
diff --git a/weed/server/volume_server_handlers_ui.go b/weed/server/volume_server_handlers_ui.go
index 17d20a36e..852f0b751 100644
--- a/weed/server/volume_server_handlers_ui.go
+++ b/weed/server/volume_server_handlers_ui.go
@@ -24,6 +24,7 @@ func (vs *VolumeServer) uiStatusHandler(w http.ResponseWriter, r *http.Request)
Version string
Masters []string
Volumes interface{}
+ EcVolumes interface{}
DiskStatuses interface{}
Stats interface{}
Counters *stats.ServerStats
@@ -31,6 +32,7 @@ func (vs *VolumeServer) uiStatusHandler(w http.ResponseWriter, r *http.Request)
util.VERSION,
vs.SeedMasterNodes,
vs.store.Status(),
+ vs.store.EcVolumes(),
ds,
infos,
serverStats,
diff --git a/weed/server/volume_server_ui/templates.go b/weed/server/volume_server_ui/templates.go
index b9740510f..eafc0aaeb 100644
--- a/weed/server/volume_server_ui/templates.go
+++ b/weed/server/volume_server_ui/templates.go
@@ -128,6 +128,32 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`
+
+
Erasure Coding Shards
+
+
+
+ Id |
+ Collection |
+ Shard Size |
+ Shards |
+ CreatedAt |
+
+
+
+ {{ range .EcVolumes }}
+
+ {{ .VolumeId }} |
+ {{ .Collection }} |
+ {{ .ShardSize }} Bytes |
+ {{ .ShardIdList }} |
+ {{ .CreatedAt.Format "02 Jan 06 15:04 -0700" }} |
+
+ {{ end }}
+
+
+
+