Is the sky actually falling? (NTFS streams) - some additional notes (correction)

Guenter Kukkukk lists at kukkukk.com
Sun Nov 6 00:41:04 GMT 2005


Oh well - never do tests with (known) side-effects at 5AM!
I just went that pitfall way, which I have described in "part2". :-(

I have used the same samba mount points for samba3 and samba4 - and
the _same_ filename for testing (was using the cmdline history on the OS/2 box).

So, after samba3 testing had been done - samba4 had _no_ chance
to add further EAs to the already samba3 created file! (on ext2, ext3, jfs)
(cause the used "open and truncate" function does not truncate EAs on samba).
Reiserfs and XFS had further EA resources, so samba4 could easily add its EAs
to its own separate EA namespace....

Btw - thanks to tridge - some months ago, he did add my tstmaxeas stuff
to samba4 smbtorture.
>From the samba4 bin directory, run it as
  ./smbtorture //localhost/someshare -Uuser%passwd RAW-EAMAX
It has some options, which are noted inside the source.

The CORRECTED table:
====================

(table best viewed with a fixed width font)
+***********+***********+**************+**************+
| Operating | filesys   | Max. EA size | Max. EA size |
|  System   |           |  (in bytes)  | w. overhead  |
+***********+***********+**************+**************+
|   OS/2    | HPFS386   |   65522      |   65535      |
| WarpSrv5  |           |              |              |
+===========+===========+==============+==============+
| Win2000   |   NTFS    |   65522      |   65535      |
| Srv FP4   |           |              |              |
+===========+===========+==============+==============+
| samba3    | reiserfs  |   lots of    |   lots of    | see Note below
| Rev 11509 | 3.6.13-24 |  Megabytes   |  Megabytes   |
+-----------+-----------+--------------+--------------+
| samba3    |   ext2    |    4040      |    4052      |
| Rev 11509 |           |              |              |
+-----------+-----------+--------------+--------------+
| samba3    |   ext3    |    4040      |    4052      |
| Rev 11509 |           |              |              |
+-----------+-----------+--------------+--------------+
| samba3    |   jfs     |  131042      |  131062      |
| Rev 11509 |           |              |              |
+-----------+-----------+--------------+--------------+
| samba3    |   xfs     |  lots of     |  lots of     |
| Rev 11509 | 2.6.3-29  | Megabytes    | Megabytes    | see Note below
+===========+===========+==============+==============+
| samba4    | reiserfs  |   65500      |   65512      |
| Rev 11509 | 3.6.13-24 |              |              |
+-----------+-----------+--------------+--------------+
| samba4    |   ext2    |    3896      |    3908      |
| Rev 11509 |           |              |              |
+-----------+-----------+--------------+--------------+
| samba4    |   ext3    |    3896      |    3908      |
| Rev 11509 |           |              |              |
+-----------+-----------+--------------+--------------+
| samba4    |   jfs     |   65496      |   65508      |
| Rev 11509 |           |              |              |
+-----------+-----------+--------------+--------------+
| samba4    |   xfs     |   65500      |   65512      |
| Rev 11509 | 2.6.3-29  |              |              |
+-----------+-----------+--------------+--------------+

Sorry for the confusion!

Guenter




More information about the samba-technical mailing list