O_Direct Error - Write through / Write back

Discussion in 'Proxmox VE: Installation and configuration' started by Ma907xb, May 19, 2019.

  1. Ma907xb

    Ma907xb New Member

    Joined:
    Dec 26, 2018
    Messages:
    25
    Likes Received:
    0
    Hello,

    I've gotten the O_DIRECT error when starting VMs. I have (1) SSD at 232gb and (1) 1tb disk drive. I configured as RAID 0 just to get things going as I will be changing my configuration in the future.

    I read in the documentation to enable write back to stop the O_DIRECT error. This solves the problem, but when write through is enabled it also stops the error

    What is the difference between write through and write back?


    [​IMG]
     
  2. lhorace

    lhorace Member

    Joined:
    Oct 17, 2015
    Messages:
    142
    Likes Received:
    14
    Hello there,

    It's techniques to improve write speed on slow spin disks, which deals with write pages, different techniques changes performance You can click in Help at the bottom left.

    Cheers
     
  3. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Joined:
    Feb 1, 2016
    Messages:
    3,617
    Likes Received:
    328
    i guess you use a directory storage on top of zfs? if yes, please don't, use zfs directly via a 'zfs storage'
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. LnxBil

    LnxBil Well-Known Member

    Joined:
    Feb 21, 2015
    Messages:
    3,798
    Likes Received:
    346
    or live with the consequences.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice