giis-ext4 to undeleted files from another device, mounted to /mnt/d1.
okay,mounting another ext4 device should be fine with giis-ext4.
No, I did not do that.
So that's reason for previous error message on "open_db".
giis-ext4 will be running as a cronjob, scanning
the "protected directories" and keeping a log of changes in there, to be
able to recover them later on?
giis-ext4 will run from cronjob from every "auto update time"
and scanning protected directories and keeps track of files meta-data (inode) but not actual file contents.(data blocks)
If something deleted and assuming the deleted files contents are not overwritten,yet. It recovers them using files meta-data.
So the disadvantage is , giis-ext4 won't recover files deleted before it's installation.
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:31
I haven't seen this error with Fedora/Ubuntu , I'll debug more about this and hopefully find a solution and post it here.
Thanks.
--
----
Cheers,
Lakshmipathi.G
www.giis.co.in
On Sun, Feb 14, 2010 at 2:50 AM, Christian Kujau <lists@xxxxxxxxxxxxxxx> wrote:
On Sat, 13 Feb 2010 at 20:16, lakshmi pathi wrote:My root filesystem is ext4 too, yet, but I tried to somehow convince
> 1.Is your root file system (/dev/xvda1) is ext4?
giis-ext4 to undeleted files from another device, mounted to /mnt/d1.
No, I did not do that. I have the the INSTALL file mentioning the "-i"
> 2.Have you added the directory /mnt/d1 using "giis-ext4 --install" option?
switch but I did not know what it meant with "which directories to
protect". I take it that giis-ext4 will be running as a cronjob, scanning
the "protected directories" and keeping a log of changes in there, to be
able to recover them later on?
I've tried that now. However, I cannot add /mnt/d1 (which is a ext4
> Because you need to configure it to protect important directories, in this
> case add /mnt/d1 before running "giis-ext4 -g".
mountpoint) to the list, as giis-ext4 will segfault then. When I add some
directory from the root filesystem, --install will run successfully.
Christian.
Script started on Sat Feb 13 21:59:34 2010
# df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg0-lv0 485M 35M 425M 8% /mnt/d1
# gdb /usr/local/src/giis-ext4/bin/giis-ext4
GNU gdb (GDB) 7.0.1-debian
Reading symbols from /usr/local/src/giis-ext4/bin/giis-ext4...(no debugging symbols found)...done.
(gdb) run -i
Starting program: /usr/local/src/giis-ext4/bin/giis-ext4 -i
[Thread debugging using libthread_db enabled]
Device Found : /dev/xvda1
giis : Taking snapshot of current File system[New Thread 0x7ffff6fae910 (LWP 6592)]
[Thread 0x7ffff6fae910 (LWP 6592) exited]
giis-ext4:Installation begins..
giis-ext4: header table created
giis-ext4: file table created
What's the maximum directory depth?5
Enter the dirname name,that you would like to protect(Max. 7 directories)
Enter dirname:/mnt/d1
Press 1 to add/protect another directory else Press 0 to complete: 0Parsing directory : /mnt/d1
Check for newly files every 'auto update time' minutes.
Enter auto update time: 10
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:31
31 ../sysdeps/x86_64/strlen.S: No such file or directory.
in ../sysdeps/x86_64/strlen.S
Current language: auto
The current source language is "auto; currently asm".
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:31
#1 0x0000000000402134 in giis_ext4_sqlite_insert_record ()
#2 0x0000000000401c05 in giis_ext4_parse_dir ()
#3 0x0000000000401ad2 in giis_ext4_parse_dir ()
#4 0x0000000000403ae6 in giis_ext4_update_dirs ()
#5 0x0000000000401707 in main ()
(gdb) bt full
#0 strlen () at ../sysdeps/x86_64/strlen.S:31
No locals.
#1 0x0000000000402134 in giis_ext4_sqlite_insert_record ()
No symbol table info available.
#2 0x0000000000401c05 in giis_ext4_parse_dir ()
No symbol table info available.
#3 0x0000000000401ad2 in giis_ext4_parse_dir ()
No symbol table info available.
#4 0x0000000000403ae6 in giis_ext4_update_dirs ()
No symbol table info available.
#5 0x0000000000401707 in main ()
No symbol table info available.
(gdb) quit
A debugging session is active.
Inferior 1 [process 6589] will be killed.
Quit anyway? (y or n) y
# exit
Script done on Sat Feb 13 22:01:05 2010
--
BOFH excuse #283:
Lawn mower blade in your fan need sharpening
_______________________________________________ Ext3-users mailing list Ext3-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ext3-users