Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 607
  • Last Modified:

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

0
dbhatoa
Asked:
dbhatoa
  • 2
3 Solutions
 
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now