"major" : 4, "minor" : 5 }, "extentFreeList" : { "num" : 0, "totalSize" : 0 }, "ok" : 1 } }, "objects" : 1004013, "avgObjSize" : 111, "dataSize" : 112448944, "storageSize" : 177561600, "numExtents" : 21, "indexes" : 4, "indexSize" : 58540160, "fileSize" : 536870912, "extentFreeList" : { "num" : 0, "totalSize" : 0 }, "ok" : 1 } 

Example output of the db.printShardingStatus() : 

--- Sharding Status --- sharding version: { "_id" : 1, "version" : 4, "minCompatibleVersion" : 4, "currentVersion" : 5, "clusterId" : ObjectId("5446970c04ad5132c271597c") } shards: { "_id" : "rs0", "host" : { "_id" : "rs1", "host" : databases: { "_id" : "admin", "partitioned" : false, "primary" : "config" } { "_id" : "test", "partitioned" : true, "primary" : "rs0" } test.test_collection shard key: { "number" : 1 } chunks: rs1 5 rs0 186 too many chunks to print, use verbose if you want to force print 

Run these commands for a second time to demonstrate that chunks are migrating from rs0 to rs1 . 

## Convert Sharded Cluster to Replica Set 

This tutorial describes the process for converting a sharded cluster to a non-sharded replica set . To convert a replica set into a sharded cluster Convert a Replica Set to a Replicated Sharded Cluster (page 699). See the Sharding (page 661) documentation for more information on sharded clusters. 

