Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ Process getting killed automatically

Posted by: RuneSvendsen Apr 24 2008, 04:05 AM

I have Featherlinux running from a live CD on an old Compaq server. I've copied the contents of the various hard drive partitions on this Compaq server to a Windows share mounted via Samba.

I would like to make sure that I have an exact copy of the local files on the Compaq partitions copied to my Windows share. So I want to compare the resulting the files with the original ones, i'm using "diff" for this purpose.

I execute the command:

diff -r maal/compaq /media

The program executes for a while and then outputs the following message:

Killed

I've also tried this command, to compare file names and file sizes:

cmp `ls -R -s --block-size=1 /maal/compaq` `ls -R -s --block-size=1 /media`

Which, after some time, outputs the same:

Killed

I can't figure out what is killing it or why it is being killed.

Does anyone know how to make sure the process doesn't get killed, or, alternatively, a method for making an exact copy of some local folders to another location which also checks the copies against each other afterwards to make sure they're equal?

Thanks in advance!

EDIT: I just tried backing up with tar. Here's the result:

root@0[knoppix]# tar -cpkf 1048576 maal/compaq/back.tar.gz /media/sda2 /media/sda5 /media/sdb1
tar: Removing leading `/' from member names
Killed

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)