On Wednesday 31 July 2002 06:17, carlos felipe useche wrote: >Hi, I hope someone can help me with this problem. > >I am running weekly amanda backups on my IRIX 6.5 server, and I > had no problems so far. Yesterday I made an extra backup using > xfsrestore and not amanda at all. Once the xfsrestore was > finished, I inserted back the weekly tape, and ran amcheck... > Now I have this error message I don't understand: > > Amanda Tape Server Host Check > ----------------------------- > /usr/local/amanda/hold: 1582060 KB disk space available, using >1274860 KB. > ERROR: /dev/rmt/tps1d3nr: reading label: Invalid argument. > (expecting tape info.mi:Woche_1 or a new tape) > NOTE: skipping tape-writable test. > >I am completely sure the tape I have inserted is labeled >info.mi:Woche_1. I didn't change anything in amanda's > configuration. > >Can anyone give me a hint? > >Thanx! > >carlos f. useche
AFAIK, any tape can be identifed by the following sequence assuming that your tape 'device' is /dev/rmt/tps1d3nr. #>mt -f /dev/rmt/tps1d3nr rewind #>dd if=/dev/rmt/tps1d3nr count=1 The first makes sure the tape is rewound, and the second should output on the screen the first block of the tape containing the label. You didn't state what drive, but there might be a slim chance the xfsrestore put the drive into some other mode that it might take a powerdown reset to restore a mode amanda is familiar with. Also, OnStream drives seem to generate more than their fair share of poor-mouthing. -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.09% setiathome rank, not too shabby for a WV hillbilly
