cancel
Showing results for 
Search instead for 
Did you mean: 

Filename length limit?

Barry_DeZonia
Level 4
I am trying to backup files off a Samba 3.0 share living on a Mac OS X system (using Mac Agent) from a 2003 server system with 9.1. The backup job is reporting some access denied errors. But all the files on the drive have the same permissions and most the files are getting backed up.

The only thing I've noticed is that the names of all of the files that fail are 255 characters or longer when expanded to \\machine\share\path\filename. Is there a limit to the length of filenames for Samba, 2003 server, or Backup Exec 9.1? Or is this a bug?
3 REPLIES 3

Al_Capone
Level 4
hi
I dont know for Samba. But for windows there is a 255 character limit. Windows needs to query a samba server i presume that It will looks for the 1st 255 characters. If the path is longer I dont think that your Backup Exec server will be able to read the files on the samba server.

Barry_DeZonia
Level 4
Everything I have read implies that Window's has either a 32k limit (the Win32 developer docs) or 260 (256+drive letter+:+\+NULL - from various anecdotes on the web).

Regardless mine fails at 255 - short of both limits.

Sharvari_Deshmu
Level 6
Hello,

The error is due to a limitation of the NTFS file system. NTFS file and directory names can only be up to 255 characters long, including extensions.
YOu will have to rename the files.
More information can be found in the Microsoft article below:
http://support.microsoft.com/default.aspx?scid=kb;en-us;102739


Thanks,

NOTE : If we do not receive your reply within two business days, this post would be marked assumed answered and would be moved to answered questions pool.