On Tue, 27 Nov 2001, Chris Freeman wrote:
> [amanda@jabba amanda]$ /usr/local/sbin/amlabel DiskDump DiskDump00 > rewinding > amlabel: tape_rewind: rewinding tape: file:/backup/DiskDump: > Input/output error tapeio was motivated by the desire to be able to debug amanda code without the need of a tape drive. That it can also be used to run backups without a tape drive is a secondary benefit. I think it's for this reason that tapeio goes to great lengths to simulate a tape drive as closely as possible. Hence it is designed to perform all normal tape operations such as labelling a "tape", having to be rewound before reading or writing a "tape", etc. The "no-rewind device" that you specify in the conf file is not a device that doesn't need to be rewound, it's the no-rewind device file for your tape drive. In unix-speak this is the access method that does not automatically rewind the tape drive each time it is used. Software accessing the tape drive through this device file needs to explicitly request a rewind operation when it is desired. In the case of tapeio the "device file" is a directory, but when the time comes for a rewind, tapeio does in fact simulate a rewind operation on the simulated tape drive. With that background behind us, the error you're getting sounds to me like a directory or file permission problem. I'd suggest double-checking all your file/directory ownership/group/permission settings. -Mitch
