From: Alberto B. <abr...@og...> - 2008-03-18 11:20:51
|
I need some suggestions to understand why bacula doesn't recognize a volume. I have a fresh volume in the "Default" pool: list media returns: +---------+------------+-----------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | mediaid | volumename | volstatus | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | +---------+------------+-----------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ | 5 | nodc002 | Full | 119,034,692,208 | 256 | 31,536,000 | 1 | 0 | 0 | LTO-2 | 2007-09-02 23:31:23 | | 6 | nodc003 | Full | 34,594,779,637 | 62 | 31,536,000 | 1 | 0 | 1 | LTO-2 | 2007-10-10 23:05:32 | | 11 | nodc004 | Full | 34,221,600,914 | 54 | 31,536,000 | 1 | 0 | 0 | LTO-2 | 2008-01-29 23:05:07 | | 15 | nodc001 | Append | 0 | 0 | 31,536,000 | 1 | 0 | 0 | LTO-2 | | +---------+------------+-----------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+ status storage=LTO returns "*unknown*" in the Pool field Device status: Device "FileStorage" (/tmp) is not open. Device "LTO" (/dev/nst0) is mounted with: Volume: nodc001 Pool: *unknown* Media type: LTO-2 Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 ==== After running a job status storage=LTO returns: Device status: Device "FileStorage" (/tmp) is not open. Device "LTO" (/dev/nst0) is mounted with: Volume: nodc001 Pool: Default Media type: LTO-2 Device is BLOCKED waiting to create a volume for: Pool: Default Media type: LTO-2 Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=1 Block=0 but the tape is into the drive and is correctly labelled. *readlabel btape: btape.c:425 Volume label read correctly. Volume Label: Id : Bacula 1.0 immortal VerNo : 11 VolName : nodc001 PrevVolName : VolFile : 0 LabelType : PRE_LABEL LabelSize : 160 PoolName : Default MediaType : LTO-2 PoolType : Backup HostName : miranda Directory and storage daemons are on different hosts. bacula-sd version 2.2.8, OS Debian Lenny bacula-dir version 1.38.11, OS Debian etch I'm not a bacula expert. Where are my mistakes? Thanks Alberto |