Project

General

Profile

Actions

Feature #19449

open

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

Added by Christine Fouant almost 7 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Category:
Backup & Restore
Target version:
Difficulty:
easy
Triaged:
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:

Actions #1

Updated by Justin Sherrill almost 7 years ago

  • translation missing: en.field_release set to 114
  • Difficulty set to easy
Actions

Also available in: Atom PDF