mysql folder displayed as file

Discussion in 'Server Operation' started by kyriakos, Aug 12, 2009.

  1. kyriakos

    kyriakos New Member

    I mount my old system disk to a new and I cant browse /old/var/lib/mysql
    The folder is displayed as file with creation date 1970-01-01 and 4Gib
    I have no rights to copy or move it. User and group are 4294967295

    is this a corrupt file system or something else? Is it possible to recover?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /old/var/lib/mysql/
    ?
     
  3. kyriakos

    kyriakos New Member

    Code:
    ls: cannot access /old/var/lib/mysql/: Not a directory
    in ls -la /old/var/lib/ there is a mysql file:

    Code:
    
    ?rwsrwsrwt 65535 4294967295 4294967295 4294967295 1970-01-01 01:59 mysql
    drwxr-xr-x     5 root       root             4096 2006-12-16 03:31 nfs
    drwxr-xr-x     2 ntp        ntp              4096 2009-08-10 23:49 ntp
    
    
     
  4. falko

    falko Super Moderator Howtoforge Staff

    That's strange - I've never seen anything like this before... :confused:
     

Share This Page