External Drive Disk Errors
I work primarily on my desktop at work and keep all my data and PDFs on my D:\ drive. I placed my zotero database on my D:\drive. I sync my D:\ drive with an external drive so that I can work on my laptop at home. Zotero is great in that I can choose where to store the database so that I can work on different computers and still use the entire citation database and preserve all the links to my PDFs.
However, after working at home editing the citations in Zotero I came back to work to sync the changes to my desktop. When I tried to sync my changes to my desktop drive the sync program alerted me that some of the files were corrupt. Most of the corrupted files were Zotero database files. I ran Windows Check Disk and it found many errors but was able to repair the disk. This happened to me twice. After the second time I assumed the disk was bad so I sent it in for a warranty replacement.
I bought a new external drive and synced my D:\ drive to the new drive. However, it happened again. I made some edits to my Zotero citations using my laptop. After I was done working I shut down my laptop with the external drive still connected. When I turned the computer back on Windows detected errors on the external disk and automatically started Check Disk. This time it again found extensive errors on the disk, mostly in Zotero files but also many other files.
I'm assuming from these two experiences that working with Zotero on an external drive is "unstable" and probably causes registry errors. This issue needs to be addressed. It doesn't happen if I just make a few minor changes to my citation database but only after making extensive changes.
I'm using version 2.1b2. Windows XP at work and Windows 7 on my laptop at home.
However, after working at home editing the citations in Zotero I came back to work to sync the changes to my desktop. When I tried to sync my changes to my desktop drive the sync program alerted me that some of the files were corrupt. Most of the corrupted files were Zotero database files. I ran Windows Check Disk and it found many errors but was able to repair the disk. This happened to me twice. After the second time I assumed the disk was bad so I sent it in for a warranty replacement.
I bought a new external drive and synced my D:\ drive to the new drive. However, it happened again. I made some edits to my Zotero citations using my laptop. After I was done working I shut down my laptop with the external drive still connected. When I turned the computer back on Windows detected errors on the external disk and automatically started Check Disk. This time it again found extensive errors on the disk, mostly in Zotero files but also many other files.
I'm assuming from these two experiences that working with Zotero on an external drive is "unstable" and probably causes registry errors. This issue needs to be addressed. It doesn't happen if I just make a few minor changes to my citation database but only after making extensive changes.
I'm using version 2.1b2. Windows XP at work and Windows 7 on my laptop at home.
Corrupting files is one thing, but filesystem corruption suggests a hardware or OS problem.
(In general, I would suggest trying to safely unmount the drive before shutting down the computer and unplugging it on the off-chance that that's causing the problem, but that's beyond the scope of these forums.)
I understand Dan's point that Zotero doesn't mess with the registry, that the operating system controls the disk. However, why is Zotero the only program that causes a problem? I think there is an issue of HOW Zotero communicates with Windows to change things on the disk. Maybe Zotero is constantly changing things or is always in the middle of changing things, so when the disk is removed the changes are interrupted. Zotero automatically updates many of the citation library files every time it is opened, so maybe this background operation doesn't complete properly.
Bottom line: Zotero is the only program that is associated with getting disk errors, so Zotero is to blame.
Can someone at Zotero please test this and fix the problem?
Rash and foolish that I am, I do not make sure that I safely unmount the drive (though I would recommend that others do).
However, I do not physically unplug the drive while it is in use. As Dan Stillman says, that would result in corruption.
In order to ensure that I do not unplug the drive while in use
1) I don't unplug it while I am saving something, obviously.
2) I have turned off automatic syncing in the preferences. I sync from time to time, and not no unplug while the sync is in progress. The sync has a progress bar and a cancel sync button for those times when I am in a rush to leave and the sync has not finished.
Tim
If you have Zotero pointed at an external drive, you absolutely need to close Firefox/Standalone before unmounting the drive.