[SERVER-7999] directoryperdb with volume mount inside dbpath trips assertion failure during dropDatabase() Created: 21/Dec/12  Updated: 21/Dec/12  Resolved: 21/Dec/12

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

Type: Bug Priority: Major - P3
Reporter: J Rassi Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux


Issue Links:
Related
related to SERVER-1379 dropdb with directoryperdb should rem... Closed
Operating System: ALL
Participants:

 Description   

The documentation for --directoryperdb seems to suggest that this is supported.

$ ps -C mongod -f | grep directoryperdb
ubuntu   15776     1  0 Dec20 ?        00:00:07 mongod --fork --logpath mongod.log --directoryperdb
$ mount | grep /data/db
/dev/xvdg on /data/db/foo type ext4 (rw,noatime)
$ mongo
MongoDB shell version: 2.2.1
connecting to: test
> use foo
switched to db foo
> db.c.insert({})
> db.dropDatabase()
{
	"errmsg" : "exception: delete data files with a directoryperdb caught exception exception: boost::filesystem::remove: Device or resource busy: \"/data/db/foo\"",
	"code" : 14043,
	"ok" : 0
}
> 



 Comments   
Comment by Eliot Horowitz (Inactive) [ 21/Dec/12 ]

the fix is SERVER=1379

Generated at Thu Feb 08 03:16:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.