|
Post by mycwcgr on Nov 4, 2003 7:29:28 GMT -5
My software use VCLZIP Pro Build 7.
A user of my software tell me that It seems to work if archive files is smaller than 2.5 gigs backup to network attached storage. but when he backup 8G files to a Network Attached Storage with 40 gigabytes of free space, a error message ' Not enough room for archive file' is displayed! The computer that he are using has a 50 gigabyte system disk with majority of it being free. Also computer has 256MB ram.
Could the Network attached storage be sending the wrong size back to the program or could program be reading the size wrong from the device???
Did you do this test to backup files to Network attached storage ?
|
|
|
Post by Kevin on Nov 4, 2003 8:39:42 GMT -5
Yes, my tests in the past to network drives have worked fine.
What that error actually means is that the last write to the archive was not able to write the full buffer. During the creation of normal (mmNone) archives, VCLZip does not make any call to get the available space on the drive. This error only happens if the write fails. It could possibly be due to something besides "out of space". Does this network drive have any quotas or anything like that set up?
Kevin
|
|
|
Post by mycwcgr on Nov 4, 2003 9:08:17 GMT -5
Sorry , I don't know the network set of my user!
but in VCLZIP 2.23,the error message 'Not enough room for archive file ' will be also displayed when backup many of files! (I think the message will be displayed when the number of backup filles over 65536, but sometimes backup file size over 2G don't display error)!
|
|
|
Post by Kevin on Nov 4, 2003 9:11:56 GMT -5
With VCLZip Pro, it would not be the number of files causing that error.
|
|
|
Post by Kevin on Nov 4, 2003 9:46:51 GMT -5
A couple of additional questions about this:
1) is this always a new archive? Or is the user adding to an existing archive? 2) Does your software definitely just use Multimode := mmNone in this case, or is it possibly using MultiMode := mmSpan or mmBlocks?
|
|
|
Post by mycwcgr on Nov 4, 2003 17:59:12 GMT -5
1 It is always a new archive ! 2 I don't confirm, I think maybe it Multimode := mmNone or MultiMode := mmBlocks (mostly Multimode := mmNone ) , but I'm sure that is not MultiMode := mmSpan !
|
|
|
Post by Kevin on Nov 4, 2003 20:13:51 GMT -5
The reason I asked is, because, if it is mmBlocks, then each file is first compressed to a temporary file in the temporary directory, and then copied to the actual archive. If you are compressing a particularly big file, then if your TEMP directory is on a disk that is fairly low on space, then that could be where the disk shortage problem is.
IF this is the problem, you can always change VCLZip's TempPath property to point to a drive with more space.
|
|