You are not logged in.

#1 2013-01-19 16:26:48

zombied
Member
Registered: 2013-01-19
Posts: 2

[SOLVED] Cannot delete files due to circular directory structure

This all started when sabnzbd and sickbeard started dying. sabnzbd seemed to fail to create the PID file because the /run/sabnzbd directory would be gone. Create it by hand, change ownership and it's good.

So sickbeard was dishing out all sorts of errors. I tracked it down to failing to laod some file in /usr/lib/sickbeard/lib/hachoir_parser/audio . A little digging and it seems like the file system is corrupt. I removed sickbeard entirely and was planning to remove its leftovers by hand. I did a 'touch /forcefsck' and a reboot and it doesn't look like it's fixing anything.

The OS and all files are on a USB stick. a USB HDD has a separate file system just for content.

[root@alarm audio]# pwd
/usr/lib/sickbeard/lib/hachoir_parser/audio
[root@alarm audio]# ls -l
ls: cannot access a
pi: Input/output error
ls: cannot access %adi.: Input/output error
ls: cannot access _hit__.p: Input/output error
ls: cannot access itujeSdB.PIc: Input/output error
ls: cannot access Au.0y: Input/output error
ls: cannot access m/$*: No such file or directory
ls: cannot access !i&F.pqb: Input/output error
ls: cannot access id3*pq: Input/output error
ls: cannot access fla: Input/output error
ls: cannot access     $uNesd`: Input/output error
ls: cannot access r%ala5: Input/output error
ls: cannot access A    ff.p: Input/output error
ls: cannot access 13-P    : Input/output error
total 4
drwxr-xr-x 2 root root 4096 Jan 19 08:27 ?
-????????? ? ?    ?       ?            ? 13-?P?
-????????? ? ?    ?       ?            ? %adi.
-????????? ? ?    ?       ?            ? A?ff.p
-????????? ? ?    ?       ?            ? a??pi?
-????????? ? ?    ?       ?            ? Au.0y
-????????? ? ?    ?       ?            ? fla
-????????? ? ?    ?       ?            ? ?_h?it__.p
-????????? ? ?    ?       ?            ? id3*pq
-????????? ? ?    ?       ?            ? !i&F.pqb
-????????? ? ?    ?       ?            ? itujeSdB.PIc
-????????? ? ?    ?       ?            ? m/$*
-????????? ? ?    ?       ?            ? r%al?a5??????
-????????? ? ?    ?       ?            ? ?$uNesd`?
[root@alarm audio]#

Suffice it to say I'm at a bit of a loss now as to how to get rid of this crap so I can re-install and move on.

Last edited by zombied (2013-01-19 23:06:38)

Offline

#2 2013-01-19 20:13:20

zombied
Member
Registered: 2013-01-19
Posts: 2

Re: [SOLVED] Cannot delete files due to circular directory structure

Fixed.

I ended up just hooking it up to my Mac with FUSEOSX, set it to write and deleted the directory.

Offline

#3 2013-01-19 20:32:58

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Cannot delete files due to circular directory structure

Welcome to the forum. Don't forget to mark the topic as solved (by editing the first post) so that other people (including yourself sometimes) may find useful.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB