- To: Rajasekhar Pulluru <pullururajasekhar@xxxxxxxxx>
- Subject: Re: Unable to set chunk size
- From: Phil Turmel <philip@xxxxxxxxxx>
- Date: Thu, 10 May 2012 11:23:10 -0400
- Cc: linux-raid@xxxxxxxxxxxxxxx
- In-reply-to: <CAGA5_H5c4+9s9OSyQaAxbekfTBDqAsR=y2GJRtO0AdChJTrZNQ@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120312 Thunderbird/11.0
On 05/10/2012 10:23 AM, Rajasekhar Pulluru wrote:
> Hi All,
>
> I am unable to set chunk size for a raid5 device.
> # cat /sys/block/md0/md/chunk_size
> 1048576
> # echo 4194304 > /sys/block/md0/md/chunk_size
> # cat /sys/block/md0/md/chunk_size
> 1048576
>
> What could be the problem?
That sysfs parameter is read-only. You set the chunk size when you
create the array, or use "mdadm --grow" to reshape it.
HTH,
Phil
--
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
[ATA RAID]
[Linux SCSI Target Infrastructure]
[Managing RAID on Linux]
[Linux IDE]
[Linux SCSI]
[Linux Hams]
[Device-Mapper]
[Kernel]
[Linux Books]
[Linux Admin]
[Linux Net]
[GFS]
[RPM]
[git]
[Photos]
[Yosemite Photos]
[Yosemite News]
[AMD 64]
[Linux Networking]