Hi Alan,

Kind of resurrecting an old thread.

I've been running a modified version of your script daily for the past year.

Last night tape run out of space on incremental backups.

A report from the night before was showing 56,674 MiB of raw uncompressed space.

The total of backups from all clients since barely totals at 8 GB.

When I re-run the report script the tape is showing as full indeed.

Is it possible for the reading to be this inaccurate?

I.e. it assumed 56 GB when less than 8 GB was available?

Or maybe there is some kind of overhead LTO-4/Bacula need and reserve?

Cheers,
Adam


On 07/08/18 15:02, Adam Weremczuk wrote:
On 07/08/18 13:24, Alan Brown wrote:

sg_raw -o - -r 1024 -t 60 -v /dev/nst0 (or its /dev/sg) 8c 00 00 00 00 00 00 00  00 00 00 00 04 00 00 00

And pipe it through the script I posted at https://github.com/hreinecke/sg3_utils/issues/18

Bingo!

id=0x0000 writable=RO format=0 attrlen=0x0008=8     - Device: Remaining Native Capacity in Partition (MiB)
                             val=0x00000000000c6645  (812,613)
id=0x0001 writable=RO format=0 attrlen=0x0008=8     - Device: Maximum Native Capacity in Partition (MiB)
                             val=0x00000000000d0444  (853,060)



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to