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.
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. Paddy
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: amanda-backup_server-2.6.1p1-1.rhel5.i386.rpm 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 }