On Sunday 18 August 2002 14:29, S�bastien GALLET wrote: >Yes i do. >The file mentionned by changerfile in amanda.conf must NOT exist > or be empty. > >In chg-manual, comment the line > DD if=$tape count=1 >> $logfile 2>&1 > >This command reads the beginning of the tape (only to log it) and > causes an Input/Output Error in amanda when it try to get tape > label. > Change the $tape to whatever your rewinding device is and that will go away. Either that, or update your amanda, which in recent versions does a rewind before trying to read the label. The problem is that the tape is being left positioned past the label block when read by the non-rewinding $tape device.
>Bye > >----- Original Message ----- From: "Jon LaBadie" <[EMAIL PROTECTED]> >To: "amanda-users" <[EMAIL PROTECTED]> >Sent: Thursday, August 15, 2002 11:22 PM >Subject: chg-manual has anyone used it successfully? > >> Investigating a recent posting I looked at the chg-manual code. >> It contains the following: >> >> if [ -f $changerfile ]; then >> . $changerfile >> fi >> >> $changerfile is <configdir>/changer.conf normally. >> >> It is being "sourced" in this code such that the lines should >> be shell script syntax. But changer.conf is not a shell script. >> Instead it contains lines like: >> >> number_configs 1 >> >> which the sourcing tries to execute like a command line and >> of course there is no program called "number_configs". >> >> It appears that the author of chg-manual expected the syntax >> of changer.conf to be parameter assignments like NUM_CONFIG=1. >> >> Has anyone been using chg-manual? HOW? >> >> -- >> Jon H. LaBadie [EMAIL PROTECTED] >> JG Computing >> 4455 Province Line Road (609) 252-0159 >> Princeton, NJ 08540-4322 (609) 683-7220 (fax) -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.12% setiathome rank, not too shabby for a WV hillbilly
