XFS data recovery

Amit Joshi mckagan at gmail.com
Thu Nov 20 11:26:21 UTC 2008

On Wed, Nov 12, 2008 at 3:22 PM, Tony Yarusso <tonyyarusso at gmail.com> wrote:

> So, a friend of mine did an accidental rm on ALL of /var on a system.
> We're wondering what our options are for getting that data back.  He
> ctrl-Cd the deletion partway through when he realized what happened,
> and shut off the system.  /var was its own partition, formatted as XFS
> on top of LVM2 spanning two drives.  Each drive is 250GB, for 500GB
> total system capacity.  /var was half of that, 250GB (but using both
> drives via LVM).  Only about 500MB was used space.  Ideas?

Have you installed xfsprogs?
There might be a very small chance of recovering your data (Even though you
have deleted it, using rm). I think that on Linux file-systems, data is only
overwritten (that sector of the hard disk is not zeroed until you expressly
do it). Please look for a recovery process (search google) using xfsprogs.
Might work. (You would care about this only if you don't have a backup --
cuz if you have one, you have an easier and a faster option).
Amit Joshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081120/3385bb85/attachment.html>

More information about the ubuntu-users mailing list