Posts: 42
Joined: Dec 2011
Reputation:
0
I have openelec with EDEN beta,
I edited my Videos and TV shows to point at folders on my expansion drive (2TB external drive). It started to scan and now all my videos are gone! I check the hard drive on my windows laptop and it says the folder is corrupt!
HOW THE F*CK does XBMC CORRUPT a hard drive! WTF WTF.
If anyone can help.
Posts: 42
Joined: Dec 2011
Reputation:
0
So running chkdsk in windows, but its going to take about 10+ hours at this rate to finish verifying. I certainly hopes it recovers my stuff.
BUT WHY did this happen? How can xbmc corrupt an external drive? How can I prevent it from happening again.
Posts: 42
Joined: Dec 2011
Reputation:
0
Yeah I know, thats why I was like wtf. but its a brand new external drive and thus far, never happened before. IMMEDIATELY noticed it after canceling a media scan... first media scan I've ever done, even though I've been running openelec for 2 months. No problems before this. I think it was xbmc or at the very least openelec/linux... no improper disconnecting. No power shortage. chkdsk fixed it (after 12+ hours for the verification).
Posts: 152
Joined: Nov 2011
Reputation:
0
xbmcg
Senior Member
Posts: 152
2012-01-12, 01:49
(This post was last modified: 2012-01-12, 01:52 by xbmcg.)
I've had a similar issue with a 6 month old 2TB SATA drive from Western Digital (WD20EARS Caviar Green), what dies after trying the CDAlbumArt plugin (it ran about 10 hours creating the inital database with heavy drive operations).
Seems to crashed / overheatet the controler. The drive spins up and positions the heads on startup, but is no longer recognized by the BIOS / no longer accessible. It could also be a firmware issue. It not seems to have a head crash or so - no strange operation noises.
In google there are several forums complaining about this series so I have sent it back (warranty), also a lot of data rescue companies describe similar errors on the internet.
I would bet on the hardware quality, not on xbmc software as reason for that.
...
Posts: 13,680
Joined: Mar 2010
Reputation:
506
PatK
Team-Kodi Member
Posts: 13,680
2012-01-12, 02:00
I would also join the voices who speculate a hardware issue. I've lost an external USB drive to a bad connector and the power supplies on these things are not certified anything.. When you have hardware issues and you're writing to the device in question, it's anyone's guess what the scramble will be. The Stress on the hardware when scrapping the whole drive is what probably put the drive over the edge.
Posts: 2
Joined: Sep 2012
Reputation:
0
For all people trying to avert this from XBMC, here's a few easy steps to corrupt your file system...
1. Plugin your external harddrive
2. Browse to some movie directory
3. Hit back to go to the main menu when i realize the subs are not in the right place/format
4. Unplug external drive
5. Hook it up with my notebook to rearrange the movie files in the directory
6. Re plug external drive to XBMC
7. Reopen Video section
And then it's corrupted. XBMC will open the last opened folder (ie. the movie i was going to watch) and shows an empty folder. Hopping out and back into the directory doesn't solve the issue and after finally re attaching the drive to my notebook Windows tells me the directory is corrupt. I've fallen for this a few times now... wanting to watch a movie, trying to quickly rearrange stuff to get my subs going.... and ending up not watching that movie at all...
So i'm not sure wheter to point to bad hardware all to fast...
Posts: 6,339
Joined: Jul 2010
Reputation:
116
artrafael
Team-XBMC Forum Moderator
Posts: 6,339
Between steps 3 & 4 and 5 & 6, did you execute "safely remove" drive in XBMC or your operating system before unplugging the drive?
Posts: 2
Joined: Sep 2012
Reputation:
0
@Artrafael: No, and that's most likely the cause. Still, this problem ONLY let's it self replicate this way according the above steps. If i'd moved out of the movies folder before step 3 and did exactly the same there is no problem. So it appears to me that XBMC somehow performs write actions upon returning into it's old folder as where i believe it just should rescan it's contents.
Anyhow... of course you're right and a clean removal should be performed, but i'm very sure a lot of people skip that step.