-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
None
-
Affects Version/s: 2.4.1
-
Component/s: Storage
-
Fully Compatible
-
Windows
-
-
Storage 2016-11-21
We create a database over mounted folder. When the database needs to allocate more space, there is a error message on the log file:
Sat Apr 06 17:07:52.100 [FileAllocator] mongod.exe ...\src\mongo\util\stacktrace.cpp(189) mongo::printStackTrace+0x3e Sat Apr 06 17:07:52.100 [FileAllocator] mongod.exe ...\src\mongo\util\assert_util.cpp(114) mongo::verifyFailed+0xdc Sat Apr 06 17:07:52.100 [FileAllocator] mongod.exe ...\src\mongo\util\file_allocator.cpp(73) mongo::ensureParentDirCreated+0x121 Sat Apr 06 17:07:52.100 [FileAllocator] mongod.exe ...\src\mongo\util\file_allocator.cpp(283) mongo::FileAllocator::run+0x342 Sat Apr 06 17:07:52.100 [FileAllocator] mongod.exe ...\src\third_party\boost\libs\thread\src\win32\thread.cpp(180) boost::`anonymous namespace'::thread_start_function+0x21 Sat Apr 06 17:07:52.100 [FileAllocator] mongod.exe f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c(314) _callthreadstartex+0x17 Sat Apr 06 17:07:52.100 [FileAllocator] mongod.exe f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c(292) _threadstartex+0x7f Sat Apr 06 17:07:52.100 [FileAllocator] KERNEL32.DLL BaseThreadInitThunk+0x1a Sat Apr 06 17:07:52.100 [FileAllocator] error: failed to allocate new file: E:\mongodb\data\db\cacheagg\cacheagg.6 size: 2146435072 assertion src\mongo\util\file_allocator.cpp:73. will try again in 10 seconds
After that, the replica set fails:
{ "_id" : 3, "name" : "log-mng21:27017", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 80796, "optime" : Timestamp(1365260435000, 113), "optimeDate" : ISODate("2013-04-06T15:00:35Z"), "lastHeartbeat" : ISODate("2013-04-06T15:13:31Z"), "pingMs" : 0, "errmsg" : "syncThread: 14031 Can't take a write lock while out of disk space" }
Yesterday, I opened a ticket (SERVER-9264) related with problems with repair over mounted folder. I received a workaround to solve the problem.
- related to
-
SERVER-9264 Repair process fails with a mount folder volume on Windows
- Closed