Hi,
Find below the output from the program.
/dev/vg/backuppc is a VLM volume with 330310176 blocks (cleanly
unmounted, read as a device with read only permission)
ext3grep version 6.0
kernel version 2.4.27
Debian 3.1, e2fslibs-dev_1.39+1.40-WIP-2006
My situation is the following, I had the files in one tree with
hardlinks to the "actual" contents in another tree. The first tree
had the real names and directory structure, but the second tree is
almost flat and all files have an md5sum string as name. (That is
backuppc, that allows for multiple linking of the same file across
many backups).
After accidentally erasing the tree that held the names, all I have
now are the files with the md5 names.
So, I'm trying to recover the filenames and make them point to the
mdsum names so that I don't have to go every file to know what it is
and how to name it, and so that I don't lose the directory hierarchy.
I guess this is pretty easy for ext3grep, if I get it to work. Any
ideas on how to overcome the error below?
Thanks for anytime you can devote to this.
~/src$ ext3grep-0.6.0/src/ext3grep /dev/vg/backuppc --ls --inode 2
Running ext3grep version 0.6.0
Number of groups: 2561
Loading group metadata... done
Minimum / maximum journal block: 1033 / 496305
Loading journal descriptors... sorting...ext3grep.cc:1336: void
load_meta_data(int): Assertion `device.good()' failed.
Backtrace:
#0 ext3grep-0.6.0/src/ext3grep(_Z17dump_backtrace_onRSo+0x3e)
[0x80b73ae]
/home/edu/src/ext3grep-0.6.0/src/backtrace.cc:61
#1 ext3grep-0.6.0/src/ext3grep(_Z11assert_failPKcS0_iS0_+0xbc)
[0x807ed06]
/home/edu/src/ext3grep-0.6.0/src/ext3grep.cc:331
#2 ext3grep-0.6.0/src/ext3grep(_Z14load_meta_datai+0xdc) [0x8080e22]
/home/edu/src/ext3grep-0.6.0/src/ext3grep.cc:1337
#3 ext3grep-0.6.0/src/ext3grep [0x807f9ca]
/home/edu/src/ext3grep-0.6.0/src/ext3grep.cc:840
#4 ext3grep-0.6.0/src/ext3grep [0x808c2ff]
/home/edu/src/ext3grep-0.6.0/src/ext3grep.cc:4167
#5 ext3grep-0.6.0/src/ext3grep(_Z11run_programv+0x93e) [0x80818e4]
/home/edu/src/ext3grep-0.6.0/src/ext3grep.cc:1502
#6 ext3grep-0.6.0/src/ext3grep(main+0x63b) [0x8084163]
/home/edu/src/ext3grep-0.6.0/src/ext3grep.cc:2084
#7 /lib/libc.so.6(__libc_start_main+0x9e) [0x401253be]
??:0
#8 ext3grep-0.6.0/src/ext3grep(__gxx_personality_v0+0x44d)
[0x807e951]
../sysdeps/i386/elf/start.S:122
Aborted
~/src$