________________________________________________________________________
Applicable Environment
________________________________________________________________________
- Topic: QNX4 FS - reducing risk of corruption
- SDP: 6.5.0 SP1
- Target: Any applicable target
________________________________________________________________________
Recommendation________________________________________________________________________
If a write to the disk is occurring and the power is removed, corruption can happen.
There are some things that can be done to minimize the problem like:
# mount filesystem read-only if/when possible (stops access time update)
# open the files synch or use the "blk commit=high" option
# umount the filesystem before the power is removed
# decrease delayed write time with the "blk delwri" option
# create a separate partition for writable files
# do not put put writable files in the root directory
# pre-grow files after creation
# balance directory tree. ie limit directory levels and number of files
# One other thing to note is that if power is removed during a write,
# subsequent reads will fail until it is written.
________________________________________________________________________
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out to QNX Technical Support if you have any questions/concerns. ________________________________________________________________________