UNSOLVED

JimK513

updated

13 years ago

J

JimK513

1 Rookie

•

89 Posts

0

1273

June 28th, 2013 09:00

isilon %Z question

I am trying to obtain a full path listing of smb shares but when I run the cli 'isi smb shares list' or 'isi shares view sharename' it always returns a path with %Z in it. How can I expand the pathname so I get a full pathname return without the %Z?

ie: Path: /ifs/data/Release_Engineering/%Z/Acronis_Images

  • AndrewChung

    132 Posts

    624

    0

    Posted June 28th, 2013 10:00

    You can’t. The %Z will get expanded to the access zone if I remember correctly. Either that or the NETBIOS domain name.

    Andrew Chung

    EMC²| Isilon Storage Division

    Practice Architect

    Mobile: +1 (562) 248-6401

    E-Mail: andrew.chung@isilon.com

    2 Attachments

  • JimK513

    1 Rookie

    •

    89 Posts

    624

    0

    Posted June 28th, 2013 10:00

    That’s frustrating.

    I inherited an isilon configuration and attempting to map out the explicit folder paths for the existing shares is proving challenging.

    Thanks.

    Jim Kunysz

    Senior Systems Engineer

    RoundTower Technologies, Inc.

    Office: (513) 247-7936

    Mobile: (513) 470-6531

    http://www.RoundTower.com

  • cincystorage

    2 Intern

    •

    467 Posts

    624

    0

    Posted June 28th, 2013 11:00

    Jim,

    What version of OneFS are you running?  For me it returns the full path..  I'm running v7.0.1.5, with Access Zones...  BTW I'm local to you... 

    Are these shares or home directory shares?

  • JimK513

    1 Rookie

    •

    89 Posts

    624

    0

    Posted June 28th, 2013 11:00

    running 7.0.1.1. these are shares.

    to top it off, I have a configuration like below:

    /ifs/data/parent

    /ifs/data/parent/folder1/build

    /ifs/data/parent/folder2/build

    where folder1 and folder2 are both defined as zones.

    And there is a share on /build.

    the 'isi smb shares list'  returns /ifs/data/parent/%Z/build

    and 'isi zone zones list -v' returns build listed in both zones.

    what is the correct path for the share?

    isilon support replied with:

    'We appreciate your feedback and I will provide this information to deploy the new features in the next product
    release
    '


  • cincystorage

    2 Intern

    •

    467 Posts

    625

    0

    Posted June 29th, 2013 12:00

    Ah,  I see what's going on now... This was actually created as one single share.  The path is expanded based on which access zone the end user is accessing.. If they are accessing via "Zone_1" it will have the path /ifs/data/parent/Zone_1/build... If they are accessing it zia "Zone_2" it will be /ifs/data/parent/Zone_2/build... So both paths are valid..  What i'd suggest is start with a list of Access Zones.  Then you can use the name of the zone to populate %z yourself...

    The other option,  and I don't think this is a good one,  is to delete the current SMB share that uses %z and re-created two new shares using the specific full path..

    Or, you could parse the output of isi zones list -v,  use that to get a list of the shares... and the name of the zone... then parse the output of isi smb shares view , and do a regex search and replace and %Z with the name of the zone from the previous command..

    Quick shell script could give you something you can reuse at customer's sites..

  • JimK513

    1 Rookie

    •

    89 Posts

    625

    0

    Posted July 2nd, 2013 11:00

    Mark, not necessarily.

    this is the part that is confusing to me

    If I perform an 'isi smb shares list', one of the shares it lists is:

    BFInstalls              /ifs/data/Release_Engineering/%Z/BFInstalls

    If I run the isi zone zones list -v, the BFInstalls isn't listed as a share in any zone.

    but I can run a 'isi smb shares view BFInstalls

    and it returns with the following values

           Share Name: BFInstalls

            Path: /ifs/data/Release_Engineering/%Z/BFInstalls

    Nothing I get helps me determine where the BFIntalls lives.

  • cincystorage

    2 Intern

    •

    467 Posts

    625

    0

    Posted July 2nd, 2013 12:00

    Okay,  so I tested this out on my end running 7.0.1.5...  I've stripped out a ton of lines...

    isilon-n1# isi smb shares list

    Share Name                    Path

    -----------------------------------------------------------------------------

    ss_hd                         /ifs/data/test/%Z/data

    isilon-n1# isi zone zones list -v

                    Name: Test

          SMB Shares: users:users, test:test, ifs$:ifs$

          .......

                    Name: Test2

          SMB Shares: backup:backup, office:office, ss_hd:ss_hd

    So I can tell by this output the path to ss_data,  when accessed across the Test2 zone, is "/ifs/data/test/Test2/data".. If this isn't the behavior you're seeing,  i'm curious if this is a bug with the version you are on... 

    isi zone zones list -v |grep -i bfinstalls

    should return something.... unless it is not longer allocated to any zones.... or a zone is set to all SMB Shares (i'm un-aware how this option shows up)

  • JimK513

    1 Rookie

    •

    89 Posts

    625

    0

    Posted July 2nd, 2013 12:00

    I have an upgrade on the agenda to 7.0.1.6 and maybe it fixes my issues. BFInstalls is listed as a smb share but not under any zone. it wouldn't be that difficult if the number of folders/sub folders was small but it isn't and the structure is duplicated.

    isilon-corp1-1# isi smb shares list

    Share Name              Path

    --------------------------------------------------------------------------------

    Acronis_Images          /ifs/data/Release_Engineering/%Z/Acronis_Images

    BFInstalls              /ifs/data/Release_Engineering/%Z/BFInstalls

    Branches                /ifs/data/Release_Engineering/%Z/Branches

    Builds                  /ifs/data/Release_Engineering/%Z/Builds

    Builds_for_deletion     /ifs/data/Release_Engineering/%Z/Builds_for_deletion

    CI                      /ifs/data/Release_Engineering/%Z/CI

    Depot_Manage            /ifs/data/Release_Engineering/%Z

    Depot_Manage2           /ifs/data/Release_Engineering/%Z

    IMPORT                  /ifs/data/Release_Engineering/%Z/IMPORT

    ITT                     /ifs/data/International/%Z/ITT

    Installers              /ifs/data/Release_Engineering/%Z/Installers

    Installers_for_deletion /ifs/data/Release_Engineering/%Z/Installers_for_deletion

    Kits                    /ifs/data/Release_Engineering/%Z/Kits

    Logs                    /ifs/data/Release_Engineering/%Z/Logs

    Mirrors                 /ifs/data/Release_Engineering/%Z/Mirrors

    Misc                    /ifs/data/Release_Engineering/%Z/Misc

    Pando                   /ifs/data/Release_Engineering/%Z/Pando

    Prop                    /ifs/data/Release_Engineering/%Z/Prop

    Prop_for_deletion       /ifs/data/Release_Engineering/%Z/Prop_for_deletion

    RMT                     /ifs/data/Release_Engineering/%Z/RMT

    SECURITY_DUMP           /ifs/data/Release_Engineering/%Z/SECURITY_DUMP

    Share                   /ifs/data/Release_Engineering/%Z/Share

    autoprop                /ifs/data/Release_Engineering/%Z/autoprop

    dbbackup                /ifs/data/Release_Engineering/%Z/dbbackup

    ifs$                    /ifs

    temp                    /ifs/data/Release_Engineering/%Z/temp

    testshare               /ifs/data/testshare

    --------------------------------------------------------------------------------

    Total: 27

    isilon-corp1-1# isi zone zones list -v |grep BFInstalls

    isilon-corp1-1#

  • cincystorage

    2 Intern

    •

    467 Posts

    625

    0

    Posted July 2nd, 2013 12:00

    Does "isi zone zones list -v" return "All SMB Shares: Yes" for any zones?

    Just curious,  how many zones do you have?

  • cincystorage

    2 Intern

    •

    467 Posts

    323

    0

    Posted July 2nd, 2013 12:00

    And if you browse with UNC Path to an isilon interface in the iss-archive zone,  do you see the BFInstalles?