Corrupt File

Hi All,

Just a quick bit of help needed here. I have a directory that, when doing an 'ls', reports itself as being 24 meg in size. Thats not the contents, the actually directory, where clearly it should be 512 bytes.

So I've tried an 'fsck' which didn't fix things, so I'm a little stuck. The directory in question in the 'data' directory of my mysql install. :-(

Anybody have any ideas?Last last backup is far too old.. I'm holding back the tears at the moment.....

Stuart.

[516 byte] By [stainlesssteelrata] at [2007-11-27 4:11:30]
# 1
I don't use MySQL as such, but you should try ls -la. It could be possible that the folder contains some hidden files and folders which will be listed by this command.
saurabh_rastogia at 2007-7-12 9:17:20 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

Here is a snapshot of my 'ls -la'....

drwxr-x 22 mysqlmysql27M May 11 22:45 data

drwxr-x4 mysqlmysql512 Oct 17 2005 data.orig

drwxr-xr-x2 mysqlmysql512 Oct 17 2005 docs

drwxr-xr-x2 mysqlmysql1.5K Oct 17 2005 include

drwxr-xr-x2 mysqlmysql512 Oct 17 2005 lib

'ls' resport the file as a directory, but it's 27 meg in size. If I 'cd' into it, and do a 'ls', it just hangs. A control-c is the only way out.

Stuart.

stainlesssteelrata at 2007-7-12 9:17:20 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...