Sign in to follow this  
OzTechGeek

How-To Verify Advanced LUN Allocation Unit Size

Recommended Posts

Does anyone know how to verify via SSH that the correct value for "Advanced LUN allocation unit size" has been set on a volume?

 

I have created 2 volumes on a test ESXi XPEnology install, both volumes are 64GB, I have set one volume to "4KB (Optimized for Windows ODX)" and the other to "8KB (Optimized for VMware VAAI)", but for some reason I cannot find a command line to verify that these settings have been applied, I have tried the following commands so far:

 

blockdev --getbsz /dev/sdX

blockdev --getss /dev/sdX

cat /sys/block/sdX/queue/physical_block_size

cat /sys/block/sdX/queue/logical_block_size

cat /sys/block/sdX/queue/minimum_io_size

cat /sys/block/sdX/queue/optimal_io_size

cat /sys/block/sdX/alignment_offset

 

I have tried the above commands on sda, sdb, md0, md1, md2 and md3. All commands provide the same numbers or am I missing something obvious.

 

Thanks

Share this post


Link to post
Share on other sites
Sign in to follow this