Large file copy problem solved?
Forum » Forum / Network Access » Large file copy problem solved?
started by: PineapplePineapple
on: 1209108311|%e %b %Y, %H:%M %Z|agohover
number of posts: 14
rss icon RSS: new posts
summary:
I'm able to copy 30G of movies to Mybook without crash
Large file copy problem solved?
PineapplePineapple 1209108311|%e %b %Y, %H:%M %Z|agohover

Here is what I did.
First check the share file system for error.
Login with SSH, get into superuser with su.
Unmount the share partition: umount /dev/md4
Run disc check: fsck.ext3 /dev/md4
It took a long time. Probably faster to delete the partition and reload it.
I had lots of errors. I ended up deleting all files after error check cleaned up the driver.
I then reboot Mybook, too lazy to find out how to properly mounting the partition again.
I add the following line to: /var/oxsemi/smb.conf
under [global] section:
oplocks = no
case sensitive = True
read size = 16384
read raw = no
write raw = no
load printers = no

I believe oplocks = no is what make the different.
read raw and write raw is for performance

Feel free to try and correct me if I'm wrong.
I'm still copying 68G of movies now. About 2hrs for 30G.
I don't care about speed now, I just want it to work.

Note: DO NOT use alt-web interface to edit the file. You WILL brick Mybook. Login with SSH and use vi or nano.

Update: 18-June-2008
Trying to copy 400GB from MyBook to another computer. the PC keep shutting down on its own. Add the following registry key if you have same problem:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"EnableOplocks"=dword:00000000

last edited on 1213822814|%e %b %Y, %H:%M %Z|agohover by Pineapple + show more
unfold Large file copy problem solved? by PineapplePineapple, 1209108311|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
etsmeetsme 1209494416|%e %b %Y, %H:%M %Z|agohover

Ive been reading up on optlocks for about an hour now, I was thinking I had to disable it in Vista.. but I just done your steps above and so far I have copied 3GB and still going.. I have 32GB in-line 3 hours it says over a 54mb wireless connection…. ill tell you all about it later

http://www.smallnetbuilder.com/content/view/30039/78/

thanks for your input Pineapple

last edited on 1209677803|%e %b %Y, %H:%M %Z|agohover by etsme + show more
unfold Re: Large file copy problem solved? by etsmeetsme, 1209494416|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
PineapplePineapple 1209502086|%e %b %Y, %H:%M %Z|agohover

Good to know it helps.
Oplocks works only when both side have it enabled. So as long the the one in MyBook is disabled, its good.

unfold Re: Large file copy problem solved? by PineapplePineapple, 1209502086|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
etsmeetsme 1209677726|%e %b %Y, %H:%M %Z|agohover

yep copied well over 90GB now not a hint of a glitch…………. you are now considered as a god in my house pineapple. top marks!
if it was'nt for you the kids would be playing football in the street with the drive right now.
cheers
john

unfold Re: Large file copy problem solved? by etsmeetsme, 1209677726|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
LorentLorent 1209725621|%e %b %Y, %H:%M %Z|agohover

I wasn't aware there was a problem? Been backing up my 250GB hard disk with no problems? :)

unfold Re: Large file copy problem solved? by LorentLorent, 1209725621|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
psilopsilo 1210510163|%e %b %Y, %H:%M %Z|agohover

The "straight out of the box" version didn't work. after+1gb my my book world edition 500gb freezes.
I really needed to format the /dev/md4 partition. and now it works really well!
I'm uploading now with a speed of 4 mb/s +8gb

unfold Re: Large file copy problem solved? by psilopsilo, 1210510163|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
PineapplePineapple 1210626396|%e %b %Y, %H:%M %Z|agohover

Looks like some of them come with bad partition?

unfold Re: Large file copy problem solved? by PineapplePineapple, 1210626396|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
teh_crashteh_crash 1212052353|%e %b %Y, %H:%M %Z|agohover

If anyone gets error message after trying to fsck:

Error allocating icount link information: Memory allocation failed

Here is solution: make 1gb empty file, mount it as swap, then run fsck.

unfold Re: Large file copy problem solved? by teh_crashteh_crash, 1212052353|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
TorPramTorPram 1214199534|%e %b %Y, %H:%M %Z|agohover

Hi - first time on here and complete newbie on WDWE- I have the II 1TB.

I bought it last wk and formatted it RAID 1 as soon as I got home. Got 2 computers to see the drive (one XP, one Vista) even though I have to reset the router every time before I turn on the drive (haven't looked at fixing the ip yet). So far so good…

Now I have the same problem of the drive dropping off network disrupting large files transfers and reconnects by itself. To copy my 80GB of photos little bit at a time would take me all week - I'd rather buy a new drive which works straight away. TBH, I have no clue what you write above as I've never used linux nor all that computer literate.

Contacted support and they suggest updating firmware - but I believe I already have the latest. I've tried to search around before wasting people's time on forums but can't really find much help. Is there anywhere helps me solves the problem in laymen's terms?

I thought this product was aimed at consumers who can plug it in and follow included instructions - now I'm finding that the product is very poor in this regard - should I just give up and use it as a bookend? (I'm in Thailand and bought it at a computer fair so no return policy). It still frustrates me so much that such a big company with so much resource still make really shoddy, relatively simple products.

Thanks!

unfold Re: Large file copy problem solved? by TorPramTorPram, 1214199534|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
sansensansen 1212046932|%e %b %Y, %H:%M %Z|agohover

Hello!!

This also fixed my issue: When I was writing many files, it said the disk was write protected and I wasn't able to write anymore unless I rebooted the disk.

You're great!!! Thanks a lot!!!!!!

/edit: ooooooops problem continues… I'll continue looking for a solution :(

/edit II: trying after reformating, it now seems to work! :)

last edited on 1212050787|%e %b %Y, %H:%M %Z|agohover by sansen + show more
unfold Re: Large file copy problem solved? by sansensansen, 1212046932|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
sidee008sidee008 1213542720|%e %b %Y, %H:%M %Z|agohover

Hi,

ok, this will sound lame but would you be so kind and write down how you reformated? I'm asking because I'm hoping that you'll reply in the way which will let keep my things on a hdd. I have half of my 1TB MyBook full and no other place where to move everything. Is there any way?

unfold Re: Large file copy problem solved? by sidee008sidee008, 1213542720|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
PineapplePineapple 1213649604|%e %b %Y, %H:%M %Z|agohover

Don't reformat if you want to keep all the files.
Run the disk check to see if any files are corrupted. If they're corrupted, you can use them anyway.

unfold Re: Large file copy problem solved? by PineapplePineapple, 1213649604|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
sidee008sidee008 1214233712|%e %b %Y, %H:%M %Z|agohover

Hi,

I've tried to run fsck.ext3 but when the disk check gets to the phase4 it says that there is incorrect size of: "i_node… is 938423948732 and should be 0". Than it asks if I want to fix it and if I say yes the fsck immediatelly quits without fixing my hdd :( Any ideas?

unfold Re: Large file copy problem solved? by sidee008sidee008, 1214233712|%e %b %Y, %H:%M %Z|agohover
Re: Large file copy problem solved?
PineapplePineapple 1214330602|%e %b %Y, %H:%M %Z|agohover

You got corrupted files. You'll need to delete the corrupted one to get it going again. Move as many as you can out of the drive. You can run fsck.ext3 with option to answer yes to all question. I gave up on mine and just deleted everything.

unfold Re: Large file copy problem solved? by PineapplePineapple, 1214330602|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License