Bacula-users

[Bacula-users] File storage: disk full, how to recover

2008-06-01 13:05:10
Subject: [Bacula-users] File storage: disk full, how to recover
From: "Peggy Wilkins" <enlil65 AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 1 Jun 2008 12:05:05 -0500
During last night's backup run I ran out of space on a file storage
device. I have a general idea of how I'd like to recover from that,
but I'm not feeling confident about what I'm doing.  Here is what I
plan on doing; I would appreciate comments and advice about it, so I
can "do the right thing".  Here is what I'm thinking now:

First, (obviously) I will make sufficient disk space available; this
is not a problem, I can move some data elsewhere.

I would like to delete last night's erred job from the catalog (in
bconsole: "delete jobid=<JobID>"), then re-run the job manually.

The effects of deleting the jobid is the part I'm most uncertain
about.  I assume after I delete the jobid, I can simply delete (via a
shell) any volumes the job wrote to, that have no other data on them.
Is this OK to do, or are these volumes expected to remain in existence
for later use?

If the volumes must remain, I would like to truncate them (since they
are files) to open up more space.  I'm guessing that truncating is OK,
but I might have to manually update the volume status; if that is
required, what status should they be updated to?

I think my questions here are due to my not having a full/detailed
picture of how all the catalog parts interrelate; so I'm not really
sure what the consequences of deleting a jobid will be; or maybe
that's even the wrong thing to do.

Thanks in advance for any help!

I include below the output from last night's erred job.
BTW this is bacula Version: 2.2.8 for both clients and director,
running on FreeBSD.

31-May 23:10 capricorn-dir JobId 814: Start Backup JobId 814,
Job=grenache-all.2008-05-31_23.05.13
31-May 23:10 capricorn-dir JobId 814: Using Device "FileStorage2"
31-May 23:10 capricorn-sd JobId 814: Volume "Diff-0329" previously
written, moving to end of data.
31-May 23:10 capricorn-sd JobId 814: Ready to append to end of Volume
"Diff-0329" size=1643591550
31-May 23:17 capricorn-sd JobId 814: User defined maximum volume
capacity 5,368,709,120 exceeded on device "FileStorage2"
(/disk/2/backup).
31-May 23:17 capricorn-sd JobId 814: End of medium on Volume
"Diff-0329" Bytes=5,368,707,937 Blocks=83,221 at 31-May-2008 23:17.
31-May 23:17 capricorn-dir JobId 814: There are no more Jobs
associated with Volume "Diff-0225". Marking it purged.
31-May 23:17 capricorn-dir JobId 814: All records pruned from Volume
"Diff-0225"; marking it "Purged"
31-May 23:17 capricorn-dir JobId 814: Recycled volume "Diff-0225"
31-May 23:17 capricorn-sd JobId 814: Recycled volume "Diff-0225" on
device "FileStorage2" (/disk/2/backup), all previous data lost.
31-May 23:17 capricorn-sd JobId 814: New volume "Diff-0225" mounted on
device "FileStorage2" (/disk/2/backup) at 31-May-2008 23:17.
31-May 23:25 capricorn-sd JobId 814: User defined maximum volume
capacity 5,368,709,120 exceeded on device "FileStorage2"
(/disk/2/backup).
31-May 23:25 capricorn-sd JobId 814: End of medium on Volume
"Diff-0225" Bytes=5,368,688,862 Blocks=83,220 at 31-May-2008 23:25.
31-May 23:25 capricorn-dir JobId 814: There are no more Jobs
associated with Volume "Diff-0146". Marking it purged.
31-May 23:25 capricorn-dir JobId 814: All records pruned from Volume
"Diff-0146"; marking it "Purged"
31-May 23:25 capricorn-dir JobId 814: Recycled volume "Diff-0146"
31-May 23:25 capricorn-sd JobId 814: Recycled volume "Diff-0146" on
device "FileStorage2" (/disk/2/backup), all previous data lost.
31-May 23:25 capricorn-sd JobId 814: New volume "Diff-0146" mounted on
device "FileStorage2" (/disk/2/backup) at 31-May-2008 23:25.
31-May 23:35 capricorn-sd JobId 814: User defined maximum volume
capacity 5,368,709,120 exceeded on device "FileStorage2"
(/disk/2/backup).
31-May 23:35 capricorn-sd JobId 814: End of medium on Volume
"Diff-0146" Bytes=5,368,688,462 Blocks=83,220 at 31-May-2008 23:35.
31-May 23:35 capricorn-dir JobId 814: Created new Volume "Diff-0337" in catalog.
31-May 23:35 capricorn-sd JobId 814: Labeled new Volume "Diff-0337" on
device "FileStorage2" (/disk/2/backup).
31-May 23:35 capricorn-sd JobId 814: Wrote label to prelabeled Volume
"Diff-0337" on device "FileStorage2" (/disk/2/backup)
31-May 23:35 capricorn-sd JobId 814: New volume "Diff-0337" mounted on
device "FileStorage2" (/disk/2/backup) at 31-May-2008 23:35.
31-May 23:37 capricorn-sd JobId 814: End of Volume "Diff-0337" at
0:782530595 on device "FileStorage2" (/disk/2/backup). Write of 64512
bytes got -1.
31-May 23:37 capricorn-sd JobId 814: End of medium on Volume
"Diff-0337" Bytes=782,530,596 Blocks=12,130 at 31-May-2008 23:37.
31-May 23:37 capricorn-dir JobId 814: Created new Volume "Diff-0338" in catalog.
31-May 23:37 capricorn-sd JobId 814: Labeled new Volume "Diff-0338" on
device "FileStorage2" (/disk/2/backup).
31-May 23:37 capricorn-sd JobId 814: Wrote label to prelabeled Volume
"Diff-0338" on device "FileStorage2" (/disk/2/backup)
31-May 23:37 capricorn-sd JobId 814: New volume "Diff-0338" mounted on
device "FileStorage2" (/disk/2/backup) at 31-May-2008 23:37.
31-May 23:37 capricorn-sd JobId 814: End of Volume "Diff-0338" at
0:220 on device "FileStorage2" (/disk/2/backup). Write of 64512 bytes
got -1.
31-May 23:37 capricorn-sd JobId 814: Job write elapsed time =
00:26:50, Transfer rate = 9.459 M bytes/second
31-May 23:37 grenache-fd JobId 814: Fatal error: backup.c:892 Network
send error to SD. ERR=Broken pipe
31-May 23:37 capricorn-dir JobId 814: Error: Bacula capricorn-dir
2.2.8 (26Jan08): 31-May-2008 23:37:52
  Build OS:               i386-portbld-freebsd7.0 freebsd 7.0-RELEASE
  JobId:                  814
  Job:                    grenache-all.2008-05-31_23.05.13
  Backup Level:           Differential, since=2008-05-03 23:12:53
  Client:                 "grenache-fd" 2.2.8 (26Jan08)
i386-portbld-freebsd5.5,freebsd,5.5-RELEASE-p17
  FileSet:                "Full Set" 2008-05-02 23:05:00
  Pool:                   "Diff-Pool" (From Job DiffPool override)
  Storage:                "CapricornDisk2" (From Job resource)
  Scheduled time:         31-May-2008 23:05:00
  Start time:             31-May-2008 23:10:48
  End time:               31-May-2008 23:37:52
  Elapsed time:           27 mins 4 secs
  Priority:               10
  FD Files Written:       119,756
  SD Files Written:       119,743
  FD Bytes Written:       15,209,710,939 (15.20 GB)
  SD Bytes Written:       15,229,883,993 (15.22 GB)
  Rate:                   9365.6 KB/s
  Software Compression:   None
  VSS:                    no
  Storage Encryption:     no
  Volume name(s):         Diff-0329|Diff-0225|Diff-0146|Diff-0337
  Volume Session Id:      178
  Volume Session Time:    1209740525
  Last Volume Bytes:      221 (221 B)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Backup Error ***


-- 
Peggy Wilkins
enlil65 AT gmail DOT com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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>