UNSOLVED

doof1

updated

19 years ago

D

doof1

45 Posts

0

1787

June 6th, 2007 03:00

file filtering and wildcard

Hi

I'm using Celerra NS82 Dart 5.5.26 and i want to use file extension filtering.

In documentation, i see the syntax
[@ ][@ ]

I would like to filter mp3 file on some cifs server. How can i set this ? (mp3@*@netbiosname).

I try:
mp3@netbiosname -> doesn't work

thanks
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    640

    0

    Posted June 13th, 2007 07:00

    that should work, provided that you replaced netbiosname with the actual CIFS server name and you didnt turn off file filtering thru the cifs.EnableFileFiltering param

    see https://powerlink.emc.com/nsepn/webapps/btg548664833igtcuup4826/km/live1/en_US/Offering_Technical/Technical_Documentation/300-002-675_a01_elccnt_0.pdf
  • doof1

    45 Posts

    640

    0

    Posted June 27th, 2007 02:00

    Hi

    It doesnt work.

    The command need netbios argument. I open a case and emc ingeneer is agree with me. Doc is not up to date or is wrong.
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    640

    0

    Posted June 29th, 2007 11:00

    could you give us an example what syntax work and what didnt ?

    I could then ask for the documentation to be updated.

    thanks
  • doof1

    45 Posts

    640

    0

    Posted July 2nd, 2007 05:00

    Hi

    On page 9, i read

    [@ ][@ ]
    Where:
    = file extension that you want to filter.
    = name of the share to which you want to apply the filter. The
    is an optional part of the filename. If you do not include a
    , the filter is applied to all shares on the Data Mover.
    = NetBIOS name to which you want to limit the filtering. The
    element is an optional part of the filename. If the share is
    available on multiple NetBIOS names, this name element limits the filtering to a
    particular NetBIOS name.

    The most important is " [@ ][@ ]" where sharename and netbios name are optionnal.

    i try

    mp3 -> ok, it work
    mp3@share1 -> ok it work
    mp3@share1@server1 -> ok it work
    mp3@server1 -> doesnt work

    In documentation, @sharename is between "[ ]" caractere which mean optionnal but "extension@netbios" syntax doesnt work

    ++
  • nasgurunot

    29 Posts

    640

    1

    Posted August 7th, 2007 08:00

    I too have an issue with the file filtering and it does not work.

    I went to the control station and placed a file such as this:
    /nas/quota/slot_2/.etc/.filefilter
    -rw-r--r-- 1 root root 0 Aug 7 09:45 wav@testfs_win

    When I try to place the .wav file onto the testfs_win share, it allows me to drop the file. What am I missing?
  • Duane_Olson

    16 Posts

    640

    0

    Posted August 15th, 2007 14:00

    OK. I just tried this in my lab and it worked fine. THe file in .filefilter is named mp3. The contents are mp3@srhs_source ( One of my cifs servers on that datamover) I cannot place an MP3 file in any of the shares on that cifs server. I can on shares to other cifs servers however.

    One thing to remember is to use notepad, not wordpad. Wordpad leaves an invisible ^M at the end of the line that can cause issue in a UINX world.

    As an administrator however, I can place any file I want in the share. This is becasue the filter does not by default apply to administrators. Look at the permissions on the mp3 file and see what it lets you do. This is also discussed in teh .pdf doc on this feature.
  • Duane_Olson

    16 Posts

    640

    0

    Posted August 15th, 2007 14:00

    Did you try
    mp3@C$@server1
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    640

    0

    Posted October 22nd, 2007 12:00

    The command need netbios argument. I open a case and
    emc ingeneer is agree with me. Doc is not up to date
    or is wrong.


    Could you post the case number ?
  • BillStein-Dell

    Moderator

    •

    285 Posts

    84

    0

    Posted October 23rd, 2007 23:00

    I too have an issue with the file filtering and it
    does not work.

    I went to the control station and placed a file such
    as this:
    /nas/quota/slot_2/.etc/.filefilter
    -rw-r--r-- 1 root root 0 Aug 7
    09:45 wav@testfs_win

    When I try to place the .wav file onto the testfs_win
    share, it allows me to drop the file. What am I
    missing?


    I'm reasonably sure that you can't apply the filefilter in this way. You need to open C$ of the share in CIFS and traverse into the /.filefilter folder (or /.etc/.filefilter on a VDM). From there, you can create the empty file "wav@testfs_win". Also, as previously noted, @ is not a valid combination, so if "testfs_win" is a netbios name, this filefilter will not work. The NetBIOS tag is only valid if you have @ where "sharename" is visible on multiple NetBIOS names, and you want to limit the filtering to one NetBIOS name. You would then use @ @ .

    Again, the only valid combinations are:

    ...........................................filters that ext on all shares
    @ ....................filters that ext on that share
    @ @ ..limits that filter to only that netbios name when
    ...................................................share is visible on multiple netbios names


    hth
  • BillStein-Dell

    Moderator

    •

    285 Posts

    640

    0

    Posted October 23rd, 2007 23:00

    [@ ][@ ]
    Where:
    = file extension that you want to
    filter.
    = name of the share to which you want to
    apply the filter. The
    is an optional part of the filename. If
    you do not include a
    , the filter is applied to all shares on
    the Data Mover.
    = NetBIOS name to which you want to
    limit the filtering. The
    element is an optional part of the
    filename. If the share is
    available on multiple NetBIOS names, this name
    element limits the filtering to a
    particular NetBIOS name.

    The most important is
    " [@ ][@ ]"
    where sharename and netbios name are optionnal.

    i try

    mp3 -> ok, it work
    mp3@share1 -> ok it work
    mp3@share1@server1 -> ok it work
    mp3@server1 -> doesnt work

    In documentation, @sharename is between "[ ]"
    caractere which mean optionnal but
    "extension@netbios" syntax doesnt work


    The documentation is indeed confusing, but it's not incorrect. It says that if you want to include NETBIOS name, it would only function if the share is visible on multiple NETBIOS names, and you want to limit it to only one NETBIOS name. However, you cannot use NETBIOS name by itself, because there is no share specified which is visible on multiple NETBIOS names.

    Recall what it says:

    If the share is available on multiple NetBIOS names, this name
    element limits the filtering to a particular NetBIOS name.


    The share has to be available on multiple NetBIOS names in order to narrow it to a specific NetBIOS name.

    It should be made clearer that NetBIOS name cannot be used by itself. Possibly, they could list it as:

    {@ [@ ]}

    This would show that @netbios_name is only optional when included with @sharename.

    This is why all of the combinations above work, with the exception of @ .