Package: dump
Version: 0.4b42-2
Severity: normal

Hallo,

The command restore doesn't work correctly with the option -Q (Quick
File Access).  I have made a level 2 dump of a (ext4)-filesystem with
the option -Q. When I want to restore all the files from the dump and
are using the -Q option, restore reports that it can't find one of the
files in the dump. When I start restore without the -Q option, it won't
complain and does restore that particulry file.

I have tried some other dumps and it seams that restore always complains
on the first inode of the qfa-file. I think it is an off-by-one error.

Regards,
Vincent Smeets


vinc...@pc-vincent:~/tmp$ dump -2 -f debian.2 -Q debian.2.qfa 
/dev/mapper/raid-debian
  DUMP: Date of this level 2 dump: Sat Jan  9 16:33:39 2010
  DUMP: Date of last level 1 dump: Thu Dec 10 20:36:25 2009
  DUMP: Dumping /dev/mapper/raid-debian (/debian) to debian.2
  DUMP: Label: debian
  DUMP: Writing 10 Kilobyte records
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 16860 blocks.
  DUMP: writing QFA positions to debian.2.qfa
  DUMP: Volume 1 started with block 1 at: Sat Jan  9 16:33:39 2010
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: Closing debian.2
  DUMP: Volume 1 completed at: Sat Jan  9 16:33:39 2010
  DUMP: Volume 1 16850 blocks (16.46MB)
  DUMP: 16850 blocks (16.46MB) on 1 volume(s)
  DUMP: finished in less than a second
  DUMP: Date of this level 2 dump: Sat Jan  9 16:33:39 2010
  DUMP: Date this dump completed:  Sat Jan  9 16:33:39 2010
  DUMP: Average transfer rate: 0 kB/s
  DUMP: DUMP IS DONE

vinc...@pc-vincent:~/tmp$ restore -x -f debian.2 -Q debian.2.qfa
reading QFA positions from debian.2.qfa
../gnucash_2.2.9-2.patch: (inode 15) not found on tape
set owner/mode for '.'? [yn] n

vinc...@pc-vincent:~/tmp$ restore -x -f debian.2
restore: ./testing: File exists
You have not read any volumes yet.
Unless you know which volume your file(s) are on you should start
with the last volume and work towards the first.
Specify next volume # (none if no more volumes): 1
set owner/mode for '.'? [yn] n

vinc...@pc-vincent:~/tmp$ cat debian.2.qfa
495115637697
1.0
1263051219

ino     tapeno  tapepos
15      1       10240
643     1       20480
644     1       3215360
646     1       6410240
647     1       6440960
662     1       6451200
663     1       11468800
664     1       15237120
674     1       17223680
689     1       17233920





-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dump depends on:
ii  e2fslibs                  1.41.9-1       ext2/ext3/ext4 file system librari
ii  libblkid1                 2.16.2-0       block device id library
ii  libc6                     2.10.2-2       GNU C Library: Shared libraries
ii  libcomerr2                1.41.9-1       common error description library
ii  libdevmapper1.02.1        2:1.02.39-1    The Linux Kernel Device Mapper use
ii  libncurses5               5.7+20090803-2 shared libraries for terminal hand
ii  libreadline6              6.0-5          GNU readline and history libraries
ii  libselinux1               2.0.89-4       SELinux runtime shared libraries
ii  libsepol1                 2.0.40-2       SELinux library for manipulating b
ii  libuuid1                  2.16.2-0       Universally Unique ID library
ii  tar                       1.22-2         GNU version of the tar archiving u

dump recommends no packages.

dump suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to