mkfs.xfs states log stripe unit is too large
Eric Sandeen
sandeen at sandeen.net
Sat Jun 23 21:20:32 CDT 2012
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
More information about the xfs
mailing list