Dear Kern,
in message <[EMAIL PROTECTED]> you wrote:
>
> Unless your OS is broken, Bacula always detects and reports when a volume
> gets
> a write error, which is the case when your partition fills up. I would
That was my expectation, too. dir and sd running on a FC2 system
(with a 2.6.10-1.771_FC2 kernel); the data are on a NFS mounted
partitition (opts: nosuid,nodev,vers=3,proto=tcp) on a FC4 server
(2.6.16-1.2108_FC4 kernel).
> classify the fact that Bacula continues attempting to create Volumes on a
> harddisk after a full partition as missing code (a bug if you will).
> However, before making any definitive statement, I would like to see the
> "error" messages that Bacula produced for you. They should be in the log.
There aren't any error messages. That's what's puzzeling me. Where
would you expect to see such error messages?
In Bacula, I get the expected messages, i. e. for example:
04-May 01:48 xxxxxx-sd: Wrote label to prelabeled Volume "xxxxxx.denx.de-017"
on device "FileStorage" (/net/nyx/backup)
04-May 01:48 xxxxxx-sd: New volume "xxxxxx.denx.de-017" mounted on device
"FileStorage" (/net/nyx/backup) at 04-May-2006 01:48.
Volume name(s): xxxxxx.denx.de-016|xxxxxx.denx.de-017
05-May 01:07 xxxxxx-sd: Volume "xxxxxx.denx.de-017" previously written, moving
to end of data.
Volume name(s): xxxxxx.denx.de-017
06-May 01:40 xxxxxx-sd: Volume "xxxxxx.denx.de-017" previously written, moving
to end of data.
Volume name(s): xxxxxx.denx.de-017
08-May 15:44 xxxxxx-sd: Volume "xxxxxx.denx.de-017" previously written, moving
to end of data.
Volume name(s): xxxxxx.denx.de-017
09-May 12:05 xxxxxx-sd: Volume "xxxxxx.denx.de-017" previously written, moving
to end of data.
Volume name(s): xxxxxx.denx.de-017
10-May 01:24 xxxxxx-sd: Volume "xxxxxx.denx.de-017" previously written, moving
to end of data.
Volume name(s): xxxxxx.denx.de-017
11-May 02:43 xxxxxx-sd: Volume "xxxxxx.denx.de-017" previously written, moving
to end of data.
Volume name(s): xxxxxx.denx.de-017
12-May 10:39 xxxxxx-sd: Volume "xxxxxx.denx.de-017" previously written, moving
to end of data.
Volume name(s): xxxxxx.denx.de-017
15-May 22:42 xxxxxx-sd: Volume "xxxxxx.denx.de-017" previously written, moving
to end of data.
Volume name(s): xxxxxx.denx.de-017
16-May 01:05 xxxxxx-sd: Volume "xxxxxx.denx.de-017" previously written, moving
to end of data.
16-May 01:10 xxxxxx-sd: End of medium on Volume "xxxxxx.denx.de-017"
Bytes=7,999,998,273 Blocks=124,013 at 16-May-2006 01:10.
However, xxxxxx.denx.de-017 is just 4 kB (a single disk block).
I just re-ran a test: I filled up the file system until it was
reported as full:
# date >foo
date: write error: No space left on device
However, bacula says:
04-Jul 15:51 xxxxxx-dir: Start Backup JobId 3043,
Job=BackupCatalog.2006-07-04_15.41.51
04-Jul 15:51 xxxxxx-sd: Wrote label to prelabeled Volume "xxxxxx.denx.de-026"
on device "FileStorage" (/net/nyx/backup)
04-Jul 16:02 xxxxxx-dir: Bacula 1.38.5 (18Jan06): 04-Jul-2006 16:02:20
JobId: 3043
Job: BackupCatalog.2006-07-04_15.41.51
Backup Level: Full
Client: "xxxxxx-fd" i686-pc-linux-gnu,redhat,(Tettnang)
FileSet: "Catalog" 2005-12-21 10:55:54
Pool: "Default"
Storage: "File"
Scheduled time: 04-Jul-2006 15:41:42
Start time: 04-Jul-2006 15:41:53
End time: 04-Jul-2006 16:02:20
Priority: 99
FD Files Written: 1
SD Files Written: 1
FD Bytes Written: 1,524,018,563
SD Bytes Written: 1,524,018,670
Rate: 1242.1 KB/s
Software Compression: 73.4 %
Volume name(s): xxxxxx.denx.de-026
Volume Session Id: 243
Volume Session Time: 1144017997
Last Volume Bytes: 1,525,918,129
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
04-Jul 16:02 xxxxxx-dir: Begin pruning Jobs.
04-Jul 16:02 xxxxxx-dir: Pruned 0 Jobs for client xxxxxx-fd from catalog.
04-Jul 16:02 xxxxxx-dir: Begin pruning Files.
04-Jul 16:02 xxxxxx-dir: No Files found to prune.
04-Jul 16:02 xxxxxx-dir: End auto prune.
And I see
-rw-r----- 1 root root 4096 Jul 4 16:02 xxxxxx.denx.de-026
[Before running the test, this file was empty except for the volume label:
-rw-r----- 1 root root 213 Jul 3 21:05 xxxxxx.denx.de-026
]
It's only when I try to restoire from such a file that I run into trouble:
04-Jul 16:10 xxxxxx-sd: Ready to read from volume "xxxxxx.denx.de-026" on
device "FileStorage" (/net/nyx/backup).
04-Jul 16:10 xxxxxx-sd: Restore.2006-07-04_16.10.45 Error: block.c:1025 Volume
data error at 0:4095! Short block of 3883 bytes on device "FileStorage"
(/net/nyx/backup) discarded.
04-Jul 16:10 xxxxxx-sd: Restore.2006-07-04_16.10.45 Error: read_record.c:112
block.c:1025 Volume data error at 0:4095! Short block of 3883 bytes on device
"FileStorage" (/net/nyx/backup) discarded.
04-Jul 16:10 xxxxxx-sd: End of Volume at file 0 on device "FileStorage"
(/net/nyx/backup), Volume "xxxxxx.denx.de-026"
04-Jul 16:10 xxxxxx-sd: End of all volumes.
04-Jul 16:10 xxxxxx-dir: Bacula 1.38.5 (18Jan06): 04-Jul-2006 16:10:48
BTW: are you still planning for a trip to Munich this summer?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
If there was anything that depressed him more than his own cynicism,
it was that quite often it still wasn't as cynical as real life.
- Terry Pratchett, _Guards! Guards!_
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users