SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Another backups failure.. trying to revert fails dus to disk
Author Message
Post Another backups failure.. trying to revert fails dus to disk 
I'm just full of problems today :)



fc-ps1# rdiff-backup -l /backups/enterprise/home
Fatal Error: Previous backup to /backups/enterprise/home seems to have
failed.Rerun rdiff-backup with --check-destination-dir option to
revertdirectory to state before unsuccessful session.
fc-ps1# rdiff-backup --check-destination-dir /backups/enterprise/home

/: write failed, file system is full
Traceback (most recent call last):
File "/usr/pkg/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
Jan 28 09:38:47 fc-ps1 /netbsd: uid 0 comm python2.2 on /: file system
full
File "/usr/pkg/lib/python2.2/site-packages/rdiff_backup/Main.py", line
246, in Main
take_action(rps)
File "/usr/pkg/lib/python2.2/site-packages/rdiff_backup/Main.py", line
228, in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/pkg/lib/python2.2/site-packages/rdiff_backup/Main.py", line
607, in CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/pkg/lib/python2.2/site-packages/rdiff_backup/regress.py",
line 69, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/pkg/lib/python2.2/site-packages/rdiff_backup/rorpiter.py",
line 279, in __call__
last_branch.fast_process(*args)
File "/usr/pkg/lib/python2.2/site-packages/rdiff_backup/regress.py",
line 229, in fast_process
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
File "/usr/pkg/lib/python2.2/site-packages/rdiff_backup/regress.py",
line 251, in restore_orig_regfile
tf.write_from_fileobj(rf.get_restore_fp())
File "/usr/pkg/lib/python2.2/site-packages/rdiff_backup/restore.py",
line 456, in get_restore_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/usr/pkg/lib/python2.2/site-packages/rdiff_backup/Rdiff.py", line
65, in write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/usr/pkg/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
60, in copyfileobj
outputfp.write(inbuf)
IOError: [Errno 28] No space left on device
fc-ps1# df -lk
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/wd0a 274967 161352 99866 61% /
/dev/wd0e 27633397 1917066 24334661 7% /usr
/dev/wd1a 58465066 32878450 22663362 59% /backups
/dev/wd1b 97441787 13799128 78770569 14% /storage



---

I assume that it needs some space in / and there isn't enough there ?
What methods can I use to get around this ?

Cheers,

Al

Post Another backups failure.. trying to revert fails dus to disk 
On Wed, 28 Jan 2004, Alan Horn wrote:

Date: Wed, 28 Jan 2004 09:57:33 -0800 (PST)
From: Alan Horn <ahorn < at > deorth.org>
To: rdiff-backup-users < at > nongnu.org
Subject: [rdiff-backup-users] Another backups failure.. trying to revert
fails dus to disk space


I'm just full of problems today :)



fc-ps1# rdiff-backup -l /backups/enterprise/home
Fatal Error: Previous backup to /backups/enterprise/home seems to have
failed.Rerun rdiff-backup with --check-destination-dir option to
revertdirectory to state before unsuccessful session.
fc-ps1# rdiff-backup --check-destination-dir /backups/enterprise/home

/: write failed, file system is full
Traceback (most recent call last):

[snip]

IOError: [Errno 28] No space left on device
fc-ps1# df -lk
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/wd0a 274967 161352 99866 61% /
/dev/wd0e 27633397 1917066 24334661 7% /usr
/dev/wd1a 58465066 32878450 22663362 59% /backups
/dev/wd1b 97441787 13799128 78770569 14% /storage



---

I assume that it needs some space in / and there isn't enough there ?
What methods can I use to get around this ?

Cheers,

Al


Ok.. I've solved this one myself...

set $TMPDIR to point somewhere with lots of space (in my case
/storage/tmp)

I'm still curious as to what space is needed and how to precalculate that.

Post Another backups failure.. trying to revert fails dus to disk 
Alan Horn <ahorn < at > deorth.org>
wrote the following on Wed, 28 Jan 2004 12:00:06 -0800 (PST)

Ok.. I've solved this one myself...

set $TMPDIR to point somewhere with lots of space (in my case
/storage/tmp)

I'm still curious as to what space is needed and how to precalculate that.

The tmp space needed is approximately the size of the largest file
that is being operated on. For instance, when backing up,
rdiff-backup will write the new version of a changed file to the
mirror, compute a diff from the new and old versions, and then delete
the old version. At some point the new and old versions will both be
there.


--
Ben Escoto

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB