SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Bacula refusing to use existing tape and wants to label a fr
Author Message
Post Bacula refusing to use existing tape and wants to label a fr 
I have this problem on one of my tape drives, it is a single drive, no autoloader.


The job is partially completed and it needs a new tape, and it requests for me to label a new one. I have a tape that as far as I can see is perfect for the job, right pool, purged, yet when I mount it bacula just keeps telling me to label a new one.


I suspect I must have a configuration problem but am not sure where to look.


Thanks for any help,




---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10-Aug 08:28 whatever.lan-sd JobId 10649: Job Archive.2012-08-09_10.59.32_30 is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "whatever.lan-internal-tape" (/dev/tape/by-id/scsi-3500110a0011ad17e-nst)
Pool: ArchivePool
Media type: LTO-4

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Listing from "list media", the tape is in the correct ArchivePool.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten |
| 88 | ZW1078L4 | Purged | 1 | 817,155,742,720 | 111 | 630,720,000 | 0 | 0 | 0 | LTO-4 | 2012-05-12 18:03:46 |

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Bacula sd configuration file:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Storage {
Name = whatever.lan-sd
SDPort = 9103
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 40
}


Director {
Name = whatever.nothing-dir
Password = ""
}




Device {
Name = whatever.lan-internal-tape
Description = HP Ultrium StorageWorks 1840
Device Type = Tape
Media Type = LTO-4
Archive Device = /dev/tape/by-id/scsi-3500110a0011ad17e-nst


AlwaysOpen = yes
RemovableMedia = yes
RandomAccess = no


# Allow 800MB of spooling
Spool Directory = /mnt/localDrive/spool
Maximum Spool Size = 8000080110
Maximum block size = 131072


# The following options allow tape requests to be handled without
# interaction on the console. When a new tape is needed, the current
# one will be ejected. The drive will be polled until the requested
# tape is entered.
Offline On Unmount = Yes
Close on Poll = Yes
Maximum Open Wait = 1 day
AutomaticMount = Yes
Volume Poll Interval = 15 minutes


# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f /dev/sg0 |grep TapeAlert|cat'"
}

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Notice of Confidentiality: The information transmitted is intended only for the
person or entity to which it is addressed and may contain confidential and/or
privileged material. Any review, re-transmission, dissemination or other use of
or taking of any action in reliance upon this information by persons or entities
other than the intended recipient is prohibited. If you received this in error
please contact the sender immediately by return electronic transmission and then
immediately delete this transmission including all attachments without copying,
distributing or disclosing the same.

Post Bacula refusing to use existing tape and wants to label a fr 
On Aug 10, 2012, at 12:02 PM, Eric Chennells wrote:
I have this problem on one of my tape drives, it is a single drive, no autoloader.


The job is partially completed and it needs a new tape, and it requests for me to label a new one. I have a tape that as far as I can see is perfect for the job, right pool, purged, yet when I mount it bacula just keeps telling me to label a new one.


I suspect I must have a configuration problem but am not sure where to look.


Thanks for any help,




---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10-Aug 08:28 whatever.lan-sd JobId 10649: Job Archive.2012-08-09_10.59.32_30 is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:




When you tried the label command, what happened?

Storage: "whatever.lan-internal-tape" (/dev/tape/by-id/scsi-3500110a0011ad17e-nst)
Pool: ArchivePool
Media type: LTO-4

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Listing from "list media", the tape is in the correct ArchivePool.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten |
| 88 | ZW1078L4 | Purged | 1 | 817,155,742,720 | 111 | 630,720,000 | 0 | 0 | 0 | LTO-4 | 2012-05-12 18:03:46 |

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Bacula sd configuration file:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Storage {
Name = whatever.lan-sd
SDPort = 9103
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 40
}


Director {
Name = whatever.nothing-dir
Password = ""
}




Device {
Name = whatever.lan-internal-tape
Description = HP Ultrium StorageWorks 1840
Device Type = Tape
Media Type = LTO-4
Archive Device = /dev/tape/by-id/scsi-3500110a0011ad17e-nst


AlwaysOpen = yes
RemovableMedia = yes
RandomAccess = no


# Allow 800MB of spooling
Spool Directory = /mnt/localDrive/spool
Maximum Spool Size = 8000080110
Maximum block size = 131072


# The following options allow tape requests to be handled without
# interaction on the console. When a new tape is needed, the current
# one will be ejected. The drive will be polled until the requested
# tape is entered.
Offline On Unmount = Yes
Close on Poll = Yes
Maximum Open Wait = 1 day
AutomaticMount = Yes
Volume Poll Interval = 15 minutes


# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f /dev/sg0 |grep TapeAlert|cat'"
}

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Notice of Confidentiality: The information transmitted is intended only for the
person or entity to which it is addressed and may contain confidential and/or
privileged material. Any review, re-transmission, dissemination or other use of
or taking of any action in reliance upon this information by persons or entities
other than the intended recipient is prohibited. If you received this in error
please contact the sender immediately by return electronic transmission and then
immediately delete this transmission including all attachments without copying,
distributing or disclosing the same.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net ([email]Bacula-users < at > lists.sourceforge.net[/email])
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Dan Langille - http://langille.org

Post Bacula refusing to use existing tape and wants to label a fr 
On 11/08/12 20:56, Dan Langille wrote:


Dan,

FWIW I'm seeing the same thing. Bacula has a tape active in the loader
already, then decides to grab another one out of the scratch pool. Once
it's in this state, it cannot be convinced to use the existing tape(s)
with append status

Right now i have 3 drives (out of 7) loaded with tapes from the same
pool because of this glitch.

prefer mounted tape=Yes

This occurs across all pools to a greater or lesser extent and has been
happening for years.





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB