Bacula-users

Re: [Bacula-users] Problems getting restore to work

2010-04-13 14:43:20
Subject: Re: [Bacula-users] Problems getting restore to work
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 13 Apr 2010 19:40:41 +0100
>>>>> On Tue, 13 Apr 2010 09:19:11 -0700, Jerry Lowry said:
> 
> Craig,
> The file systems are definitely not full, especially /backup0.  The disk 
> backup is on the /backup1 volume, it size is below.
> 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1             241G  6.5G  222G   3% /
> tmpfs                 1.7G  236K  1.7G   1% /dev/shm
> /dev/sda3             963G   31G  884G   4% /backup0
> /dev/sdb1             917G  232G  640G  27% /backup1
> /dev/sde1             917G  201G  670G  24% /backup2
> /dev/sdf1             917G   72M  871G   1% /backup3
> /dev/sdc1             917G  210G  661G  25% /backup4
> /dev/sdd1             917G  759G  112G  88% /backup5
> /dev/sda4             165G  1.5G  155G   1% /database
> ++++++++++++++++++++++
> total 232G
> -rw-r----- 1 root root 231G 2010-04-10 14:00 hardware-0014
> 
> I don't think any of the files are bigger that 2GB as they are all pdf 
> documents and tool updates.  At most maybe 30 MB but nothing in the GB 
> region.
> 
> As for restoring the right client.  I walk through the 'bat' restore and 
> select the client ( only have three ) it walks through and creates the 
> build list.  The 'bacula-restores' directory is owned by 'root' but is 
> wide open as far as privileges.
> I have only two different full backups this one and another one.  So 
> there aren't alot of .bsr files to select from and they match the client 
> that was backed up.
> 
> I also get an error saying that it can not create a directory on the 
> same disk for the same reason " ERR= No space left on device".  But I 
> think this is the same type of error.

When you do a restare, there are two clients to consider: the one from the
original backup and the one where the restore occurs.  By default, they are
the same.

Just to be doubly sure, was that df output generated on the machine running as
swift-fd, which is the where the restore is occurring?

Can you see the
/backup0/bacula-restores/home/hardware/pdf/altera/quartus/81_linux/ directory
on that machine?

__Martin



> 
> Still no joy in restore.
> thanks
> 
> 
> Craig Ringer wrote:
> > On 13/04/10 05:15, Jerry Lowry wrote:
> >> Hi,  I am still tweaking a new installation of bacula 5.0.1 on Centos
> >> 5.4.  The backups work fine but I am trying to get the restore to work
> >> and I keep getting the following errors:
> >>
> >> Volume "hardware-0014" tofile:block  7:2933114700.
> >> 10-Apr 12:51 swift-fd JobId 118: Error: restore.c:1133 Write error on 
> >> /backup0/bacula-restores/home/hardware/pdf/altera/quartus/81_linux/81_nios2eds_linux.tar:
> >>  
> >> No space left on device
> >>
> >> The volume is a disk drive and I am trying to restore it to a dedicated
> >> restore directory on a different disk. I have checked the config files
> >> with an old set that I was running under 1.38 and it look very similar(
> >> ie names of pools and disks were changed).
> >
> > "No space left on device" can also mean with some file systems "this 
> > file is bigger than the maximum file size permitted by this file system".
> >
> > Is 81_nios2eds_linux.tar bigger than 2GB? What file system is being 
> > restored onto?
> >
> > Are you *SURE* that /backup0/bacula-restores has the free space 
> > required (according to "df -h /backup0/bacula-restores" )?
> >
> > Are you restoring to the right client?
> >
> > -- 
> > Craig Ringer
> 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users