[Top] [All Lists]

Recovering XFS Partition of Type FAT16

To: xfs@xxxxxxxxxxx
Subject: Recovering XFS Partition of Type FAT16
From: Volkan YAZICI <volkan.yazici@xxxxxxxxx>
Date: Mon, 4 Jul 2011 10:23:55 +0000
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=nOZzOZyU1YrY1+J14mL5h4fOFZv22KEV1Tj6bUm8oUg=; b=tme/CJF2ZEorugDtwTUX3NtGxl38e3/frtc9M56GJFGu/D9Q5DUeobq3tK3yLY/m5X NigpULrzs4eWreKtfI+QUGZqO9enK/OLyWjT3CZv1MBBBIccJ/tFpBKxVVUiTL38S5ka 4mHwrQkeEfw4JtLr299QC6uwc3ewHKJZFs3sg=

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 file was
3) Later, I set the type of /dev/sda1 (the only partition in /dev/sda)
to Linux, re-run xfs_recover, but nothing changed: Same fs size (20GB)
and same missing files.

I open the system with Knoppix, and below are the partition
diagnostics. I need urgent help to recover the files. I will be
really, really appreciated for any help! (If you need further
information, just drop me a mail.)


# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x447c435f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       38913   312568641   83  Linux

# mount | grep /dev/sda1
/dev/sda1 on /media/sda1 type xfs (rw,relatime,attr2,noquota)

# df -h | grep /dev/sda1
/dev/sda1              19G  4,2G   15G  23% /media/sda1

# xfs_info /mnt/sda1
meta-data=/dev/sda1              isize=256    agcount=4, agsize=1226963 blks
         =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=4907849, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

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