Corrupted Database

Hi all,

Having an issue with a USB.

Brief background, this is a USB that lives in my Prime 4, i have three, one gets taken out and updated with new music, two live in the P4 all the time.

I’ve been having an issue recently with this one where a couple of times a night it ‘ejects’ itself when searching for a track, and i either have to wait for it to give me the error message that its ejected, or pull it out and put it back in.

I have backed it up to an external hard drive, formatted the USB, and copied all of the folders EXCEPT the Engine Library folder back on to it, and re-analysed it in Engine DJ.

After about 30 minutes, a dialogue box has popped up telling me that the database on that USB is corrupted, and cancelled the analysing process.

Does anyone know what the issue might be? The USB itself is a Samsung FIT 3.1 256gb which are pretty bombproof so i’m not convinced the USB is faulty, and running first aid on it throws up no issues.

N.B. I have a similar issue on my P4 with my other USBs, although this one is the worst offender. The problems started when i started using Mac instead of Windows but that being said they were sporadically doing it before, so i think that is just a coincidence.

Thanks all,

Gav

If you’ve switched platforms id say its worth formatting the USB, ensuring Engine desktop is up to date then reload all your music back onto it.

1 Like

Hi Stu,

Yeah, well thats what i thought the issue might be which is why i did the format. I’m up to date on both Engine DJ and OS as well.

Currently trying again, one folder at a time, to see if any particular folder presents an issue.

Going to be a long day :joy:

Cheers!

1 Like

Update,

Putting folders on one-by-one didn’t work, the collection folder just remained blank. So, deleted everything off the USB again and now performing the slowest, most secure seven-pass format on it. If theres a dodgy sector hopefully that will either pick it up or reset it so hard that it fixes it…

1 Like

Did you say you were storing the music directly on the USB? won’t the file path be different for any new music added using the Mac rather than Windows? and that will make the DB on the flash drive fall over?

Why are you copying folders direct to the usb? Don’t you use engine DJ to load files to the usb?

  1. Format the usb
  2. Sync manager to transfer your files to it

If you chose to do things any other way, then you need to know what you are doing.

Thanks mufasa.

This is the way i have always done it, load folders onto the USB, then drag and drop folders from the USB into the relevant folder in Engine DJ. I’m not saying it’s right, i’m saying it works!

Although apparently with this one now it isn’t, im not sure its the method thats the problem though but once this format has completed i will try doing it the proper way and see if that yields better results.

When i moved to Mac (about three months ago?) i installed a fresh copy of Engine (obviously), deleted the Engine Library folders on the USB and reanalysed everything on the Mac, so in theory the file paths should be right and have for the most part worked fine, music loads fine in OS up until the USB ejects itself.

My thinking is if i can get this one right and working i will do the other two as well, so i will follow Mufasas advice and use the sync manager and see if that works.

An hour later an we are on pass 2 of 7 of the format, so this USB is getting CLEANED!

Ive made a pact with myself to avoid getting involved/embroiled in any discussions about library management from now on Gav(too many arguments), but i agree that the sync manager is probably the best step, or at the very least worth a try to see if its better.

You have done the right thing after the move by the looks of it though with the fresh install of everything.

I also don’t get into arguments, just not worth it! Plenty of people know more about this than i do, and i’m happy to take others advice!

Yeah, i’ll give Sync Manager a go. I never really used it before because my way of doing it wasn’t broke, so i didn’t fix it but now… its broke!

The more i think about it the more I’m starting to think it may be the USB itself, with a corrupted sector or something. It seems like the data itself was fine as everything worked, but it was the searching and therefore reading process that ‘ejected’ it, maybe when its search took it thorugh the bad sector.

A quick format earlier would have just erased the files (but doesn’t really erase them, as im sure you know, just opens the area up for rewriting) but this 7 pass format rewrites a random string of 0s and 1s… so may reset a bad sector by essentially brute force.

Only on pass 3 now so its going to be a while til i find out! Any and all further advice welcome!

I guess for the price of a new USB3.0 stick it might be worth just buying one and trying that? i think the little Sandisk ones i use are only about 15 quid for the high volume option.

I was thinking that. I’ve got a Sandisk 256gb at home, alternatively a new samsung one (which are excellent by the way! very fast, and water and heat resistant) is only about £30.

I’ll let this do its thing and see what happens.

1 Like

Now before you use sync manager Make sure the source collection is in top shape.

Hi, I make regular copies of the database2 directory as backup, both in Folder Music on C: Drive and on USB drive. I don’t like how the tracks and up the usb drive using sync manager. Therefore I put the structure of files on the USB drive an import the files from there.