Hi there, I have a mongos with 3 config servers and 3 shards . today we found 30 GB missed from our collection and we sure these 30 GB in the third shard . the mongos was connection to this shard using port 27017 and the other shards used 27018 .. so I changed the port of third shard to be 27018. but no thing changed .. while I was trying to retrieve these missed data I run flushconfig command .. after this command all databases and shards removed from mongos .. and I can't get them back :( ..
how can I reconnect config servers and shards to mongos and get my whole data again ..
PS the directory /data/db have a lot of files with my collection names in one of each shards
M Vinay Kumar
DBA
My understanding is, 1. you lost(disconnected) one shard which has 30G data from cluster. Later you got the other two shards also disconnected from cluster.
Now all you need is to add those 3 shards to the cluster. As you cant see any shards from mongos.
Please correct me if i got it wrong.