From: Nick <nick@njw.me.uk>
To: reiserfs-devel@vger.kernel.org
Subject: Very slow mounting of unclean partitions
Date: Tue, 18 Dec 2007 14:24:19 +0000 [thread overview]
Message-ID: <20071218142419.GB5073@grace.lan> (raw)
Hi there,
I currently have three partitions formatted ReiserFS of around 2GB,
600MB and 400MB on my 4GB Compact Flash card. The card is pretty
slow to read and write, with hdparm -Tt giving the following output:
Timing cached reads: 372 MB in 2.01 seconds = 185.40 MB/sec
Timing buffered disk reads: 32 MB in 3.07 seconds = 10.42 MB/sec
This however is acceptable for my purposes, and reiserfs plays
nicely most of the time.
However, if the partitions are unmounted uncleanly for any reason,
remounting all three takes upwards of an hour. This is compared to
an ext3 partition I have on the card, which takes about 10 seconds
to go through the journal and mount.
I get output like the folloing from dmesg after the 1 hour+
mounting, for each partition:
ReiserFS: hdd2: found reiserfs format "3.6" with standard journal
ReiserFS: hdd2: using ordered data mode
ReiserFS: hdd2: journal params: device hdd2, size 8192, journal
first block 18, max trans len 1024, max batch 900, max commit age
30, max trans age 30
ReiserFS: hdd2: checking transaction log (hdd2)
ReiserFS: hdd2: replayed 774 transactions in 2318 seconds
ReiserFS: hdd2: Using r5 hash to sort names
ReiserFS: hdd2: Removing [165971 11290 0x0 SD]..done
ReiserFS: hdd2: There were 1 uncompleted unlinks/truncates.
Completed
The relevant fstab entries for the three partitions are (one is
encrypted using LUKS):
/dev/hdd2 /mnt/variable reiserfs
noatime,notail 0 0
/dev/hdd5 /mnt/shared reiserfs
ro,noatime,notail 0 0
/dev/mapper/home /home reiserfs
noatime,notail 0 0
Could anybody point me in the right direction to find how to
ensure it doesn't take so long to remount? I presume going over
the journal shouldn't take this long.
Thanks for any help or pointers you can give me.
Nick
--
GPG Key : www.njw.me.uk/nick.gpg.asc GPG Key ID: 04E4653F
GPG Fingerprint: 9732 D7C7 A441 D79E FDF0 94F6 1F48 5674 04E4 653F
next reply other threads:[~2007-12-18 14:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-18 14:24 Nick [this message]
2007-12-18 15:56 ` Very slow mounting of unclean partitions Jeff Mahoney
-- strict thread matches above, loose matches on Subject: below --
2008-01-05 15:26 reiserfs-devel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071218142419.GB5073@grace.lan \
--to=nick@njw.me.uk \
--cc=reiserfs-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.