rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Exception '[Errno 28] No space left on device'


From: Dominic Raferd
Subject: Re: [rdiff-backup-users] Exception '[Errno 28] No space left on device'
Date: Wed, 22 Jul 2015 07:38:57 +0100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

I get:

Inode count:              29360128
Inodes per group:         8192
Inode blocks per group:   512
Inode size:               256

so I don't think what you are seeing is excessive.

To use --remote-tempdir you specify the directory as it would be on the remote machine (and it should exist already of course) e.g. /mnt/hda1/tmp/.

You could also try regressing directly on the remote machine using rdiff-backup --check-destination-dir --tempdir /mnt/hda1/tmp /my/repository

Dominic

On 22/07/2015 06:53, Stephen Butler wrote:
Perhaps this is an inode problem ?

I just tried regressing a file, and i got another "error 28 no space left on disk"

However the disk has 288gb space free

Did a little googling and found suggestions that inodes can cause a problem if there are lots of small files, well I have set no delete older than limits on my backups, and so with infinite backup increments for 5 busy workstations, perhaps this is the problem ?

I've just run $  tune2fs -l /dev/hda1 | grep Inode
and get
Inode count:              30334976
Inodes per group:         8192
Inode blocks per group:   512
Inode size:               256

I'm still researching inodes, (don't know what they are at this stage) does my mount look excessive ?

thx



> To: address@hidden
> From: address@hidden
> Date: Tue, 21 Jul 2015 09:22:22 +0100
> Subject: Re: [rdiff-backup-users] Exception '[Errno 28] No space left on device'
>
> Use --remote-tempdir switch to set the temp dir to be used on the remote
> machine.
>
> On 21/07/2015 03:15, Stephen Butler wrote:
> > Thanks Bob,
> >
> > That sounds like a good lead, The server is running tinycore and /tmp
> > is in memory.
> >
> > I've created following folder on server /mnt/hda1/tmp
> > I've set it to 777
> >
> > new rdiff-backup command is
> >
> > rdiff-backup --tempdir /mnt/hda1/tmp --ssh-no-compression --force -v3
> > --print-statistics B:/Users/%username%
> > address@hidden::/mnt/hda1/rdiffbackup.repositorys/address@hidden
> >
> > However same error is encountered.
> >
> > Does rdiff-backup assume that --tempdir /mnt/hda1/tmp is on local win
> > machine or does it know to check for the remote server ?
> >
> > I also tried --tempdir address@hidden::/mnt/hda1/tmp But this also fails.
> >
> > Perhaps I'm making a simple syntax error when invoking --tempdir ?
> >
> > > To: address@hidden
> > > From: address@hidden
> > > Date: Thu, 16 Jul 2015 13:04:31 -0500
> > > Subject: Re: [rdiff-backup-users] Exception '[Errno 28] No space
> > left on device'
> > >
> > > On 07/16/2015 12:37 AM, Stephen Butler wrote:
> > > >
> > > > Here's the backup.log file for the relevant computer
> > > > -----------------------
> > > > Previous backup seems to have failed, regressing destination now.
> > > > Exception '[Errno 28] No space left on device' raised of class '<type
> > > > 'exceptions.IOError'>':
> > > > File "/usr/local/lib/python2.7/site-packages/rdiff_backup/robust.py",
> > > > line 32, in check_common_error
> > > > try: return function(*args)
> > > > File
> > > > "/usr/local/lib/python2.7/site-packages/rdiff_backup/restore.py", line
> > > > 468, in get_fp
> > > > Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
> > > > File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Rdiff.py",
> > > > line 73, in write_patched_fp
> > > > rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
> > > > File "/usr/local/lib/python2.7/site-packages/rdiff_backup/rpath.py",
> > > > line 64, in copyfileobj
> > > > outputfp.write(inbuf)
> > >
> > > Regressing a backup can require a lot of temporary file space, and
> > > your /tmp might not have enough, especially if it is a tmpfs in RAM.
> > > Try using the "--tmpdir" option or environment variables TMPDIR,
> > > TEMP, or TMP to specify a directory with more space.
> > >
> > > --
> > > Bob Nichols "NOSPAM" is really part of my email address.
> > > Do NOT delete it.
> > >
> > >
> > > _______________________________________________
> > > rdiff-backup-users mailing list at address@hidden
> > > https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> > > Wiki URL:
> > http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
> >
> >
> > _______________________________________________
> > rdiff-backup-users mailing list at address@hidden
> > https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> > Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
>
>
> _______________________________________________
> rdiff-backup-users mailing list at address@hidden
> https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


_______________________________________________
rdiff-backup-users mailing list at address@hidden
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


reply via email to

[Prev in Thread] Current Thread [Next in Thread]