Skip to contentSkip to conversation

XFS data lost recover

DISCUSSION Duarte Franco 3 participants 4 messages Jun 10, 2014 – Jun 11, 2014

lore
Share & tools
lore
#0 lore raw

Hi

I have a Linux RHEL 5.3 server with a XFS partition over lvm on an infortrend Fc storage.

Recently we have a system failure that corrupt the XFS partition. After a xfs_restore the partition was recovered but the lost+found directory contain about 5.5TB of inode files. (almost the total size 7TB)

After that the partitions were used to write a few more data, without any problem.

I would like to ask if there is any way to recover the files in lost+found directory? Do you have any service to recover these files?

If possible I would prefer to be contacted by email.

Best Regards

Duarte Franco

AIA – Area Infra-estruturas Aplicacionais

_________________________________________________

FCT, FCCN

Av. do Brasil, 101 Apartado 50435 1708-001 Lisboa

Telf. 300 005 257 Fax 351 21 8472167

<blocked::http://www.fccn.pt/> http://www.fccn.pt/

Aviso de Confidencialidade

Esta mensagem é exclusivamente destinada ao seu destinatário, podendo conter informação CONFIDENCIAL, cuja divulgação está expressamente vedada nos termos da lei. Caso tenha recepcionado indevidamente esta mensagem, solicitamos-lhe que nos comunique esse mesmo facto por esta via ou para o telefone +351 218440100 devendo apagar o seu conteúdo de imediato.

This message is intended exclusively for its addressee. It may contain CONFIDENTIAL information protected by law. If this message has been received by error, please notify us via e-mail or by telephone +351 218440100 and delete it immediately.

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

#1 lore raw
Quoted 4 lines · Duarte Franco

Hi

Quoted 8 lines

I have a Linux RHEL 5.3 server with a XFS partition over lvm on an infortrend Fc storage.

Recently we have a system failure that corrupt the XFS partition. After a xfs_restore the partition was recovered but the lost+found directory contain about 5.5TB of inode files. (almost the total size 7TB)

presumably you mean xfs_repair?

lost+found/ is populated with files for which name data has been lost. There is no great way to recover the names; if there were, xfs_repair would do it.

Quoted 9 lines

After that the partitions were used to write a few more data, without any problem.

I would like to ask if there is any way to recover the files in lost+found directory? Do you have any service to recover these files?

The files themselves are not lost, but they have lost their names.

Depending on the data you have in the files, perhaps they are still recognizable, and could be renamed back to their original locations via script?

-Eric

Quoted 36 lines

If possible I would prefer to be contacted by email.

Best Regards

Duarte Franco

*AIA*– Area Infra-estruturas Aplicacionais

_________________________________________________

FCT, FCCN

Av. do Brasil, 101 Apartado 50435 1708-001 Lisboa

Telf. 300 005 257 Fax 351 21 8472167

http://www.fccn.pt/ <blocked::http://www.fccn.pt/>

*Aviso de Confidencialidade*

Esta mensagem é exclusivamente destinada ao seu destinatário, podendo conter informação CONFIDENCIAL, cuja divulgação está expressamente vedada nos termos da lei. Caso tenha recepcionado indevidamente esta mensagem, solicitamos-lhe que nos comunique esse mesmo facto por esta via ou para o telefone +351 218440100 devendo apagar o seu conteúdo de imediato.

This message is intended exclusively for its addressee. It may containCONFIDENTIAL information protected by law. If this message has been received by error, please notify us via e-mail or by telephone +351 218440100 and delete it immediately.

Quoted 5 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

#2 lore raw

Thanks for you reply

-----Original Message-----
From: Eric Sandeen [mailto:[email protected]]
Sent: 10 de junho de 2014 20:31
To: Duarte Franco; [email protected]
Subject: Re: XFS data lost recover

Quoted 4 lines · Duarte Franco

Hi

Quoted 8 lines

I have a Linux RHEL 5.3 server with a XFS partition over lvm on an infortrend Fc storage.

Recently we have a system failure that corrupt the XFS partition. After a xfs_restore the partition was recovered but the lost+found directory contain about 5.5TB of inode files. (almost the total size 7TB)

presumably you mean xfs_repair?

lost+found/ is populated with files for which name data has been lost. There is no great way to recover the names; if there were, xfs_repair would do it.

Yes it was a xfs_repair.

Quoted 9 lines

After that the partitions were used to write a few more data, without any problem.

I would like to ask if there is any way to recover the files in lost+found directory? Do you have any service to recover these files?

The files themselves are not lost, but they have lost their names.

Depending on the data you have in the files, perhaps they are still recognizable, and could be renamed back to their original locations via script?

The files are essentially http pages but are thousands of them! Is there any way to restore the name of the files or is only by their content?

Regards
Duarte

-Eric

Quoted 22 lines

If possible I would prefer to be contacted by email.

Best Regards

Duarte Franco

*AIA*– Area Infra-estruturas Aplicacionais

_________________________________________________

FCT, FCCN

Av. do Brasil, 101 Apartado 50435 1708-001 Lisboa

Telf. 300 005 257 Fax 351 21 8472167

Quoted 7 lines

http://www.fccn.pt/ <blocked::http://www.fccn.pt/>

*Aviso de Confidencialidade*

Esta mensagem é exclusivamente destinada ao seu destinatário, podendo

conter informação CONFIDENCIAL, cuja divulgação está expressamente vedada nos termos da lei. Caso tenha recepcionado indevidamente esta mensagem, solicitamos-lhe que nos comunique esse mesmo facto por esta via ou para o telefone +351 218440100 devendo apagar o seu conteúdo de imediato.

Quoted 2 lines

This message is intended exclusively for its addressee. It may

containCONFIDENTIAL information protected by law. If this message has been received by error, please notify us via e-mail or by telephone +351 218440100 and delete it immediately.

Quoted 10 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

#3 lore raw

Le Wed, 11 Jun 2014 15:20:32 +0100
"Duarte Franco" <[email protected]> écrivait:

Quoted 4 lines

The files are essentially http pages but are thousands of them! Is there any way to restore the name of the files or is only by their content?

There is no way unfortunately. I've made a perl script that creates a database of file with their names and inodes to cover precisely this problem, but you would need to have run it once beforeend to index the filesystem...

You should try to run the latest xfs_repair first however; you probably used a very old version. In a similar case a newer xfs_repair was able to find many files that the previous release couldn't reattach properly to the filesystem tree.

Signature · 11 lines
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<[email protected]>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

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