On Wed, Jul 13, 2005 at 11:40:28AM +1000, Nathan Scott wrote:
> I don't seem to be able to reproduce this - does the following
> recipe fail for you on your machine? Maybe your kernels a bit
> out of date? (what version was that again?)
> ..
Here's another recipe - this time without any possibility for
a log recovery happening before the read...
# echo writemetoo > /mnt/xfs0/foo2 && ls -li /mnt/xfs0/foo2 && xfs_freeze -f
/mnt/xfs0 && xfs_freeze -u /mnt/xfs0 && reboot -f
133 -rw-r--r-- 1 root root 11 Jul 13 11:40 /mnt/xfs0/foo2
ead from remote host bruce: Connection reset by peer
Connection to bruce closed.
[root@bruce fsgqa]# xfs_db -x /dev/sdb5
xfs_db> inode 133
xfs_db> p
core.magic = 0x494e
core.mode = 0100644
...
core.gen = 0
next_unlinked = null
u.bmx[0] = [startoff,startblock,blockcount,extentflag] 0:[0,16,1,0]
xfs_db> addr u.bmx[0].startblock
xfs_db> type text
xfs_db> p
000: 77 72 69 74 65 6d 65 74 6f 6f 0a 00 00 00 00 00 writemetoo......
010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
So, its definately all there on disk after a freeze...
cheers.
--
Nathan
|