linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roman Mamedov <rm@romanrm.ru>
To: Andreas Dilger <adilger@dilger.ca>
Cc: linux-ext4@vger.kernel.org, linux-raid@vger.kernel.org
Subject: Re: tune2fs can't be used on a mounted ext4, or...?
Date: Sun, 10 Apr 2011 03:50:05 +0600	[thread overview]
Message-ID: <20110410035005.64f565e3@natsu> (raw)
In-Reply-To: <14B9D41F-4D38-4F01-97E9-17E86DA578FC@dilger.ca>

[-- Attachment #1: Type: text/plain, Size: 1675 bytes --]

On Sat, 9 Apr 2011 15:30:42 -0600
Andreas Dilger <adilger@dilger.ca> wrote:

> The online resize shouldn't take more than a few minutes, unless the disk is
> crazy busy and you are going from 16GB to 16TB or something.

I was resizing from 4 TB to 6 TB, and during the time (okay, maybe it was just
an hour) I saw disk free space slowly increase at about 1 GB per couple of
seconds. RAID6 also was in a degraded state (one disk missing), so maybe
that's why it was slower than it should usually be.

> > Then I started copying files from another array to the one on which the
> > above operations were conducted. I did:
> > 
> >  cp -Rp /mnt/array1/data/* /mnt/array2/new-data/
> 
> What kernel version do you have, and what version of coreutils?  Is this
> perhaps a bleeding-edge kernel/coreutils with the "FIEMAP" bug?

Kernel version 2.6.38.2, cp (GNU coreutils) 8.5.

Also, what I didn't mention in my previous post, is that during that session I
also had one E-Mail message which was just received by the mail client (not
copied from another disk via cp or otherwise) truncate too. The mail client is
claws-mail and it stores individual messages on disk as regular files, a file
per message, and that one file was 0 bytes in size. At first I didn't think it
was related, but it looks like all disk access is/was affected, not just
cp/coreutils.

> Were the source files that had problems recently written themselves in this
> case?

Recently, as in "while on 2.6.38x kernels", or "in the past N minutes"?
Latter - definitely not (except for that one E-Mail mentioned above), former -
maybe, but unlikely.

-- 
With respect,
Roman

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-04-09 21:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-09 18:39 tune2fs can't be used on a mounted ext4, or...? Roman Mamedov
2011-04-09 21:30 ` Andreas Dilger
2011-04-09 21:50   ` Roman Mamedov [this message]
2011-04-11 13:10     ` Ted Ts'o
2011-04-11 18:55       ` Roman Mamedov

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=20110410035005.64f565e3@natsu \
    --to=rm@romanrm.ru \
    --cc=adilger@dilger.ca \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-raid@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).