ryderpaul

updated

16 years ago

R

ryderpaul

21 Posts

0

3331

October 5th, 2010 12:00

Create a New CIFS Share from a Pool via Command Line

Hello Ladies and Gentleman,

Any pointers on creating a new CIFS Share on a Pool via the command line (Sorry new to this)

Cheers

Paul

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    1140

    0

    Posted October 5th, 2010 13:00

    if you don't already have a file system you need to create one first

    nas_fs then server_mountpoint and server_mount

    creating the share is server_export

    just do a man to get examples

    using the GUI is easier though

    if you already have a fs you also can create shares using the Microsoft mmc

    Rainer

  • gbarretoxx1

    2 Intern

    •

    366 Posts

    1140

    1

    Posted October 5th, 2010 12:00

    Hi,

    first you need to create a file system, then create a CIFS server, then create the CIFS share.

    The syntax to cerate a file system using the pool is similar to this :

    $ nas_fs -name test_fs -create size=100G pool=clar_r5_performance
    id        = 641
    name      = test_fs
    acl       = 0
    in_use    = False
    type      = uxfs
    worm      = off
    volume    = v1076
    pool      = clar_r5_performance
    member_of = root_avm_fs_group_3
    rw_servers=
    ro_servers=
    rw_vdms   =
    ro_vdms   =
    auto_ext  = no,virtual_provision=no
    deduplication   = unavailable
    stor_devs = APM00073700689-000E,APM00073700689-0013,APM00073700689-0008,APM00073700689-000B
    disks     = d19,d14,d16,d11

    To create the CIFS server and shares, please refer to "Configuring and Managing CIFS on Celerra" manual on Powerlink.

    Gustavo Barreto.

  • pmenon5

    1 Rookie

    •

    96 Posts

    1140

    0

    Posted October 5th, 2010 13:00

    for eg. if created a hidden share named test$ under file system path /test (and cifs server - CIFSone)

    enter path \\CIFSone\test$  - you should be able to create sub folder here.  (eg. folder created as "T1")

    after creating subfolders; if you want to create share again on that subfolder; then give path /test/T1

  • pmenon5

    1 Rookie

    •

    96 Posts

    1140

    0

    Posted October 5th, 2010 13:00

    after creaing the file system as mentioned above

    create share ->  server_export   -P cifs -name /filesystem-path

  • ryderpaul

    21 Posts

    1140

    0

    Posted October 5th, 2010 13:00

    Cheers for the quick response,

    I've created a share via the GUI which is hidden but can't create a share in a sub folder coming up with an error directory not visable ?

  • ryderpaul

    21 Posts

    1140

    0

    Posted October 5th, 2010 14:00

    Cheers for the help create a share under the $ share and was able to create the share under the gui.

    Thanks again for all the advice