MongoDB convert standalone mongod to sharded replica set cluster I have a single replica set having 3 mongod instance, collection in this instance has data already.

I want to convert this instance to sharded cluster. I followed Convert a Replica Set to a Sharded Cluster but when I access my mongod at the end of the setup it doesn't show the existing data.

Any suggestions?
You have config server replica set installed?
You are running at least one mongoS -service
You are connecting (with mongo) to mongoS when you are working with cluster
You have added your replica set(s) to the cluster with sh.addShard() -command
You have added (at least one) your databases to cluster with command sh.enableSharding("yourDBname")


This point your collection is still there, sitting on original location with all data. You still need to shard your collections, which data is needed to "spread" to other shards (nodes).