![]() |
I/O error when trying access to the XBMC database files - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Kodi (/forum-18.html) +--- Thread: I/O error when trying access to the XBMC database files (/thread-1143.html) Pages: 1 2 |
I/O error when trying access to the XBMC database files - kraleksandr - 25th Jul, 2013 05:50 PM Code: xbian@xbian ~ $ cp .xbmc/userdata/Database/MyVideos75.db /dev/zero First I installed nmap with 69 additional packages, then I tried to remove nmap but apt-get said that 'package list parse error'. Then I sent 'reboot' to my Pi and after that my media library has gone. I then remove this packages (nmap+69 additionsl) using dpkg -r but I/O error still appear. Code: xbian@xbian ~ $ ls -al .xbmc/userdata/Database/ RE: I/O error when trying access to the XBMC database files - IriDium - 25th Jul, 2013 06:11 PM 1/ Check SD card is not full df -h 2/ Try /dev/null instead Re: I/O error when trying access to the XBMC database files - rikardo1979 - 25th Jul, 2013 06:13 PM I would say that once you have messed up your sys and dont know what happened, than the best,safest and easier way would be to restore your SD card backup RE: I/O error when trying access to the XBMC database files - kraleksandr - 25th Jul, 2013 07:00 PM Code: xbian@xbian ~ $ df -h Code: xbian@xbian ~ $ cp .xbmc/userdata/Database/* t/ Trying fsck.btrfs now... Is it serious? On second pass same output. ![]() RE: I/O error when trying access to the XBMC database files - IriDium - 25th Jul, 2013 07:37 PM Are you just trying to backup your XBMC settings? Have you tried XBMC backup? Also export library from within XBMC. cp .xbmc/userdata/Database/* t/ is not a valid command. I've tried on my machine, mkdir temp, cp .xbmc/userdata/Database/* temp and it works, apart from CDDB which is empty. Sounds like something is corrupt. Can you access another linux machine and run a check on the card. RE: I/O error when trying access to the XBMC database files - kraleksandr - 25th Jul, 2013 07:43 PM (25th Jul, 2013 07:37 PM)IriDium Wrote: Are you just trying to backup your XBMC settings? Have you tried XBMC backup? Also export library from within XBMC.No. No. Export - choose folder - Ok -> freeze for few seconds and nothing happens. fsck log in the previous post. Also several other files has I/O error. RE: I/O error when trying access to the XBMC database files - IriDium - 25th Jul, 2013 08:09 PM Can you try: sudo btrfs fi show sudo btrfs fi df / It's not looking good. You have got a backup? RE: I/O error when trying access to the XBMC database files - kraleksandr - 25th Jul, 2013 08:31 PM (25th Jul, 2013 08:09 PM)IriDium Wrote: Can you try: Code: xbian@xbian ~ $ sudo btrfs fi show RE: I/O error when trying access to the XBMC database files - IriDium - 25th Jul, 2013 08:54 PM I'm at a loss. I wonder if it got corrupted using the "cp" command on a btrfs file system when rsync should have been used. It might be possible to recover, but I'm not a btrfs expert. Someone else might be able to help. https://btrfs.wiki.kernel.org/index.php/Restore RE: I/O error when trying access to the XBMC database files - kraleksandr - 26th Jul, 2013 01:43 AM Now my Pi didnt boot either. Loading screen and non-blinking ACT led. RE: I/O error when trying access to the XBMC database files - IriDium - 26th Jul, 2013 01:54 AM (26th Jul, 2013 01:43 AM)kraleksandr Wrote: Now my Pi didnt boot either. Loading screen and non-blinking ACT led. Did you try anything prior to this happening? I think it is time to bite the bullet and do a fresh install. You may still be able to recover "some" of the files if you have access to another Linux machine but I would put it down to experience and do a fresh install and make sure you have backups. RE: I/O error when trying access to the XBMC database files - kraleksandr - 26th Jul, 2013 02:48 AM (26th Jul, 2013 01:54 AM)IriDium Wrote:(26th Jul, 2013 01:43 AM)kraleksandr Wrote: Now my Pi didnt boot either. Loading screen and non-blinking ACT led. Only fsck.btrfs and btrfs-restore. RE: I/O error when trying access to the XBMC database files - kraleksandr - 26th Jul, 2013 04:26 PM Boot with debug mode ends here: Code: mmc0: Controller never released inhibit bit(s). Re: RE: I/O error when trying access to the XBMC database files - f1vefour - 26th Jul, 2013 09:20 PM (26th Jul, 2013 04:26 PM)kraleksandr Wrote: Boot with debug mode ends here: Definitely went south on you, likely no hope of recovering anything. http://www.raspberrypi.org/phpBB3/viewtopic.php?t=22359&p=230921 Last post of that thread is gsh (Gordon Hollingsworth - Raspberry Pi Developer) asking for a card with this issue to be sent to him if your interested. RE: I/O error when trying access to the XBMC database files - kraleksandr - 26th Jul, 2013 10:30 PM After erasing my sdcard (dd from /dev/zero) and installing XBian from b1.1 image it works, but at 3rd reboot that error appears again. Is it trouble with SDcard or with RPi? |