xfs
[Top] [All Lists]

Re: Help with XFS

To: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Subject: Re: Help with XFS
From: Thomas Førde <thomas.forde@xxxxxxxxxxxx>
Date: Fri, 18 Jun 2010 13:27:01 +0200
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20100618132108.790921cf@xxxxxxxxxxxxxxxxxxxx>
References: <OF4967B99D.609CC213-ONC1257745.0048E646-C1257745.004919A3@xxxxxxxxxxxx> <20100618132108.790921cf@xxxxxxxxxxxxxxxxxxxx>
both the xfs_check and xfs_Reapir was done from a unmounted system, the system has not been mounted or used since.

its a IBM x3650 with stadnard 2x73GB disk.

[root@strmng04 ~]# cat /etc/issue
CentOS release 4.7 (Final)
Kernel \r on an \m

[root@strmng04 ~]# uname -a
Linux strmng04 2.6.9-78.0.5.ELsmp #1 SMP Wed Oct 8 07:06:30 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux


there is no backup no, as how to backup 8 TB of data,very expensive tape wise.

xfs_irecover ias been mentioned to me, so my fingers are crossed.


Sincerely
-------------------------------------------------------------------
Thomas Førde    IT-Manager
Mobile +47 90 41 41 90   Fax +47 55 31 67 66
thomas.forde@xxxxxxxxxxxx    
www.bergenofs.no
-------------------------------------------------------------------
Bergen Oilfield Services AS
Address: Nedre Aastveit 12    NO-5106 Ovre Ervik
-------------------------------------------------------------------

Please consider the environment before printing




From:        Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
To:        Thomas Førde <thomas.forde@xxxxxxxxxxxx>
Cc:        xfs@xxxxxxxxxxx
Date:        18.06.2010 13:21
Subject:        Re: Help with XFS




Le Thu, 17 Jun 2010 15:18:26 +0200
Thomas Førde <thomas.forde@xxxxxxxxxxxx> écrivait:

> i have run xfs_check without any verbos information given
> i have run xfs_repair without any information errors fixed.

That's unfortunate that you didn't post here before doing irreparable
damage. Any activity to the filesystem may delete permanently data, so
you should stop using it completely until done with the rescue
operations and unmount it.

>
> when i try to mount the XFS filesystem of 10TB, my 7.8 TB of data is
> now gone.
>
> before:         /dev/sdf1            10527858560 8801101708
> 1726756852 84% /D5
> after:          /dev/sdf1            10527858560       528
> 10527858032 1% /D5
>

Some old versions of xfs_repair may fail on big FS. You didn't mention
which version you're using, which distribution and which kernel. The
hardware setup may be important, too.

> help, where did my data go, and how can i get it back.

Apparently xfs_repair deleted it because it was corrupt (alas, happen
sometimes with xfs_repair before 2.8). The best thing to do is to get it
back from backups. I suppose that you have no backup (people don't do
any backup until they lose important data, which always occurs).

If you have no backups, your last hope is to use a tool like photorec
to find your data on the raw device; however it won't reconstruct the
metadata (no names, no folders, no hierarchy, no user rights). BTW you
need some other place to store the newly discovered files with at least
as much space (7.8 TB).

My condolences. I once lost 13TB and see, I'm not dead. You'll get over
it somehow.
--
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                   |   Intellique
                   |                 <eflorac@xxxxxxxxxxxxxx>
                   |   +33 1 78 94 84 02
------------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>