Re: mdadm raid6->LVM->ext4 setup

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

 



On 10-11-16 23:17, Luca Berra wrote:
On Tue, Nov 16, 2010 at 08:08:44PM +0200, Zoltan Szecsei wrote:

*** Commands used:
mdadm --create /dev/md0 --metadata=1.2 --auto=md --assume-clean
--bitmap=internal --bitmap-chunk=131072 --chunk=512 --level=6
--raid-devices=8 /dev/sd[abcdefgh]
mdadm --detail --scan >> /etc/mdadm.conf
mdadm --assemble /dev/md0
as i said this is not useful
pvcreate --metadatasize 512 /dev/md0
you should use --dataalignment, not --metadatasize, also you should

Also with reference to metadatasize - keep in mind the value is rounded up to the /next/ 64k boundary (or it was a while ago, perhaps it's changed now). So in your case, 512 would really result with 576.

With reference to --dataalignment - there's also --dataalignoffset option (although not really important in your setup).

You might consider adjusting /sys/block/<yourmddevice>/md/stripe_cache_size to higher values when you have everything set. It tends to give quite a performance boost.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux