just last info. When we say that option sync=disable is dangerous because of possibility of data loss if kernel panic or power loss, is it meant on freenas side or on client side?
just last info. When we say that option sync=disable is dangerous because of possibility of data loss if kernel panic or power loss, is it meant on freenas side or on client side?
Programming languages allow the programmer to set an option where the program doesn't move past a 'write to disk' until the write is confirmed. synchronous writes are the filesytem's way of honoring that request. If you disable them, the program that wrote the data may be mislead into believing the data is safe on disk when it's not. That could happen if power is lost, or system crash, or it could happen with a database under normal operation, where files are used for locking purposes. The specific cases in which data loss might be possible are dependent on the whole stack, including the operating system and software you're running.
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.