| To: | linux xfs mailing list <linux-xfs@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: how to flush an XFS filesystem |
| From: | Nathan Scott <nathans@xxxxxxx> |
| Date: | Thu, 14 Jul 2005 06:49:36 +1000 |
| In-reply-to: | <20050713134034.GA6743@localhost.localdomain>; from madduck@madduck.net on Wed, Jul 13, 2005 at 04:40:34PM +0300 |
| References: | <20050709091145.GA13108@cirrus.madduck.net> <20050710141254.A2904172@wobbly.melbourne.sgi.com> <20050710084345.GA11413@localhost.localdomain> <20050711081613.A2828633@wobbly.melbourne.sgi.com> <20050710224635.GA12333@localhost.localdomain> <20050711014827.GB829@frodo> <20050711072807.GA16354@localhost.localdomain> <20050713014028.GC980@frodo> <20050713020524.GE980@frodo> <20050713134034.GA6743@localhost.localdomain> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
On Wed, Jul 13, 2005 at 04:40:34PM +0300, martin f krafft wrote: > > [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. The second case (xfs_db, above) is doing exactly that. > 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. It doesn't seem like that to me. > Mounting the filesystem on next reboot causes the log to be replayed > and consistency to be restored. I assume xfs_db does the same. No, it doesn't. Log replay only happens during mount. > 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. xfs_db would have the same problem, but doesn't... cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: XFS corruption on move from xscale to i686, Yura Pakhuchiy |
|---|---|
| Next by Date: | Re: RT and XFS, Nathan Scott |
| Previous by Thread: | Re: how to flush an XFS filesystem, martin f krafft |
| Next by Thread: | Re: how to flush an XFS filesystem, martin f krafft |
| Indexes: | [Date] [Thread] [Top] [All Lists] |