Change the HD Block Size

Hi,

Does anyone have a guide/instructions to change the Block Size on a Linux disk from 4096 bytes to 1mb or more??

Many thanks

dbhatoaAsked:
Who is Participating?
 
joolsCommented:
this is done at filesystem creation time, the options used depend on what file system you are using.

0
 
dbhatoaAuthor Commented:
Yes but can you change this after??
0
 
joolsCommented:
honestly, I don't know, I would guess not.

I'm not sure I'd want to try having most of my data written in one block size then all of a sudden it changes to another block size.

If I needed to change the block size I'd backup, recreate the filesystem then restore.
0
 
stephenhoekstraCommented:
you going to need to backup, mkfs, restore.  can't change the block size without recreating the partition as far as i know.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.