On Mon, Jul 04, 2011 at 10:54:34AM +0300, yazicivo wrote: > Hi, > > I have an XFS partition, which is > > 1) Mistakenly quick formatted as FAT16. 2) At first, I couldn't see > in "fdisk -l" that it is set to FAT16, instead of Linux. Hence tried > to fix it with xfs_recover. xfs_recover returned 0, and mount > operation succeeded; but mounted fs size appeared as 20GB (despite it > is 350GB) and almost every the file is missing. 3) Later set the type > of /dev/sda1 (the only partition in /dev/sda) to Linux, re-run > xfs_recover, but nothing changed. > > I open the system with Knoppix, and below are the details of the > current status. I need urgent help to recover the files. I will be > really, really appreciated for any help!
Axel Freyn's suggestion seems good one. Just keep them never written over and save data. When I checked disk recovery tool, I found testdisk package seems very popular and supports XFS. http://packages.debian.org/sid/testdisk See my list of recovery Debian tools: http://www.debian.org/doc/manuals/debian-reference/ch10.en.html#_data_file_recovery_and_forensic_analysis Also, around that section, I have some basic tricks described :-) Good luck, Osamu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110705134920.ga7...@debian.org