UNSOLVED

vivek_iyer

updated

16 years ago

0

2457

March 22nd, 2011 00:00

server_export facing issue

Hi Guys,

I am facing issue while exporting an NFS share with double path via CLI.

[nasadmin@cnticnscs001 ~]$ server_export server_2 -Protocol nfs -name founap1122108 -option rw=172.21.49.0/255.255.255.0,root=172.21.49.0/255.255.255.0,access=172.21.49.0/255.255.255.0 -comment " CHG000005249001"  /founap1122108/founap1122108
server_2 :
Error 2: server_2 : No such file or directory
/founap1122108/founap1122108 can not be exported: No such directory.

[nasadmin@cnticnscs001 ~]$ server_export server_2 -Protocol nfs -name founap1122108 -option rw=172.21.49.0/255.255.255.0,root=172.21.49.0/255.255.255.0,access=172.21.49.0/255.255.255.0 -comment " CHG000005249001"   /founap1122108
server_2 : done

is there any way to do the following?

Vivek

  • SAMEERK1

    296 Posts

    627

    0

    Posted March 22nd, 2011 02:00

    Does that directory exists underneath the parent one ? if yes..

    try creating a dir with different name and try exporting with that directory

    Sameer Kulkarni

  • 627

    0

    Posted March 22nd, 2011 03:00

    No . there is no child directory created.


    [root@cnticnscs001 founap1122108]# pwd
    /mnt/founap1122108
    [root@cnticnscs001 founap1122108]# ls
    lost+found

    I Used following command, to create FS and mount it.

    nas_fs -name founap1122108 -create size=600G pool=symm_ata -auto_extend no -vp no -option slice=y
    server_mountpoint  server_2 -create /founap1122108
    server_mount server_2 founap1122108 /founap1122108

    I am able to create this all thing(export) with Celerra manager, but facing issue with CLI.

  • SAMEERK1

    296 Posts

    627

    0

    Posted March 22nd, 2011 04:00

    Mount it on the host, create a sub dir then export the sub dir from the Celerra using the previous command...

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    627

    1

    Posted March 22nd, 2011 04:00

    Or use server_mountpoint to create the directory

  • SAMEERK1

    296 Posts

    627

    0

    Posted March 22nd, 2011 04:00

    You have to create a sub directory and export it with that dir name.

    Sameer Kulkarni

  • 627

    0

    Posted March 22nd, 2011 06:00

    Thanks Guys,,

    Got my answer,, was able test it too..First mount it ,, and again create mount point


    nas_fs -name testfs -create size=10G pool=symm_ata -auto_extend no -vp no -option slice=y
    server_mountpoint  server_2 -create /test
    server_mount server_2 test /test
    server_mountpoint  server_2 -create /test/test
    server_export server_2 -Protocol nfs -name testfs -option rw=172.21.49.0/255.255.255.0 -comment " CHG000005249001" /test/test
    [root@cnticnscs001 test]# pwd
    /mnt/test
    [root@cnticnscs001 test]# ls
    lost+found  test