NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
CaryTheLabelGuy
Dec 22, 2011Aspirant
CNID DB error using AFP in Lion
My rig: late 2011 iMac 27inch 3.1Ghz Quad Core i5 running OS X Lion ReadyNAS NV+ RAIDiator 4.1.8 4x1tb Hitachi drives I'm having an issue whenever I try to use AFP on the ReadyNAS NV+. The pro...
carpii
May 24, 2012Tutor
spotspot wrote: I have this problem too! What a disaster. I followed peterw's advice with no effect. Please help!!
I've been having this problem ever since upgrading to firmware 4.2.20.
Tech support suggested downgrading to 4.2.19 and then reinstalling 4.2.20, but this did not have any effect.
After a little digging around, here's what I think the problem really is, and how to fix it...
Each time you mount a share on the NAS, there is a process which runs and does some maintenance on the CNID database (this maintains mappings from filenames to AFP id''s).
If you have a lot of files in your share, this can take a while, which is why mounting the share appears to lock up for a long period of time, before giving the 'Something is wrong with CNID DB' error.
If you SSH into the NAS, find where your share is on the drive, and then look in the hidden .AppleDB directory
In there, the CNID database is stored, and there are various log files. On My NAS the CNID database was pretty large, and the log files contained many errors about running out of lock space.
1) Unmount all shares from your machine (might not be necessary, I did it just to be safe)
2) Via SSH, rename the .AppleDB directory to OLD_AppleDB (you should do this for EACH share which is affected).
3) Reboot the NAS
4) When the NAS boots back up, try to mount the share. The NAS should recreate the .AppleDB directory (this time much smaller, and hopefully will not suffer form lock space problems). After that you should have read/write access on your share again
* disclaimer: I might be jumping the gun and its a temporary fix only. But its working for me so far. Since I've been frustrated by this problem for 10 days, Im really happy to have even a temporary fix.Hope it helps someone else.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!