p34:~# xfs_db -V
xfs_db version 2.6.20
p34:~# xfs_fsr -V
xfs_fsr version 2.2.30
p34:~#
p34:~# uname -a
Linux p34 2.6.13 #7 SMP Sat Sep 3 08:08:01 EDT 2005 i686 GNU/Linux
N 3 root 6:23pm (476) Warning: /dev/hdk1 is 12% fragmented.
p34:~# xfs_db -c frag -r /dev/hdk1
p34:~# xfs_fsr /dev/hdk1
..
Then I check the fragmentation manually.
p34:~# xfs_db -c frag -r /dev/hdk1
xfs_db: /dev/hdk1 is invalid (cannot read first 512 bytes)
p34:~# umount /d3
p34:~# mount /d3
mount: /dev/hdk1: can't read superblock
p34:~#
??
p34:~# fdisk /dev/hdk
The number of cylinders for this disk is set to 30515.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hdk: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdk1 1 30515 245111706 83 Linux
Command (m for help): q
p34:~#
How do I get back the data? What happened? XFS bug?
I have been running xfs_fsr for a 4-5 days now and it has been working
great across different machines, however, I may have just lost 230GB of
data, can anyone help?
Thanks.
|