• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 799
  • Last Modified:

storage block size question

I have a question,  if we set block size to  128 kb  in storage and if we want to change it to different size, would it cause any problem ? Also, any performance issue?
0
mokkan
Asked:
mokkan
  • 8
  • 8
  • 2
  • +2
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
where are you making this change in the VM?

on the datastore?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
any block size change in the future, requires reformatting, and changing the block size.
0
 
mokkanAuthor Commented:
In the storage ( we are running EMC),  I'm talking  genrally it doesn't need to be a VM or physical host.  There will be any corruption or anything ? Or just performance will go down?
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
mokkanAuthor Commented:
What are the things happen when you change the block size
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Block size is normally matched to your OS and VMs.

If you select the incorrect block size performance will suffer.

To change the block size, will require reformatting the entire LUN.
0
 
mokkanAuthor Commented:
ah ok, would be loose data?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
when running on incorrect block size unlikely, but performance may suffer.

converting to another block size, yes you would lose data!
0
 
mokkanAuthor Commented:
Thank you,  you are talking about the block size which is written into the cache before it commit into the drive right?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
yes
0
 
andyalderSaggar makers bottom knockerCommented:
I think mokkan is asking about the stripe element size of the storage box.
0
 
EvertGCommented:
Contact the vendor for the exact details for the best performance.  As every storage box has different settings in use for optimal performance.
And remember that from vsphere 5 there is a standard uniform blocksize of 1MB. Based on that it can be interesting to work to this setting combined with the storage settings.

Good luck
0
 
mokkanAuthor Commented:
Thank you guys, just to confirm before I play with block size. Would I loose data, if I change the block size ?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Block sizes are usually selected at creation.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you are going to experiment with block size changes ensure you have full backups before you proceed.
0
 
mokkanAuthor Commented:
Why I'm asking is that we run storwize 7000 servers and if we want to bring external storage and if it has different block size,  how do I handle it it?  Can we setup block size for each raid? or is it system wise setup?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
strip sizes can be changed per RAID array
0
 
mokkanAuthor Commented:
strip size and block size are same or different?
0
 
Duncan MeyersCommented:
If you want to change block size, you can use LUN migration on your EMC array to move the affected LUNs.

Here's how you could do it:
Create a new LUN with the block size you want. It has to be the same size or bigger than the existing LUN.
Right click on the LUN you want to move, select Migrate.... A wizard pops up. Work your way through the wizrad - select the new LUN with the new block size. When you click Finish, the array will move the LUN with zero downtime and completely transparently to the attached hosts.

Easy! The only caveat is that you need to have enough spare space on your array to move stuff around.
0
 
mokkanAuthor Commented:
thanks a lot.  Can you clear the concept of block  size and raid strip size?  What is the difference between strip size and block size?
0
 
Duncan MeyersCommented:
On an EMC array, block size is what's written
To each disk. Stripe size is what's written to the raid group (only true for stripes raid of course), so stripe size for a 5 disk raid 5 group with a block size of 64k = 64k x 4 = 128k. Note that you don't count the parity drive when calculating stripe size.

As a very good rule, don't muck about with block
Sizes on a CLARiiON or VNX array unless:
A) you know *exactly* what you're doing as you will affect a number of optimisations the array uses to improve performance
B) you have measured the stripes being written to the array. You can use Navisphere/Unisphere Analyzer to get this information.

Re good thing of course is that you can move workloads around really easily on the array so you can experiment. I strongly recommend getting the EMC reference architectures from Powerlink before you go to much farther as a lot if this sort o performance testin and optimisations already been tried by EMC engineers.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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