Bacula-users

Re: [Bacula-users] No space left on device.

2012-08-16 15:44:29
Subject: Re: [Bacula-users] No space left on device.
From: "Clark, Patricia A." <clarkpa AT ornl DOT gov>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 16 Aug 2012 15:40:53 -0400
From: "Luis H. Forchesatto" <luisforchesatto AT gmail DOT 
com<mailto:luisforchesatto AT gmail DOT com>>
Date: Thursday, August 16, 2012 1:42 PM
To: "bacula-users AT lists.sourceforge DOT net<mailto:bacula-users AT 
lists.sourceforge DOT net>" <bacula-users AT lists.sourceforge DOT 
net<mailto:bacula-users AT lists.sourceforge DOT net>>
Subject: [Bacula-users] No space left on device.

Greetings.

Trying to make run an job via bconsole I got the followin logs:


16-Aug 14:27 backup-dir JobId 0: Fatal error: sql_create.c:94 sql_create.c:94 
insert INSERT INTO Job 
(Job,Name,Type,Level,JobStatus,SchedTime,JobTDate,ClientId) VALUES 
('proxy.sysconf.2012-08-16_14.27.52.05','proxy.sysconf','B','F','C','2012-08-16 
14:27:49',1345138069,3) failed:
unable to open database file
16-Aug 14:27 backup-dir JobId 0: Fatal error: sql_create.c:96 Create DB Job 
record INSERT INTO Job 
(Job,Name,Type,Level,JobStatus,SchedTime,JobTDate,ClientId) VALUES 
('proxy.sysconf.2012-08-16_14.27.52.05','proxy.sysconf','B','F','C','2012-08-16 
14:27:49',1345138069,3) failed. ERR=unable to open database file
16-Aug 14:27 backup-dir JobId 0: Error: message.c:743 fopen 
/var/lib/bacula/backup-dir.proxy.sysconf.2012-08-16_14.27.52.05.135319776.mail 
failed: ERR=No space left on device
16-Aug 14:27 backup-dir JobId 0: Error: message.c:743 fopen 
/var/lib/bacula/backup-dir.proxy.sysconf.2012-08-16_14.27.52.05.135319776.mail 
failed: ERR=No space left on device
16-Aug 14:27 backup-dir JobId 0: Error: message.c:743 fopen 
/var/lib/bacula/backup-dir.proxy.sysconf.2012-08-16_14.27.52.05.135319776.mail 
failed: ERR=No space left on device
16-Aug 14:27 backup-dir JobId 0: Error: message.c:743 fopen 
/var/lib/bacula/backup-dir.proxy.sysconf.2012-08-16_14.27.52.05.135319776.mail 
failed: ERR=No space left on device

Surely there's space left on the disk. All director, storage and file-daemon 
runs on Debian 5 machines at the same network. I've restarted all bacula 
services and rsyslogd trying to make it work but with no responses. I also 
found this logs on the log file:

16-Aug 14:20 bacula-dir JobId 0: Error: sql_update.c:263 sql_update.c:263 
update UPDATE Pool SET 
NumVols=790,MaxVols=0,UseOnce=0,UseCatalog=1,AcceptAnyVolume=0,VolRetention='31536000',VolUseDuration='0',MaxVolJobs=1,MaxVolFiles=0,MaxVolBytes=0,Recycle=1,AutoPrune=1,LabelType=0,LabelFormat='$Job-$Year-$Month-$Day-$Hour:$Minute:$Second',RecyclePoolId=0
 WHERE PoolId=1 failed:
unable to open database file
16-Aug 14:20 bacula-dir JobId 0: Error: sql_update.c:278 sql_update.c:278 
update UPDATE Storage SET AutoChanger=0 WHERE StorageId=1 failed:
unable to open database file

--
Att.
>>>>>>>>>>>>>
Why is this so hard to believe?  /var is your database area and your spooling 
area along with everything else as far as logs, some temp space, etc as long as 
no other separate space has been created and mounted there.  I have just 
created both separate database space and separate spool space to control the 
amounts and to control the I/O.  Restarting services will not clear up your 
space issue.

Patti Clark
Information International Associates, Inc.
Linux Administrator and subcontractor to:
Research and Development Systems Support Oak Ridge National Laboratory




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>