Page 1 of 1

Re: Recovery software for XFS filesystem

Posted: 30.01.09, 12:06
by manel
When XFS filesystem is damaged nowadays the only way to recover files is in raw mode. I mean, not possible to get the logical structure again. Also if files are removed with folders happend the same.

Re: Recovery software for XFS filesystem

Posted: 30.01.09, 12:25
by AJ2008
manel wrote:When XFS filesystem is damaged nowadays the only way to recover files is in raw mode. I mean, not possible to get the logical structure again. Also if files are removed with folders happend the same.


This is because the filesystem is journalled. It is possible to access XFS systems with UFS explorer, but only rarely will you manage to retrieve structured data when FS is damaged unfortunately.

Re: Recovery software for XFS filesystem

Posted: 30.01.09, 13:05
by manel
AJ2008 wrote:
manel wrote:When XFS filesystem is damaged nowadays the only way to recover files is in raw mode. I mean, not possible to get the logical structure again. Also if files are removed with folders happend the same.


This is because the filesystem is journalled. It is possible to access XFS systems with UFS explorer, but only rarely will you manage to retrieve structured data when FS is damaged unfortunately.


Exactly, this is I wanted to say :D . You can access data but not with logical structure. UFS explorer and others, recover files and put on different folders with this parameters:

JPG Recovered Files
Avi Recovered Files
Mpg Recovered Files
Txt Recovered Files

etc.

And all files found are put on this folders with out any logical. So If you've for example 3 or 4 users on same hdd with "critial" photos it's a good idea to call client first... :mrgreen:

Re: Recovery software for XFS filesystem

Posted: 04.02.09, 14:17
by Emil
Coping files from a XFS file system can be done easily with a linux machine (suse or other):

mount -t xfs -o ro,norecovery /dev/[h,s]d? /mount

if your file system is not damaged you will see the data and can copy it.

If your file system is damaged use xfs_check and xfs_recover. More info in the man pages.

Emil

Re: Recovery software for XFS filesystem

Posted: 04.02.09, 14:44
by manel
Emil wrote:Coping files from a XFS file system can be done easily with a linux machine (suse or other):

mount -t xfs -o ro,norecovery /dev/[h,s]d? /mount

if your file system is not damaged you will see the data and can copy it.

If your file system is damaged use xfs_check and xfs_recover. More info in the man pages.

Emil


xfs_check or xfs_recover it's agresive like scandisk from windows? I mean if something is wrong it try to repair or convert to a file like CHK (from windows). I say this because if something is deleted and it starts to repair doing files like windows... perhaps will destroy some data.

Re: Recovery software for XFS filesystem

Posted: 04.02.09, 15:15
by Emil
manel wrote:
Emil wrote:Coping files from a XFS file system can be done easily with a linux machine (suse or other):

mount -t xfs -o ro,norecovery /dev/[h,s]d? /mount

if your file system is not damaged you will see the data and can copy it.

If your file system is damaged use xfs_check and xfs_recover. More info in the man pages.

Emil


xfs_check or xfs_recover it's agresive like scandisk from windows? I mean if something is wrong it try to repair or convert to a file like CHK (from windows). I say this because if something is deleted and it starts to repair doing files like windows... perhaps will destroy some data.


It goes without saying that you do this on a mirror copy of the original drive (with Data Extractor) - actually the right way to do it is to make a mirror disk and then a mirror of the mirror. If your file system is not severely damaged chances are high you will get pretty decent result - much better than a raw recovery.

Re: Recovery software for XFS filesystem

Posted: 05.02.09, 08:56
by manel
Emil wrote:
manel wrote:
Emil wrote:Coping files from a XFS file system can be done easily with a linux machine (suse or other):

mount -t xfs -o ro,norecovery /dev/[h,s]d? /mount

if your file system is not damaged you will see the data and can copy it.

If your file system is damaged use xfs_check and xfs_recover. More info in the man pages.

Emil


xfs_check or xfs_recover it's agresive like scandisk from windows? I mean if something is wrong it try to repair or convert to a file like CHK (from windows). I say this because if something is deleted and it starts to repair doing files like windows... perhaps will destroy some data.


It goes without saying that you do this on a mirror copy of the original drive (with Data Extractor) - actually the right way to do it is to make a mirror disk and then a mirror of the mirror. If your file system is not severely damaged chances are high you will get pretty decent result - much better than a raw recovery.


I know that this MUST BE DONE on a mirror from the original :mrgreen: , but I was asking for the method that xfS_check or xfs_recover do. Anyway if chances to recovery are pretty decent instead of raw recovery I'll try this afternoon and post coments tomorrow.

Thx in advance.