Error when writing block size less than 4K to VDO volumes

Solution Unverified - Updated -

Issue

  • Error when writing to VDO volumes
  • What block sizes does VDO support?
  • Write error when writing to VDO volume
  • Error creating Oracle database or files
  • Example errors:

    • Using the dd utility:
    # dd if=/dev/urandom of=/dev/mapper/vdo1 bs=4096 count=12 oflag=direct
    12+0 records in
    12+0 records out
    49152 bytes (49 kB) copied, 0.0174504 s, 2.8 MB/s
    
    # dd if=/dev/urandom of=/dev/mapper/vdo1 bs=512 count=12 oflag=direct
    dd: error writing ‘/dev/mapper/vdo1’: Invalid argument
    1+0 records in
    0+0 records out
    0 bytes (0 B) copied, 0.000499272 s, 0.0 kB/s
    
    • Using the sanlock utility:
    [ ERROR ] Failed to execute stage 'Misc configuration': Cannot acquire host id: (u'9bbc8b4d-2288-403c-80df-3405d8671b2c', SanlockException(22, 'Sanlock lockspace add failure', 'Invalid argument'))
    
    • Using the vioperf utility:
    # vioperf --duration=60s
    Using direct io (buffer size=1048576, alignment=512) for directory "/VDO"
    Error creating aligned memory
    

Environment

  • Red Hat Enterprise Linux 7.5+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content