Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 8th March 2010, 21:19
Sebi76 Sebi76 is offline
Junior Member
Join Date: Mar 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trying to label a virtual tape for Zmanda Backup

HI there,

I new to Zamanda backup and getting this error message while trying to lable the virtual tapes. Can someone help me on this ?

Reading label...
Found an empty tape.
Writing label intra-14..
amlabel: Error writing label: Can't open file /backup/intra/slots/data//00000.intra-14: Permission denied.

labeling tape in slot 15 (file:/backup/intra/slots):
Reading label...
Found Amanda tape intra1-15, but it is not from configuration intra.
Reply With Quote
Sponsored Links
Old 9th March 2010, 00:40
paddy paddy is offline
Junior Member
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Can you please check ownership of the directory /backup/intra/slots? It should be owned
by amandabackup:disk and must be readable/write-able by amandabackup user.

It appears intra1-15 was labelled by different backup set.

Which version of Amanda are you using? Please post in forums.zmanda.com for prompt reply.

Reply With Quote
Old 9th March 2010, 22:25
Sebi76 Sebi76 is offline
Junior Member
Join Date: Mar 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

Ownership and Permissions for Slots directory:
[root@backup01 intra]# ll
total 4
drwxrwx--- 17 amanda disk 4096 Mar 5 12:08 slots

Version of Amanda:

Also somebody before me was using DailySet1 as their main directory. Probably that might be causing the conflict.....

Below is the partial copy of my amanda.conf file:
runtapes 1 # number of tapes to be used in a single run of amdump
#tpchanger "chg-manual" # the tape-changer glue script
tpchanger "chg-disk"

#tapedev "null:"
tapedev "file:/backup/intra/slots" # the no-rewind tape device to be used

#tapetype "null:"
#labelstr "^DailySet1-[0-9][0-9]*$"

#changerfile "/etc/amanda/intra/changer"
#changerfile "/etc/amanda/intra/changer-status"
changerfile "/etc/amanda/intra/changer.conf-access"
changerdev "/dev/null"

# If you want Amanda to automatically label any non-Amanda tapes it
# encounters, uncomment the line below. Note that this will ERASE any
# non-Amanda tapes you may have, and may also ERASE any near-failing tapes.
# Use with caution.
## label_new_tapes "DailySet1-%%%"

maxdumpsize -1 # Maximum number of bytes the planner will schedule
# for a run (default: runtapes * tape_length).
tapetype HARDDISK # what kind of tape it is (see tapetypes below)
define tapetype HARDDISK {
comment "Backup to Virtual Tape"
length 3072 mbytes #each tape is 3 gigs
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Online Backup : What do you use and how do you setup it ? XZed Technical 5 4th January 2010 19:02
postfix virtual users rsync mx backup? unclecameron Server Operation 3 1st August 2009 11:40
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 11:07
Tape Backup xendistar Technical 2 25th February 2006 15:45
postfix config jmroth Installation/Configuration 6 18th September 2005 16:58

All times are GMT +2. The time now is 03:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.