Why am I getting errors during a full system backup using tar?

Updated -

Release Found:

Red Hat Enterprise Linux 4

Symptom:

During a full system backup using tar, "file shrank by n bytes; padding with zeros" error messages are generated

Solution:

This happens when tar is doing a backup of the /sys partition, the mount point for the RAM based sysfs

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.