* Unable to set chunk size
@ 2012-05-10 14:23 Rajasekhar Pulluru
2012-05-10 15:23 ` Phil Turmel
0 siblings, 1 reply; 2+ messages in thread
From: Rajasekhar Pulluru @ 2012-05-10 14:23 UTC (permalink / raw)
To: linux-raid
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?
Thanks & Regards,
Rajasekhar
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unable to set chunk size
2012-05-10 14:23 Unable to set chunk size Rajasekhar Pulluru
@ 2012-05-10 15:23 ` Phil Turmel
0 siblings, 0 replies; 2+ messages in thread
From: Phil Turmel @ 2012-05-10 15:23 UTC (permalink / raw)
To: Rajasekhar Pulluru; +Cc: linux-raid
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-10 15:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-10 14:23 Unable to set chunk size Rajasekhar Pulluru
2012-05-10 15:23 ` Phil Turmel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).