Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Graceless shutdown in QNX4.
Ref. No. QNX.000008467
Category(ies) Filesystem
Issue What are the ramifications of powering off a system, running QNX4, without first issuing the shutdown command?






Solution It depends on what Fsys options are being used.  If there is data in the write behind buffer that hasn't been written to disk yet (normally it does so in the 10 second wait before power off) then your disk will be out of sync.

In general that is the main problem: data in the cache that hasn't been written to disk yet.

If you want to make your system more 'crash proof', you can do that with a some Fsys options like reducing the cache size, but you are going to sacrifce disk performance in doing that.  See the Knowledge base issue,
"How to Minimize Filesystem Corruption from Unexpected Shutdowns in QNX4" for more details.