linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Goerzen <jgoerzen@complete.org>
To: linux-btrfs@vger.kernel.org
Subject: Re: umount waiting for 12 hours and still running
Date: Tue, 5 Nov 2013 16:11:56 +0000 (UTC)	[thread overview]
Message-ID: <loom.20131105T170351-783@post.gmane.org> (raw)
In-Reply-To: pan$70ff2$6c271d88$3a2794d1$837be634@cox.net

Duncan <1i5t5.duncan <at> cox.net> writes:

> 
> John Goerzen posted on Tue, 05 Nov 2013 07:42:02 -0600 as excerpted:
> 
> > The filesystem in question involves two 2TB USB hard drives.  It is 49%
> > full.  Data is RAID0, metadata is RAID1.  The files stored on it are for
> > BackupPC, meaning there are many, many directories and hardlinks.  I
> > would estimate 30 million inodes in use and many of them have dozens of
> > hardlinks to them.
> 
> That's a bit of a problem for btrfs at this point, as you rightly mention.

Hi Duncan,

Thank you very much for taking the time to reply.

Can you clarify a bit about what sort of problems I might expect to
encounter with this sort of setup on btrfs?

> 
> > I thought perhaps converting metadata to raid0 would help.  So I
> > started a btrfs balance start -mconver=raid0 on it.
> 
> > Kernel 3.10 from Debian wheezy backports on i386.
> 
> There's a known bug with balance on current kernels related to pre-
> allocated space (as with the systemd journal or torrent files with some 
> clients).

[snip ]

> http://permalink.gmane.org/gmane.comp.file-systems.btrfs/287

I'm almost completely sure that this bug wasn't being hit.  The files were
streamed back by restore(8), and a few written by BackupPC.  I checked the
source to both just to make sure, and neither have a call to fallocate.  I
do not believe there were sparse files on the disk either.   I also haven't
experienced the csum errors mentioned in the post.   

Thanks again,

-- John



  reply	other threads:[~2013-11-05 16:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 13:42 umount waiting for 12 hours and still running John Goerzen
2013-11-05 14:20 ` Duncan
2013-11-05 16:11   ` John Goerzen [this message]
2013-11-05 18:21     ` Duncan
  -- strict thread matches above, loose matches on Subject: below --
2013-11-05 18:46 Tomasz Chmielewski
2013-11-05 18:53 ` John Goerzen

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=loom.20131105T170351-783@post.gmane.org \
    --to=jgoerzen@complete.org \
    --cc=linux-btrfs@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).