[SERVER-32101] Remove data directly on shard Created: 28/Nov/17  Updated: 28/Nov/17  Resolved: 28/Nov/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.4.4
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Jhonatan Siqueira Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Hi mongodb Team,

I have a problem in production on my cluster.
Our monitoring fail on monitoring disk space and this over.
And i needed to remove some part of data directly on a master shard node.
I know this is dangerous but is my only option at moment because i can't open mogo shell on mongos.

Now cluster works well but i need to know the real impact of my action.
And how to solve.



 Comments   
Comment by Jhonatan Siqueira [ 28/Nov/17 ]

Thanks for you kick answer,

I'm not remove directly on dbpath but in mongoshell of mongod of my secundary shard.

Comment by Ramon Fernandez Marina [ 28/Nov/17 ]

jhonatan.p.s@gmail.com, removing files directly from dbpath is not supported and is likely to render this shard unusable, so I'd strongly encourage you to consider other alternatives (enlarge volumes, replace disk with a bigger one, lower the amount of reserved blocks if using ext3/4...).

Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources.

Regards,
Ramón.

Generated at Thu Feb 08 04:29:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.