Re: How to format RAID1 correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/23/2014 09:11 PM, Helmut Tessarek wrote:
> On 23.09.14 22:07 , Eric Sandeen wrote:
>> but!  your raid doesn't have a 64k stripe, so that doesn't apply.
> 
> Yep, that's true, but see below.
> 
>> no geometry because md0 raid1 doesn't export any stripe geometry.
> 
> [root@atvie01s ~]# cat /proc/mdstat
> Personalities : [raid1]
> md0 : active raid1 sdb1[0] sdd1[1]
>       3906784064 blocks super 1.2 [2/2] [UU]
>       bitmap: 0/30 pages [0KB], 65536KB chunk
> 
> So for some reason it shows a 64k chunk size even for RAID1.
> 
> That was what got me confused.


It confuses many people who are new to md RAID1.  The above is the
*bitmap* chunk size, not the array chunk size.  There is no array chunk
size for RAID1 as there is no striping.  You must have striping to have
chunks.  With md RAID1 every 4KB page write is simply mirrored to each
physical disk.

Cheers,
Stan

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux