error in EA block 1

Help
nickwen
2006-04-03
2013-05-20
  • nickwen
    nickwen
    2006-04-03

    i runs dump-0.4b41 on RedHat WS 4.0 with SELinux

    dump -u0 -b 60 -M -f /root/stdev /dev/hda1

    changed some file

    dump -u2 -b 60 -M -f /root/st /dev/hda1

    then started with restore

    mkfs.ext3 /dev/hda1
    mount /dev/hda1 /mnt/hda1
    cd /mnt/hda1
    restore -b 60 -r -f /root/stdev

    restore -b 60 -r -f /root/st

    it found errors on the second cmd.

    Dump tape is compressed.
    restore: ./tmp/RSTTMP0720790/linc-c7f-0-6682a7dfc5d74: No such file or directory
    restore: ./tmp/RSTTMP0720756/3199: No such file or directory
    restore: cannot rename ./RSTTMP0195457/mapping-root to ./usr/lib/python2.3/lib-dynload/_curses_panel.so: No such file or directory
    restore: cannot rename ./usr/X11R6/lib/X11/locale/ja_JP.UTF-8/acpid.socket to ./usr/bin/ccexample: No such file or directory
    restore: cannot rename ./usr/X11R6/lib/X11/locale/lib/system_bus_socket to ./usr/bin/pilot-schlep: No such file or directory
    restore: ./usr/lib/python2.3/lib-dynload/_curses_panel.so: No such file or directory
    Dump tape is compressed.
    error in EA block 1
    magic = 0
    restore: ./usr/bin/ccexample: No such file or directory
    restore: ./usr/bin/pilot-schlep: No such file or directory

     
    • Stelian Pop
      Stelian Pop
      2006-04-03

      I'm not sure this is a problem with EA, more likely some dump corruption. It could be a bug in dump or some operator error.

      > dump -u0 -b 60 -M -f /root/stdev /dev/hda1

      So you do a multi-volume dump ? What are /root/stdev and /root/st ? Special devices or normal files ? Why are there two of them instead of one ?

      Do you have enough space in /tmp (if you don't you can override the location of some free space in TMPDIR) ?

      Stelian.

       
    • nickwen
      nickwen
      2006-04-04

      /root/stdev and /root/st is just on harddisk! just normal files.
      i am sure that TMPDIR has enough space.

      i forgot the param in dump
      dump -u0 -b 60 -B 600000 -M -f /root/stdev /dev/hda1

      dump -u2 -b 60 -B 600000 -M -f /root/st /dev/hda1

      i check with
      [root@(none) Full]# restore -b 60 -M -f 20060331133730.000/stdev -t /usr/bin/ccexample
      Dump tape is compressed.
      Dump   date: Fri Mar 31 13:37:30 2006
      Dumped from: Thu Mar 30 13:44:58 2006
      Level 2 dump of /mnt/syspart on (none):/dev/hda1
      Label: /
         1810504      ./usr/bin/ccexample

      [root@(none) Full]# restore -b 60 -M -f 20060331133730.000/stdev -t usr/lib/python2.3/lib-dynload/_curses_panel.so
      Dump tape is compressed.
      Dump   date: Fri Mar 31 13:37:30 2006
      Dumped from: Thu Mar 30 13:44:58 2006
      Level 2 dump of /mnt/syspart on (none):/dev/hda1
      Label: /
          195489      ./usr/lib/python2.3/lib-dynload/_curses_panel.so
         
         
      [root@(none) Full]# restore -b 60 -M -f 20060331133730.000/stdev -t /tmp/RSTTMP0720790/linc-c7f-0-6682a7dfc5d74
      Dump tape is compressed.
      Dump   date: Fri Mar 31 13:37:30 2006
      Dumped from: Thu Mar 30 13:44:58 2006
      Level 2 dump of /mnt/syspart on (none):/dev/hda1
      Label: /
      ./tmp/RSTTMP0720790/linc-c7f-0-6682a7dfc5d74 is not on the tape

      [root@(none) Full]# restore -b 60 -M -f 20060331133730.000/stdev -t /tmp/RSTTMP0720756/3199
      Dump tape is compressed.
      Dump   date: Fri Mar 31 13:37:30 2006
      Dumped from: Thu Mar 30 13:44:58 2006
      Level 2 dump of /mnt/syspart on (none):/dev/hda1
      Label: /
      ./tmp/RSTTMP0720756/3199 is not on the tape

       
    • Stelian Pop
      Stelian Pop
      2006-04-04

      The RSTTMP directories are not on the tape, they are temporary names used by restore when restoring in some special cases (when a directory got moved for example).

      So it is perfectly normal that you won't find them inside the backup when listing with -t.