Thanks for your feedback/comments.I have following queries,
1.Is your root file system (/dev/xvda1) is ext4?
2.Have you added the directory /mnt/d1 using "giis-ext4 --install" option?
Because you need to configure it to protect important directories, in this case add /mnt/d1 before running "giis-ext4 -g".
I get the same error message,when giis-ext4 -g is invoked without configuring it using "giis-ext4 --install"
-----------
giis-ext4: giis-ext4.c:863: open_db: Assertion `error == 0' failed.
Aborted (core dumped)
-------------
See my comments (/* */) on right-side in following output:
-------------------------
# giis-ext4 --install
Device Found : /dev/mapper/vg_space-lv_root /* root device taken from /etc/mtab */
giis : Taking snapshot of current File system
giis-ext4:Installation begins..
giis-ext4: header table created
giis-ext4: file table created
What's the maximum directory depth?5 /*Max. directory depth involved */
Enter the dirname name,that you would like to protect(Max. 7 directories)
Enter dirname:/mnt/d1 /* Enter important directories to protect */
Press 1 to add/protect another directory else Press 0 to complete: 1
Enter dirname:/opt/testing /* Enter important directories */
Press 1 to add/protect another directory else Press 0 to complete: 0
Check for newly files every 'auto update time' minutes.
Enter auto update time: 10 /* Every 10 minutes giis-ext4 , searches for any modified/new files under protected dirs*/
-------------------
Now if you delete files from protected dirs (say /mnt/d1),then you can recover them using "giis-ext4 -g " option.
Thanks for the Makefile too,I'll use it :)
If you are stilling getting same error , please let me know.
--
----
Cheers,
Lakshmipathi.G
www.giis.co.in
On Sat, Feb 13, 2010 at 1:17 PM, Christian Kujau <lists@xxxxxxxxxxxxxxx> wrote:
On Thu, 11 Feb 2010 at 19:56, lakshmi pathi wrote:I'm always curious about these undeletion attempts and so I've tried it.
> Feedback/comments on giis-ext4 are most welcome.
But without luck again:
# giis-ext4 -g
Enter your option: 1
giis-ext4: giis-ext4.c:863: open_db: Assertion `error == 0' failed.
Aborted
# echo $?
134
This has been compiled with
- e2fslibs-dev 1.41.10
- libsqlite3-dev 3.6.22
- gcc 4.4.3, with -g -ggdb
I've attached the gdb output and tune2fs output to this email.
HTH,
Christian.
--
BOFH excuse #24:
network packets travelling uphill (use a carrier pigeon)
_______________________________________________ Ext3-users mailing list Ext3-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ext3-users