samba adds blocks to file without even saving

Ziller, James James.Ziller at qg.com
Tue May 3 20:26:59 GMT 2005


Greetings,

	I have encountered a problem with the samba I am running on VMS
(v.2.2.8, latest jyc). After opening a stream CRLF text file(with no
EOF) in excel(or any other app im guessing) the file is enlarged by 15
blocks.  This is _without_ even saving out the file after its opened.
When looking at a dump of the resulting file I can see that the
additional 15 block is all blank space.  Below I have included a
dir/full of the file before being opened through samba and afterwards,
notice the size change.  Is this a bug or can a tweak samba settings to
stop this from happening?

Thanks.

BEFORE
LPMV03> dir/full d2-james.dav 

Directory SAMBA_ROOT:[000000.test]

D2-JAMES.DAV;1                File ID:  (10319,4,0)           
Size:         2369/2376       Owner:    [DECNET,QGDEFAULT]
Created:    29-DEC-2004 15:04:54.78
Revised:     3-MAY-2005 15:02:14.47 (4)
Expires:    <None specified>
Backup:     <No backup recorded>
Effective:  <None specified>
Recording:  <None specified>
Accessed:   <None specified>
Attributes: <None specified>
Modified:   <None specified>
Linkcount:  1
File organization:  Sequential
Shelved state:      Online 
Caching attribute:  Writethrough
File attributes:    Allocation: 2376, Extend: 0, Global buffer count: 0
                    No version limit
Record format:      Stream, maximum 0 bytes, longest 0 bytes
Record attributes:  Carriage return carriage control
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List:  None
Client attributes:  None

Total of 1 file, 2369/2376 blocks.



AFTER

LPMV03> dir/full d2-james.dav 

Directory SAMBA_ROOT:[000000.test]

D2-JAMES.DAV;1                File ID:  (10319,4,0)           
Size:         2384/2394       Owner:    [DECNET,QGDEFAULT]
Created:    29-DEC-2004 15:04:54.00
Revised:     3-MAY-2005 15:03:53.00 (8)
Expires:    <None specified>
Backup:     <No backup recorded>
Effective:  <None specified>
Recording:  <None specified>
Accessed:   <None specified>
Attributes: <None specified>
Modified:   <None specified>
Linkcount:  1
File organization:  Sequential
Shelved state:      Online 
Caching attribute:  Writethrough
File attributes:    Allocation: 2394, Extend: 0, Global buffer count: 0
                    No version limit
Record format:      Stream, maximum 0 bytes, longest 32767 bytes
Record attributes:  Carriage return carriage control
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List:  None
Client attributes:  None

Total of 1 file, 2384/2394 blocks.


James Ziller
Systems Administrator

Quad/Graphics - Q/DS
West Allis, Wisconsin
james.ziller at qg.com



More information about the samba-vms mailing list