Been working on Bareos for a couple of months now in some spare time that I get ;)

Guess I need to understand why when I list volumes I can see its there but when mounted its unknown?



Anyway, still plugging away with autochanger / multiple drive setup.

I have noticed that when I mount a tape/slot/volume with mount in bconsle I get the requested action.

but when I ask for a status storage of the changer I get the following back giving a pool unknown.

Device status:
Autochanger "ML6000" with devices:
   "tapedrive0" (/dev/tape/by-id/scsi-3500308c09c7cf000-nst)
   "tapedrive1" (/dev/tape/by-id/scsi-3500308c09c7cf004-nst)

Device "tapedrive0" (/dev/tape/by-id/scsi-3500308c09c7cf000-nst) is mounted with:
    Volume:      000009
    Pool:        *unknown*
    Media type:  LT03-4
    Slot 2 is loaded in drive 0.
    Total Bytes Read=396 Blocks Read=2 Bytes/block=198
    Positioned at File=0 Block=0
==

Device "tapedrive1" (/dev/tape/by-id/scsi-3500308c09c7cf004-nst) is mounted with:
    Volume:      001061
    Pool:        *unknown*
    Media type:  LTO3-4
    Slot 18 is loaded in drive 1.
    Total Bytes Read=198 Blocks Read=1 Bytes/block=198
    Positioned at File=0 Block=0


But when I ask for list volumes I get, so it knows what pools these volumes belong to.

Pool: 6000a
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | 000008 | Full | 1 | 502,279,682,059 | 106 | 5,184,000 | 1 | 1 | 1 | LTO3-4 | 2016-02-18 03:02:03 | | 2 | 000009 | Append | 1 | 244,996,960,291 | 49 | 5,184,000 | 1 | 2 | 1 | LTO3-4 | 2016-02-18 07:41:51 | | 3 | 000020 | Append | 1 | 198 | 0 | 5,184,000 | 1 | 3 | 1 | LTO3-4 | | | 4 | 000023 | Append | 1 | 198 | 0 | 5,184,000 | 1 | 4 | 1 | LTO3-4 | |
+---------+------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+






Pool: Scratch
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+
| mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+
| 5 | 000025 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 5 | 1 | LTO3-4 | | | 6 | 000110 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 6 | 1 | LTO3-4 | | | 7 | 000029 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 7 | 1 | LTO3-4 | | | 8 | 000109 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 8 | 1 | LTO3-4 | | | 9 | 000022 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 9 | 1 | LTO3-4 | | | 10 | 000024 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 10 | 1 | LTO3-4 | | | 11 | 001063 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 11 | 1 | LTO3-4 | | | 12 | 000027 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 12 | 1 | LTO3-4 | | | 13 | 000136 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 13 | 1 | LTO3-4 | | | 14 | 000016 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 14 | 1 | LTO3-4 | | | 15 | 001059 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 15 | 1 | LTO3-4 | | | 16 | 001057 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 16 | 1 | LTO3-4 | | | 17 | 000010 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 17 | 1 | LTO3-4 | | | 18 | 001061 | Append | 1 | 198 | 0 | 31,536,000 | 1 | 18 | 1 | LTO3-4 | |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+-------------+

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to