* buffers not flushed when remounting read-only?
@ 2005-01-24 21:25 Derrell.Lipman
0 siblings, 0 replies; only message in thread
From: Derrell.Lipman @ 2005-01-24 21:25 UTC (permalink / raw)
To: reiserfs-list
Hello. I'm using reiserfs 3.6.19 and seem to be finding that the following
mount() call does not flush all buffers to disk. I'm wondering if it is
expected that this should flush all in-memory buffers to disk:
mount(device, path, "reiserfs",
MS_MC_VAL | MS_NOATIME | MS_REMOUNT | MS_RDONLY, NULL)
The device was previously mounted for writing, much was written to it, and I do
this mount() command in preparation for writing the device the file system is
mounted on, to a DVD. Once written to DVD, very occasionally, the DVD image
has a bad file system, as detected by either "reiserfsck --check" or an attempt
to mount it (which can hang with WCHAN = "wait_on_buffer").
I'm using Linux 2.4.27, Debian Sarge
Should remounting a file system as read-only flush all in-cache buffers to
disk? Should I be able to copy the partition (/dev/hdaXX) in its entirety
following this remount, and have a clean file system in the copy?
Thanks,
Derrell
ps. I'm not subscribed to the list. Please including me in any replies.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-24 21:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-24 21:25 buffers not flushed when remounting read-only? Derrell.Lipman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.