Tuesday, July 17, 2007

Tar: Cannot write: Disk quota exceeded

Tar: Cannot write: Disk quota exceeded

When creating a tar archive, tar will display the annoying error:

sdaX: write failed, user block limit reached
tar: Cannot write: Disk quota exceeded
tar: Error is not recoverable: exiting now

To resolve this issue, check that:

1) You have two times the free disk space proportionate to the size of the archive you are creating
2) The server does not have restrictions on individual file sizes
3) Hsphere - Double the disk quota value by navigating to the FTP user area and look for the quota parameter.

Note: Why hsphere has two config areas (FTP and Disk Limits) for controlling disk quotas is beyond my understanding.

The FTP quota is the real disk quota that controls free space available on the filesystem.

No comments: