PDA

View Full Version : Samba server extremely slow!



Josh83
10-15-2005, 02:52 PM
hi all

my notebook's hd has crashed, and now i can't boot or install any system anymore. some hd sectors seem to be corrupt, and now i'm trying to rescue some data from it.

i booted the broken notebook with knoppix 3.6 and started the samba server. then i connect from a windows xp desktop to it and copy the files.

unfortunately the smb server seems to crash or something like that when a file is corrupt... anyway the network does not react anymore and i have to restart the whole knoppix to go on with my work.
After the restart the server is fast for a minute or so, and then it becomes damn slow again... it takes a minute or so to display a directory...
what could be wrong there?

btw where can i find disk diagnosis utilities on knoppix?

thanks a lot
josh

OErjan
10-15-2005, 04:59 PM
as to samba, yes restarting it should work.
as to copying corupt files.
hmm,
dd if=/path/to/corrupt/file/whaterver.XYZ of=/path/to/new/location/file.XYZ conv=noerror would work on the same system (spare hdd, USBpen, externalHDD...) but ower network?? no idea.
EDIThave you considered starting a FTP server on the knoppix box? that would speed things up quite a bit./EDIT

OErjan
10-15-2005, 05:33 PM
by the way.
it wil be easyer for us to keep track of events... if you make a new posting for each relply/coment you make.

Josh83
10-15-2005, 06:10 PM
thank you. how could i start an ftp server?

OErjan
10-15-2005, 08:59 PM
you can start a secure encrypted ftpserver in about 20 seconds. here is more.
http://www.knoppix.net/forum/viewtopic.php?t=9076
http://www.knoppix.net/forum/viewtopic.php?t=18341
if i am not totaly misinformed you could then use winscp and atach to the sftp server from your XP box.
EDIT
just to see what would hapen I had a female friend (rather friend to my beloved monica) try setingup sshd with the above pages as guide.
took her just above 13 min from putting the 4.0.2DVD in to working sftp server.
she has NO linux experience and not much Win either (she can use Word to some extent, and she knows how to send/recieve mail). she had to read the pages a few times and so but...
/EDIT