LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2006, 04:50 PM   #1
jammer69
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
Samba corrupts filesystem


Samba corrupts filesystem

--------------------------------------------------------------------------------

Howdy,

** I could really use some expert help here, or even take a stab in the dark if you dare. I appreciate any advice.

This is not the first time this has happened. I'll try to explain as best I can:

Cause:

I was transferring a ~4GB file (rambo.mpg) from a win2k shared folder to a fat32 shared folder on my Dapper box. It aborted midstream after about ~3 GB or so and gave me some strange "Invalid Protocol" error (or something to that extent). It left a "rambo.mpg.part" file in the /media/windows/My Documents/My Video/ folder and I deleted it to start the file transfer over again.

Problem:

1. Now, I cannot transfer that same file to that same shared fat32 folder (/media/windows/My Documents/My Videos/).

2. Also, even if I load up my XP box, I still cannot transfer that same file from that win2k box to my XP box folder (C:\My Documents\My Videos).

3. There is no rambo.mpg file anywhere shown in that folder.

4. I even searched for hidden/system files and the registry for keys (locks, etc) and nothing shows up.

5. I can however transfer that same file to any other folder (like C:\Windows\Temp) in XP.

6. Even if I rename that file to "rambo-firstblood.mpg" and try to transfer it to that same fat32 folder (My Videos), it won't.

7. I keep getting a "Cannot copy <filename>: The Parameter is Incorrect"

By the way, I had a similar issue happen a while back using samba on Ubuntu when transferring a large GB file (tar backup) to a Win2k share. In this case, it copied alright, but when I tried to delete that file in win2k it gave me a permission error or something and locked the file. I could not delete it.

Thanks.
 
Old 10-30-2006, 09:27 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,728

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
The largest file that you can create on a FAT32 filesystem is 4GB-2 bytes. Older samba versions and I do not know the exact number were not compiled with large file support and were limited to <=2gb file tranfers.

What linux distribution / version and samba version are you running? Is the W2K share a NTFS or FAT32 filesystem? Check the file parmissions on the both boxes.
 
  


Reply

Tags
incorrect, parameter, samba



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux corrupts windows fakie_flip Linux - Software 1 12-28-2005 11:01 PM
WinXP locks opening Samba filesystem edge1492 Linux - Networking 2 12-10-2004 02:00 AM
SAMBA - browse Windows filesystem? ruprecht Linux - Software 3 11-24-2003 12:42 PM
Which filesystem should I use for drives shared by Samba? Pcghost Linux - General 4 10-13-2003 08:38 PM
Ext2 filesystem corrupts Photoshop files drjeep Linux - General 3 11-08-2002 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration