Results 1 to 2 of 2

Thread: ERROR taper no-tape [No writable valid tape found]

  1. #1
    Join Date
    Oct 2011
    Posts
    2

    Default ERROR taper no-tape [No writable valid tape found]

    Hello All,

    I have configured amanda with virtual tapes. My configuration is:

    # a filesystem is due for a full backup once every day
    dumpcycle 0 days # the number of days in the OS_BACKUP dump cycle
    tapecycle 15 tapes # the number of tapes in rotation


    tpchanger "chg-disk"
    changerfile "/etc/amanda/OS_BACKUP/changer"
    tapedev "file:/backups/OS_BACKUP/slots" # Linux @ tuck, important: norewinding

    indexdir "/var/log/amanda/OS_BACKUP/index"
    logdir "/var/log/amanda/OS_BACKUP/"
    infofile "/var/log/amanda/OS_BACKUP/curinfo"

    tapetype HARD-DISK # what kind of tape it is (see tapetypes below)

    define tapetype HARD-DISK {
    comment "Backup to HD"
    length 3072 mbytes
    }

    define dumptype root-tar {
    comment "example dumptype"
    compress client fast
    program "GNUTAR"
    strategy standard
    priority high
    }

    usetimestamps yes

    holdingdisk hd1 {
    comment "main holding disk"
    directory "/backups/hold" # where the holding disk is
    use 290 Mb # how much space can we use on it
    # a non-positive value means:
    # use all space but that value
    chunksize 1Gb # size of chunk if you want big dump to be
    # dumped on multiple files on holding disks
    # N Kb/Mb/Gb split images in chunks of size N
    # The maximum value should be
    # (MAX_FILE_SIZE - 1Mb)
    # 0 same as INT_MAX bytes
    }


    amdump OS_BACKUP under amanda, my log looks like:

    DISK planner test /
    START planner date 20111018072339
    START driver date 20111018072339
    STATS driver hostname test
    STATS driver startup time 0.005
    ERROR taper no-tape [No writable valid tape found]
    WARNING taper slot 6: not an amanda tape (Read 0 bytes)
    WARNING taper slot 7: not an amanda tape (Read 0 bytes)
    WARNING taper slot 8: not an amanda tape (Read 0 bytes)
    WARNING taper slot 9: not an amanda tape (Read 0 bytes)
    WARNING taper slot 10: not an amanda tape (Read 0 bytes)
    WARNING taper slot 11: not an amanda tape (Read 0 bytes)
    WARNING taper slot 12: not an amanda tape (Read 0 bytes)
    WARNING taper slot 13: not an amanda tape (Read 0 bytes)
    WARNING taper slot 14: not an amanda tape (Read 0 bytes)
    WARNING taper slot 15: not an amanda tape (Read 0 bytes)
    WARNING taper slot 1: not an amanda tape (Read 0 bytes)
    WARNING taper slot 2: not an amanda tape (Read 0 bytes)
    WARNING taper slot 3: not an amanda tape (Read 0 bytes)
    WARNING taper slot 4: not an amanda tape (Read 0 bytes)
    WARNING taper slot 5: not an amanda tape (Read 0 bytes)
    WARNING taper changer problem: 5 file:/backups/OS_BACKUP/slots
    FINISH planner date 20111018072339 time 0.539
    SUCCESS dumper test / 20111018072339 1 [sec 0.272 kb 415 kps 1524.5 orig-kb 3380]
    SUCCESS chunker test / 20111018072339 1 [sec 0.276 kb 415 kps 1614.1]
    STATS driver estimate test / 20111018072339 1 [sec 4 nkb 3402 ckb 448 kps 83]
    FINISH driver date 20111018072339 time 1.825

    list of the slots

    ls -l /backups/OS_BACKUP/
    total 8
    -rw------- 1 amanda disk 15 Oct 16 23:45 info
    drwxrwxr-x 27 amanda disk 4096 Oct 18 07:23 slots

    ls -l /backups/OS_BACKUP/slots
    total 104
    lrwxrwxrwx 1 amanda disk 30 Oct 18 07:23 data -> /backups/OS_BACKUP/slots/slot5
    -rwxrwxr-x 1 amanda disk 15 Oct 18 07:26 info
    drwxrwxr-x 2 amanda disk 4096 Oct 18 07:01 slot1
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot10
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot11
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot12
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot13
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot14
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot15
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot16
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot17
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot18
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot19
    drwxrwxr-x 2 amanda disk 4096 Oct 18 07:01 slot2
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot20
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot21
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot22
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot23
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot24
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot25
    drwxrwxr-x 2 amanda disk 4096 Oct 16 23:45 slot3
    drwxrwxr-x 2 amanda disk 4096 Oct 16 23:45 slot4
    drwxrwxr-x 2 amanda disk 4096 Oct 16 23:45 slot5
    drwxrwxr-x 2 amanda disk 4096 Oct 16 23:45 slot6
    drwxrwxr-x 2 amanda disk 4096 Oct 16 23:45 slot7
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot8
    drwxr-x--- 2 amanda disk 4096 Oct 18 07:23 slot9

    and

    /usr/sbin/ammt -f file:/backups/OS_BACKUP/slots status
    file:/backups/OS_BACKUP/slots status: ONLINE


    could somebody tell me where could a problem?


    Thanks

    Jozef

  2. #2
    Join Date
    Oct 2011
    Posts
    2

    Default

    this removed my errors

    [url]http://wiki.zmanda.com/index.php/Not_an_amanda_tape[/url]

Posting Permissions

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