, I want to label this same tape, and perform the first backup.
> >
> > # sudo -u backup amlabel -f DailySet1 backup.001
> > rewinding, reading label, not an amanda tape (Invalid argument)
> > rewinding, writing label backup.001, checking label
> > amlabel: not a
backup.001, checking label
amlabel: not an amanda tape (Invalid argument)
What do you think?
Seems that, when reading something from the tape
some syscall used returns "Invalid argument".
Pure guesses:
- Is your tapedevice in the amanda.conf set to a real device?
- Did you modify
not an amanda tape (Invalid argument)
> rewinding, writing label backup.001, checking label
> amlabel: not an amanda tape (Invalid argument)
>
>
> What do you think?
(I thought: "Should I reply or not?" ;-) )
What's the definition of labelstr in your amanda.conf?
Your label does not fit that definition.
Stefan
successfully
got a tapetype definition.
Now, I want to label this same tape, and perform the first backup.
# sudo -u backup amlabel -f DailySet1 backup.001
rewinding, reading label, not an amanda tape (Invalid argument)
rewinding, writing label backup.001, checking label
amlabel: not an
definition.
Now, I want to label this same tape, and perform the first backup.
# sudo -u backup amlabel -f DailySet1 backup.001
rewinding, reading label, not an amanda tape (Invalid argument)
rewinding, writing label backup.001, checking label
amlabel: not an amanda tape (Invalid argument