Skip to contentSkip to conversation

Lost files + indentical Foldernames on XFS Partition

DISCUSSION Steffen Knauf 3 participants 9 messages Mar 17, 2009 – Mar 19, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

today i have a strange behavior. I have a a directory which contains lots of indentical Folders with the same Name and Inode.
I don't create Hardlinks or something else. On the other side some files are suddenly vanished. A "ls -al" result in the following error: "Access to bla not possible: File or Directory not found." I don't find some Errormessages in the logfile. I don't know whether a xfs_check make sense.

greets

Steffen

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 4 lines · Steffen Knauf

Hello,

today i have a strange behavior. I have a a directory which contains lots of indentical Folders with the same Name and Inode.

What kernel?

Can you cut and paste what you see?

Quoted 5 lines

I don't create Hardlinks or something else. On the other side some files are suddenly vanished. A "ls -al" result in the following error:
"Access to bla not possible: File or Directory not found." I don't find some Errormessages in the logfile. I don't know whether a xfs_check make sense.

xfs_repair -n will check the filesystem without actually modifying anything.

-Eric

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 11 lines
Quoted 4 lines · Steffen Knauf

Hello,

today i have a strange behavior. I have a a directory which contains lots of indentical Folders with the same Name and Inode.

What kernel?

Linux version 2.6.16.60-0.21-smp (geeko@buildhost) (gcc version 4.1.2 20070115 (SUSE Linux))

Quoted 3 lines

Can you cut and paste what you see?

Really strange is that if execute only a 'ls' command the files are shown twice:

combine_sbn.0051.tga
combine_sbn.0051.tga

But if i execute 'ls -il' the output looks like this:

combine_sbn.0051.tga: Datei oder Verzeichnis nicht gefunden combine_sbn.0057.tga: Datei oder Verzeichnis nicht gefunden combine_sbn.0058.tga: Datei oder Verzeichnis nicht gefunden

Here a directory example:

2147642598 drwxrwxrwx 2 500 500 4096 2009-03-17 12:33 S14-01_Fische_beauty_Main 2147642598 drwxrwxrwx 2 500 500 4096 2009-03-17 12:33 S14-01_Fische_beauty_Main

Quoted 7 lines
Quoted 3 lines

I don't create Hardlinks or something else. On the other side some files are suddenly vanished. A "ls -al" result in the following error: "Access to bla not possible: File or Directory not found." I don't find some Errormessages in the logfile. I don't know whether a xfs_check make sense.

xfs_repair -n will check the filesystem without actually modifying anything.

I'll try it....

Quoted 3 lines

-Eric

Steffen

*
*

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw
Quoted 11 lines · Steffen Knauf
Quoted 8 lines
Quoted 5 lines · Steffen Knauf

Hello,

today i have a strange behavior. I have a a directory which contains lots of indentical Folders with the same Name and Inode.

What kernel?

Linux version 2.6.16.60-0.21-smp (geeko@buildhost) (gcc version 4.1.2 20070115 (SUSE Linux))

Would probably be good to try an upstream kernel to see if it persists, if you can; otherwise for an older distro kernel like this, a report to SuSE would be in order.

Quoted 5 lines
Quoted 1 line

Can you cut and paste what you see?

Really strange is that if execute only a 'ls' command the files are shown twice:

Quoted 8 lines

combine_sbn.0051.tga
combine_sbn.0051.tga

But if i execute 'ls -il' the output looks like this:

combine_sbn.0051.tga: Datei oder Verzeichnis nicht gefunden combine_sbn.0057.tga: Datei oder Verzeichnis nicht gefunden combine_sbn.0058.tga: Datei oder Verzeichnis nicht gefunden

so the filename is in the directory but doesn't point to a valid file I guess.

Quoted 13 lines

Here a directory example:

2147642598 drwxrwxrwx 2 500 500 4096 2009-03-17 12:33 S14-01_Fische_beauty_Main
2147642598 drwxrwxrwx 2 500 500 4096 2009-03-17 12:33 S14-01_Fische_beauty_Main

Quoted 6 lines
Quoted 6 lines

I don't create Hardlinks or something else. On the other side some files are suddenly vanished. A "ls -al" result in the following error:
"Access to bla not possible: File or Directory not found." I don't find some Errormessages in the logfile. I don't know whether a xfs_check make sense.

Quoted 3 lines
Quoted 2 lines

xfs_repair -n will check the filesystem without actually modifying anything.

I'll try it....

You could also create an xfs_metadump to save for later investigation.

-Eric

Quoted 3 lines
Quoted 2 lines

-Eric

Steffen

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#4 lore raw
In reply to Steffen Knauf
Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Steffen Knauf
Sent: Dienstag, 17. März 2009 23:53
To: Eric Sandeen
Cc: [email protected]
Subject: Re: Lost files + indentical Foldernames on XFS Partition

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines · Steffen Knauf

Hello,

today i have a strange behavior. I have a a directory

which contains

Quoted 2 lines
Quoted 2 lines

lots of indentical Folders with the same Name and Inode.

Does this happen on the filesystem you mounted in parallel on two machines? I remember your question from early this week, so I ask

Sebastian

Quoted 50 lines
Quoted 4 lines

What kernel?

Linux version 2.6.16.60-0.21-smp (geeko@buildhost) (gcc version 4.1.2 20070115 (SUSE Linux))

Quoted 3 lines

Can you cut and paste what you see?

Really strange is that if execute only a 'ls' command the files are shown twice:

combine_sbn.0051.tga
combine_sbn.0051.tga

But if i execute 'ls -il' the output looks like this:

combine_sbn.0051.tga: Datei oder Verzeichnis nicht gefunden combine_sbn.0057.tga: Datei oder Verzeichnis nicht gefunden combine_sbn.0058.tga: Datei oder Verzeichnis nicht gefunden

Here a directory example:

2147642598 drwxrwxrwx 2 500 500 4096 2009-03-17 12:33 S14-01_Fische_beauty_Main
2147642598 drwxrwxrwx 2 500 500 4096 2009-03-17 12:33 S14-01_Fische_beauty_Main

Quoted 1 line
Quoted 1 line

I don't create Hardlinks or something else. On the other

side some files

Quoted 3 lines
Quoted 3 lines

are suddenly vanished. A "ls -al" result in the following error:
"Access to bla not possible: File or Directory not found." I don't find some Errormessages in the logfile. I don't

know whether a

Quoted 4 lines
Quoted 2 lines

xfs_check make sense.

xfs_repair -n will check the filesystem without actually

modifying anything.

Quoted 2 lines

I'll try it....

Quoted 3 lines

-Eric

Steffen

Quoted 8 lines

*
*

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#5 lore raw
Quoted 8 lines

Does this happen on the filesystem you mounted in parallel on two machines? I remember your question from early this week, so I ask

Sebastian

Yes, but i mounted the partition only a short time parallel (we only read from this partition). At the moment, the mounted Filesystem is only mounted on one machine.

Steffen

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#6 lore raw
Quoted 4 lines · Steffen Knauf
Quoted 4 lines

Does this happen on the filesystem you mounted in parallel on two machines? I remember your question from early this week, so I ask

Quoted 8 lines
Quoted 2 lines

Sebastian

Yes, but i mounted the partition only a short time parallel (we only read from this partition). At the moment, the mounted Filesystem is only mounted on one machine.

Steffen

oh... well in that case, do an xfs_repair before anything else.

-Eric

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#7 lore raw
Quoted 11 lines
Quoted 8 lines · Steffen Knauf
Quoted 6 lines

Does this happen on the filesystem you mounted in parallel on two machines? I remember your question from early this week, so I ask

Sebastian

Yes, but i mounted the partition only a short time parallel (we only read from this partition). At the moment, the mounted Filesystem is only mounted on one machine.

Quoted 9 lines
Quoted 3 lines

Steffen

oh... well in that case, do an xfs_repair before anything else.

-Eric

Yes, i'll do this in next days, but the Partitions are very huge ( 5 TB). I think that will take a while. Till then, greets and thanks!

Steffen

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#8 lore raw
In reply to Eric Sandeen
Quoted 12 lines
Quoted 6 lines

Yes, but i mounted the partition only a short time parallel (we only read from this partition). At the moment, the mounted Filesystem is only mounted on one machine.

Steffen

oh... well in that case, do an xfs_repair before anything else.

-Eric

I unmount the partition, but if i try to use xfs_repair, i get the following error:

xfs_repair: /dev/sdc3 contains a mounted and writable filesystem

fatal error -- couldn't initialize XFS library

greets

Steffen

Signature · 26 lines
Steffen Knauf
System Management

fon: +49 (0)89 - 51 555 878
fax: +49 (0)89 51 555 877

*LIGA_01 | MÜNCHEN

*LIGA_01 COMPUTERFILM GmbH *| *Landwehrstrasse 60-62 *| *80336 Munich, Germany
fon: +49 (0)89 51 555 888 *|* fax: +49 (0)89 51 555 877 *| *www.liga01.com

Geschäftsführer: Pablo Bach, Justus Engel, Sebastian Faber *|* Amtsgericht München HRB 143251 *| *USt-IdNr. DE223186904

*LIGA_01 | HAMBURG

*LIGA_01 COMPUTERFILM HAMBURG GmbH *| *Grosse Theaterstrasse 1 *| *20354 Hamburg, Germany
fon: +49 (0)40 226 226 00 *| *fax: +49 (0) 40 226 226 026 *| *www.liga01.com

Diese Nachricht enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Nachricht irrtümlich erhalten haben, informieren Sie bitte den Absender und löschen diese Nachricht. Das unerlaubte Kopieren und die unbefugte Weiterleitung dieser Nachricht sind nicht gestattet.

This message may contain confidential and/or privileged information. If you are not the intended recipient or if you have received this message in error, please notify the sender and delete this message. Any unauthorised copying, disclosure or distribution of this message is strictly forbidden.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs