> >Before running amcleanup I checked the content of my
> >holding disk. It contained a subfolder with the date
> >of the normal run, but the folder was empty.
>
> There's not enough information yet to know what's going on with your
> setup.  You need to get through a complete amdump without it aborting
> before we deal with the holding disk situation.
>
> The datestamp directory is normal in the sense that that's created early
> in the amdump run to hold the images.  But my guess is something else
> happened to cause the run to abort, hence the empty holding disk and
> amcheck whining about amdump still running.
>
> Check to see if amdump is still running (ps -u <amanda-user>).  Assuming
> it isn't, run amcleanup.  Run amcheck and make sure it's happy.  Then run
> amdump and if it fails, report everything it had to say.  If it does
> not fail, look in your holding disk area again.
>
> >I'm running Amanda version 2.4.2p2
>
> Thanks for that info.  At least we'll know what set of code to be
> looking at.

Hi,

I'm having the same problem here, also running Amanda 2.4.2p2.

I run # su amanda -c "amdump daily", which finishes with no errors.
I get an email report saying:
*** A TAPE ERROR OCCURRED: [rewinding tape: Inappropriate ioctl for device].

I do a ps to make sure amdump is not running, then # su amanda -c "amcleanup
daily", which gives me:
amcleanup: no unprocessed logfile to clean up.
Scanning /export/dumps/amanda...
#

I then run # su amanda -c "amcheck daily", and get:
Amanda Tape Server Host Check
-----------------------------
Holding disk /export/dumps/amanda: 4784640 KB disk space available, using
4774400 KB
ERROR: /export/dumps/amanda: rewinding tape: Inappropriate ioctl for device
       (expecting a new tape)
NOTE: skipping tape-writable test
NOTE: info dir /usr/local/etc/amanda/daily/curinfo: does not exist
NOTE: it will be created on the next run
NOTE: index dir /usr/local/etc/amanda/daily/index: does not exist
Server check took 30.118 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.112 seconds, 0 problems found

I had set tapedev "/export/dumps/amanda" in amanda.conf with the (obviously
mistaken) understanding that Amanda would just dump to that dir. Should I be
setting this differently or commenting out something else in amanda.conf to
prevent it from mistaking this for a tape?

Any help appreciated.

Thanks,

Shawn

Reply via email to