Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX6 filesystem corruption during tar extraction: (1 Item)
   
QNX6 filesystem corruption during tar extraction  
I have a collection of tar (tgz) backup files representing complete system backups of various Neutrino based systems.  
On a few of the systems, the tar file created causes corruption of the qnx6 file system.

Here's what I do to backup:

Generate the tar file using "tar -czpf" (Excluding system paths like /proc).

To restore:

Insert a new SSD into another QNX system
fdisk and create a primary type 179 partition
mkqnx6fs on the new partition
chkqnx6fs (To ensure no issues)

tar -xvpf to extract

During extraction, files are written, ownership and permissions restore, up to a point.  When it hits that point, 
something goes wrong and suddenly the dirty bit is set and the file systems refuses any additional changes.  Large 
numbers of inodes corrupted etc.   chkqnx6fs cannot repair everything and I have to reformat the partition.

I was under the impression that essentially nothing could corrupt a qnx6 partition.  Especially not something as benign 
as tar so I'm at a loss here.  Does anyone have any theories?

Thanks,

xl600