xfs
[Top] [All Lists]

Re: mkfs.xfs states log stripe unit is too large

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: mkfs.xfs states log stripe unit is too large
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 23 Jun 2012 21:20:32 -0500
Cc: Ingo Jürgensmann <ij@xxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20120623234445.GZ19223@dastard>
References: <D3F781FA-CEB0-4896-9441-772A9E533354@xxxxxxxxxxxxxxxxxx> <20120623234445.GZ19223@dastard>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
On 6/23/12 6:44 PM, Dave Chinner wrote:
> On Sat, Jun 23, 2012 at 02:50:49PM +0200, Ingo Jürgensmann wrote:
>> muaddib:~# cat /proc/mdstat 
>> Personalities : [raid1] [raid6] [raid5] [raid4] 
>> md7 : active raid5 sdf4[3] sdd4[1] sde4[0]
>>       7811261440 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] 
>> [UUU]
> .....
> 
>> The RAID devices /dev/md0 to /dev/md4 are on my old 3x 1 TB
>> Seagate disks. Anyway, to finally come to the problem, when I try
>> to create a filesystem on the new RAID5 I get the following:  
>>
>> muaddib:~# mkfs.xfs /dev/lv/usr
>> log stripe unit (524288 bytes) is too large (maximum is 256KiB)
>> log stripe unit adjusted to 32KiB

...

> 
>> So, the question is: 
>> - is this a bug somewhere in XFS, LVM or Linux's software RAID
>> implementation?
> 
> Not a bug at all.

Dave, I'd suggest that we should remove the warning though, if XFS picks
the wrong defaults and then overrides itself.

Rule of Silence: When a program has nothing surprising to say, it should say 
nothing.

;)

-Eric

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