[Top] [All Lists]

Re: how to flush an XFS filesystem

To: linux xfs mailing list <linux-xfs@xxxxxxxxxxx>
Subject: Re: how to flush an XFS filesystem
From: martin f krafft <madduck@xxxxxxxxxxx>
Date: Wed, 13 Jul 2005 16:40:34 +0300
In-reply-to: <20050713020524.GE980@frodo> <20050713014028.GC980@frodo>
Mail-followup-to: linux xfs mailing list <linux-xfs@xxxxxxxxxxx>
References: <20050713014028.GC980@frodo> <20050713020524.GE980@frodo> <20050709091145.GA13108@xxxxxxxxxxxxxxxxxx> <20050710141254.A2904172@xxxxxxxxxxxxxxxxxxxxxxxx> <20050710084345.GA11413@xxxxxxxxxxxxxxxxxxxxx> <20050711081613.A2828633@xxxxxxxxxxxxxxxxxxxxxxxx> <20050710224635.GA12333@xxxxxxxxxxxxxxxxxxxxx> <20050711014827.GB829@frodo> <20050711072807.GA16354@xxxxxxxxxxxxxxxxxxxxx> <20050713014028.GC980@frodo>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.9i
> [root@bruce fsgqa]# mount -o rw,rtdev=/dev/sdc1,logdev=/dev/sda11,uquota 
> /dev/sdb5 /mnt/xfs0


> [root@bruce fsgqa]# xfs_db -x /dev/sdb5

Both of these are different from the way grub accesses it. In order
for me to reproduce the problem, I had to get access to the
partition before mounting it. It seems as if (a) the file gets
written to extents on the disk, and (b) that the inode is written to
the log, but the log is never flushed such that the metadata never
make it to the filesystem.

Mounting the filesystem on next reboot causes the log to be replayed
and consistency to be restored. I assume xfs_db does the same.

Grub, on the other hand, tries to get the file, but it does not
exist in the directory (and grub cannot replay the log), so it fails
to find it.

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: madduck.bogus@xxxxxxxxxxx
"doesn't he know who i think i am?"
                                                     -- phil collins

Attachment: signature.asc
Description: Digital signature

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