All of lore.kernel.org
 help / color / mirror / Atom feed
* un-long listable files
@ 2003-08-06  4:31 Michael.James
  2003-08-06 17:03 ` Oleg Drokin
       [not found] ` <200308070823.40130.Michael.James@csiro.au>
  0 siblings, 2 replies; 6+ messages in thread
From: Michael.James @ 2003-08-06  4:31 UTC (permalink / raw)
  To: reiserfs-list

I'm running into this problem repeatedly.
Anyone know what's going on here?

I'm running Suse8.2 with the default reiserfs filesystem.
Suse8.2 # cat /etc/fstab
/dev/hda6       /               reiserfs defaults               1 1
/dev/hda5       /altOS          reiserfs defaults               1 2
/dev/hda1       /boot           ext2    defaults                1 2
/dev/hda8       /home           reiserfs defaults               1 2
/dev/hda7       swap            swap    pri=42                  0 0


From time to time, an application segfaults out,
 (Grip and VMware have done it)
 leaving me with a file that hangs a long listing.
It's usually a big one.

eg: 
ls  winXPPro.vmdk		is fine, no problem characters in the filename
ls -l  winXPPro.vmdk		is not, hangs forever
echo *			is fine

It's not just a character in the name causing the trouble.
touch *			is fine but doesn't help
chown me:grp *		is fine but doesn't help
chmod 644 *		is fine but doesn't help

I can cat it, but not cp it.
I can rm it, then the directory becomes listable.

So try stracing it.
strace    ls -l winXPPro.vmdk		gives:

<lots of lines snipped>

lstat64("ls-fail", {st_mode=S_IFREG|0644, st_size=6932, ...}) = 0
        getxattr("strace.ls", "system.posix_acl_access", (nil), 0) = -1
        EOPNOTSUPP (Operation not supported)

lstat64("winXPPro.vmdk",
        {st_mode=S_IFREG|0644, st_size=95416320, ...}) = 0

getxattr("light_in_time_of_darkness__glad_to_see_you.wav",
         "system.posix_acl_access"

and there it sits waiting for heat-death-of-universe.

To cope with line-wrapping I've tabbed extensions in
 and put an extra newline at real line breaks.

Looks like I'm falling foul of some strange ACLs.
ls -l as root still hangs though.


So I took the trouble to drop down to run level 1,
 unmount /home and do a fsck.reiser on it.
It ran without finding any errors.
Ran it again with --fix-fixable, still nothing,
 but now everything works and the files are listable!

Hmpf, I don't like this, problems down in reiserfs?
michaelj


PS:
suse8.2 # cat /proc/version
	Linux version 2.4.20-4GB (root@Pentium.suse.de)
	 (gcc version 3.3 20030226 (prerelease)
	 (SuSE Linux)) #1 Fri Jul 11 07:33:18 UTC 2003

suse8.2 # rpm -qf /boot/vmlinuz
	k_deflt-2.4.20-96


-- 
Michael James				michael.james@csiro.au
System Administrator			voice:	02 6246 5040
CSIRO Bioinformatics Facility	fax:		02 6246 5166

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-09-09 15:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-06  4:31 un-long listable files Michael.James
2003-08-06 17:03 ` Oleg Drokin
2003-08-06 18:06   ` Jeff Mahoney
     [not found] ` <200308070823.40130.Michael.James@csiro.au>
     [not found]   ` <3F3188C5.7050606@suse.com>
2003-09-09  5:12     ` Un-long listable files (strace+Oops) Michael.James
2003-09-09 14:47       ` Oleg Drokin
2003-09-09 15:00         ` Jeff Mahoney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.