xfs
[Top] [All Lists]

Re: Alignment size?

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: Alignment size?
From: Michael Tokarev <mjt@xxxxxxxxxx>
Date: Tue, 17 Aug 2010 04:18:28 +0400
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20100813113915.GD10429@dastard>
Openpgp: id=804465C5
Organization: Telecom Service, JSC
References: <4C64715F.8060000@xxxxxxxxxxxxxxxx> <20100812234911.GC10429@dastard> <4C64E52E.2060806@xxxxxxxxxxxxxxxx> <20100813113915.GD10429@dastard>
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.10) Gecko/20100619 Icedove/3.0.5
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...

Thanks!

/mjt

<Prev in Thread] Current Thread [Next in Thread>