Dear,
   After a bad power-off bacula server, the storage is not able to see
correct pool-volumes assignment for LTO3 device:

Device status:
Autochanger "TSM3500" with devices:
   "ULT3580-TD3" (/dev/nst0)
   "ULT3580-TD5" (/dev/nst1)
Device "FileStorage" is not open or does not exist.
Device "ULT3580-TD3" (/dev/nst0) is mounted with:
    Volume:      L30001L3
    Pool:        *unknown*
    Media type:  LTO-3
    Slot 3 is loaded in drive 1.
    Total Bytes Read=0 Blocks Read=0 Bytes/block=0
    Positioned at File=0 Block=0
Device "ULT3580-TD5" (/dev/nst1) is mounted with:
    Volume:      B00692LV
    Pool:        Pool1
    Media type:  LTO-5
    Slot 40 is loaded in drive 0.
    Total Bytes=1,024 Blocks=0 Bytes/block=1,024
    Positioned at File=0 Block=0
====
But the volumes from pool are correctly showed:

*list volume pool=Incr
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes        | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      10 | L30016L3   | Full      |       1 | 430,674,056,192 |      910
|   31,536,000 |       1 |   17 |         1 | LTO-3     | 2013-07-21
09:40:44 |
|      61 | L30006L3   | Append    |       1 |  18,680,747,008 |       21
|   31,536,000 |       1 |    7 |         1 | LTO-3     | 2013-07-27
18:08:20 |
|      67 | L30010L3   | Append    |       1 |           1,024 |        0
|    7,776,000 |       1 |   11 |         1 | LTO-3     | 0000-00-00
00:00:00 |
|      68 | L30017L3   | Append    |       1 |  37,661,717,504 |       46
|    7,776,000 |       1 |   18 |         1 | LTO-3     | 2013-07-31
19:56:15 |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+

Any idea? Is the anything wrong on DB?

Regards,
-- 
Bertrand Russell:
*"El problema con el mundo es que los estúpidos están seguros de todo y los
inteligentes están llenos de dudas*"
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to