Database Administration (MOSC)

MOSC Banner

4K sector size

As Doc ID 2422422.1 details it, it is not possible to use 4K sector size with direct IO. What happens if I use lvm2 to hide the hardware sector size and declare it to be 512 bytes? This is what I have in mind:

[root@epp-oracle-pdb-vm azureuser]# fdisk -l /dev/mapper/oracle_u0x-oracle_u0x_lv
Disk /dev/mapper/oracle_u0x-oracle_u0x_lv: 2 TiB, 2147475259392 bytes, 4194287616 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Will there be any problems with direct I/O?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center