public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs_irecover question
@ 2016-06-24 18:10 Chang, Brady
  2016-06-27  9:46 ` Carlos Maiolino
  0 siblings, 1 reply; 2+ messages in thread
From: Chang, Brady @ 2016-06-24 18:10 UTC (permalink / raw)
  To: xfs@oss.sgi.com


[-- Attachment #1.1: Type: text/plain, Size: 306 bytes --]

Hi,
Is there a way to find fullpath to the  file generated by  xfs_irecover ?

For example:
[root@sdw2 recover]# ls -l 532946
-rw------- 1 root root 33461216 Jun 23 21:07 532946
[root@sdw2 recover]# file 532946
532946: SGI XFS filesystem data (blksz 4096, inosz 256, v2 dirs)

Thanks
-Brady



[-- Attachment #1.2: Type: text/html, Size: 777 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xfs_irecover question
  2016-06-24 18:10 xfs_irecover question Chang, Brady
@ 2016-06-27  9:46 ` Carlos Maiolino
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos Maiolino @ 2016-06-27  9:46 UTC (permalink / raw)
  To: Chang, Brady; +Cc: xfs@oss.sgi.com

On Fri, Jun 24, 2016 at 06:10:38PM +0000, Chang, Brady wrote:
>    Hi,
> 
>    Is there a way to find fullpath to the  file generated by  xfs_irecover
>    ?

I'm not a user of xfs_irecover, but, giving how inodes are deleted, I doubt you
will be able to recover the fullpath in some way. While we don't delete inodes
from the lists and make them usable for future files, this is not the same for
directory entries. The directory entry is removed from the directory, and there
is nothing that can link the inode to its directory entry (or entries) after the
file is deleted. Somebody with more expertise on it might give a final POV, but
I doubt you would be able to recover the directory entries pointing to the
inode, once the file is deleted.


> 
>    For example:
>    [root@sdw2 recover]# ls -l 532946
>    -rw------- 1 root root 33461216 Jun 23 21:07 532946
>    [root@sdw2 recover]# file 532946
>    532946: SGI XFS filesystem data (blksz 4096, inosz 256, v2 dirs)
> 
>    Thanks
> 
>    -Brady

> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs


-- 
Carlos

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-27  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-24 18:10 xfs_irecover question Chang, Brady
2016-06-27  9:46 ` Carlos Maiolino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox