Project

General

Profile

Feature #19449

katello-restore needs to check for sufficient free disk space before restore

Added by Christine Fouant about 2 years ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Category:
Backup & Restore
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1414240

Description of problem:
If there is insufficient space on disk while running a katello-restore, it fails with:

####
...
Restoring backend data
tar: Unexpected EOF in archive
tar: rmtlseek not stopped at a record boundary
tar: Error is not recoverable: exiting now
Done. ####

Version-Release number of selected component (if applicable):

How reproducible:
Always

Steps to Reproduce:
1. Create a backup with katello-backup
2. Restore using katello-restore when there is insufficient disk space

Actual results:

####
...
Restoring backend data
tar: Unexpected EOF in archive
tar: rmtlseek not stopped at a record boundary
tar: Error is not recoverable: exiting now
Done. ####

Expected results:
Either run a check before hand to see of there is sufficient disk space available, or provide a more informational error message.

Additional info:

History

#1 Updated by Justin Sherrill about 2 years ago

  • Legacy Backlogs Release (now unused) set to 114
  • Difficulty set to easy

Also available in: Atom PDF