Results 1 to 2 of 2

Thread: Unable to read: /etc/amanda/test1/changer-2-chdrive.mtx

  1. #1
    Join Date
    Apr 2013
    Location
    British Columbia
    Posts
    2

    Default Unable to read: /etc/amanda/test1/changer-2-chdrive.mtx

    I just noticed today when rechecking my backup settings that an error message is showing for one of my backup sets.

    Looking on the Zmanda web GUI page "Backup - media" and selecting my backup set "test1" I see error messages

    Unable to read: /etc/amanda/test1/changer-2-chdrive.mtx

    Label: Scan exception

    An internal exception has occurred. The requested operation did not complete successfully.

    An unexpected problem occurred while reading the list of devices:'. Exception 2073: AGS fatal error.


    Exception 201: Unable to read: /etc/amanda/test1/changer-2-chdrive.mtx
    +201 /opt/zmanda/amanda/apache2/htdocs/zmanda-aee/ZMC/AGS/Label.php
    #0 /opt/zmanda/amanda/apache2/htdocs/zmanda-aee/ZMC/AGS/Label.php(108): ZMC_AGS_Label->getBarcodes()
    #1 [internal function]: ZMC_AGS_Label->opScan()
    #2 /opt/zmanda/amanda/apache2/htdocs/zmanda-aee/ZMC/AGS/AGS.php(469): call_user_func(Array)
    #3 /opt/zmanda/amanda/apache2/htdocs/zmanda-aee/ZMC/AGS/AGS.php(237): ZMC_AGS->run()
    #4 /opt/zmanda/amanda/apache2/htdocs/zmanda-aee/ZMC/AGS/AGS.php(2043): ZMC_AGS->bootstrap(Array)
    #5 /opt/zmanda/amanda/apache2/htdocs/zmanda-aee/ZMC/Backup/Media.php(335): ZMC_AGS:peration(Object(ZMC_Registry_MessageBox), Array)
    #6 /opt/zmanda/amanda/apache2/htdocs/zmanda-aee/ZMC/Backup/Media.php(317): ZMC_Backup_Media->editChanger(Object(ZMC_Registry_MessageBox), Array)
    #7 /opt/zmanda/amanda/apache2/htdocs/zmanda-aee/ZMC/Backup/Media.php(188): ZMC_Backup_Media->edit(Object(ZMC_Registry_MessageBox))
    #8 /opt/zmanda/amanda/apache2/htdocs/zmanda-aee/ZMC/Backup/Media.php(42): ZMC_Backup_Media->runState(Object(ZMC_Registry_MessageBox))
    #9 [internal function...

    Navigating to directory /etc/amanda/test1 I do not see a file called changer-2-chdrive.mtx

    I do see


    /etc/amanda/test1:
    used 88 available 431925376
    drwxr-x--- 6 amandabackup disk 4096 Apr 19 11:38 .
    drwxr-x--- 6 amandabackup disk 4096 Nov 27 16:11 ..
    -rw------- 1 amandabackup disk 925 Dec 10 11:45 amanda.conf
    -rw-r----- 1 amandabackup disk 72 Dec 11 16:08 amgetindex
    -rw-r----- 1 amandabackup disk 5 Dec 11 16:08 amgetindex.pid
    -rw------- 1 amandabackup disk 4 Apr 18 23:15 changer-2-chdrive.changer-access
    -rw-r----- 1 amandabackup disk 0 Jan 12 2011 changer-2-chdrive.changer-barcodes
    -rw-r----- 1 amandabackup disk 2 Jan 12 2011 changer-2-chdrive.changer-clean
    -rw------- 1 amandabackup disk 390 Apr 19 11:38 changer-2-chdrive.changer.conf
    -rw------- 1 amandabackup disk 2 Apr 18 23:17 changer-2-chdrive.changer-slot
    -rw------- 1 amandabackup disk 894 Apr 19 11:38 changer-2-chdrive.conf
    -rw------- 2 amandabackup disk 381 Apr 19 11:38 changer-2-chdrive.cron
    -rw------- 1 amandabackup disk 96 Apr 18 23:17 changer-2-chdrive.slotinfo
    -rw------- 1 amandabackup disk 2636 Apr 19 11:38 changer-2-chdrive.yml
    -rw------- 2 amandabackup disk 1493 Jan 13 2011 chdrive.profile
    drwxr-x--- 4 amandabackup disk 4096 Mar 30 2011 curinfo
    -rw------- 1 amandabackup disk 2138 Dec 3 11:58 disklist.conf
    drwxr-x--- 4 amandabackup disk 4096 Mar 30 2011 index
    drwx------ 4 amandabackup disk 4096 Dec 11 16:07 jobs
    drwx------ 3 amandabackup disk 4096 Apr 18 23:18 logs
    -rw------- 1 amandabackup disk 248 Apr 18 23:17 tapelist
    -rw-r--r-- 1 amandabackup disk 569 Apr 19 11:36 zmc_status

    I have been unable to find any documentation on this .mtx file or any posting
    discussing this error with any suggestion of solutions.

    My backups all seem to be working fine, I have been able to restore files from
    other backup sets.

    Any ideas as to what is causing this issue, whether I need to worry about it,
    and how to fix it?

  2. #2
    Join Date
    Apr 2013
    Location
    British Columbia
    Posts
    2

    Default Solution

    Reply from Zmanda support, if anyone else has this problem:


    Thank you for contacting Zmanda Support.

    Please switch to the amandabackup user and manually create the mtx file. To do this:

    su - amandabackup
    cd /etc/amanda/test1
    mtx -f /dev/changer-sg3 > changer-2-chdrive.mtx

    Once you've done this, navigate to the Backup| Media page and verify the error has gone away. The issue is a bug in Amanda Enterprise 3.1.5.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •