From: Dave Chinner <david@fromorbit.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: xfs@oss.sgi.com
Subject: Re: Alignment size?
Date: Tue, 17 Aug 2010 10:31:16 +1000 [thread overview]
Message-ID: <20100817003116.GM10429@dastard> (raw)
In-Reply-To: <4C69D554.4010407@msgid.tls.msk.ru>
On Tue, Aug 17, 2010 at 04:18:28AM +0400, Michael Tokarev wrote:
> 13.08.2010 15:39, Dave Chinner wrote:
> > On Fri, Aug 13, 2010 at 10:24:46AM +0400, Michael Tokarev wrote:
> []
> >> And a related question, -- is there a way to create
> >> xfs fs with the right sector size? The filesystem
> >> were ok in years, not only on this machine, and I'm
> >> quite afraid to replace it with something else (e.g.
> >> ext4) in a hurry without good prior testing.
> >
> > # mkfs.xfs -s <size> ....
> >
> > if you want to set it manually. YOu shouldn't need to with any
> > relatively recent mkfs.xfs...
>
> Um. It appears that mkfs.xfs ignores -s size=512 on this
> raid5 array, and silently creates a filesystem with 4096
> sector size, regardless of various -s size=nn and -s log=mm
> options.
>
> This is xfsprogs 3.1.2-1 (debian squeeze package).
>
> So the question stands...
IIRC, the current debian xfsprogs package is still being built with
the old detection library. If you install libblkid and build
xfsprogs yourself, it should use the newer detection code and
behave as expected.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2010-08-17 0:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-12 22:10 Alignment size? Michael Tokarev
2010-08-12 23:49 ` Dave Chinner
2010-08-13 6:24 ` Michael Tokarev
2010-08-13 10:27 ` Stan Hoeppner
2010-08-13 11:00 ` Michael Tokarev
2010-08-13 11:36 ` Roger Willcocks
2010-08-13 11:39 ` Dave Chinner
2010-08-13 15:15 ` Christoph Hellwig
2010-08-17 0:18 ` Michael Tokarev
2010-08-17 0:30 ` Michael Tokarev
2010-08-17 0:31 ` Dave Chinner [this message]
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=20100817003116.GM10429@dastard \
--to=david@fromorbit.com \
--cc=mjt@tls.msk.ru \
--cc=xfs@oss.sgi.com \
/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