Unsolved
This post is more than 5 years old
7 Posts
0
2199
October 13th, 2012 11:00
Creating Cifs share with space in the tree quota path
I have created tree quota with some space in it whithout any problems, but while trying to map the Quota to cifs share its throwing the error, even i removed the quotes & added single double, whatever like cifs name - where it accepts space within single & double quotes "'F1 T1'", just i need to map the tree quota with space "/F1 T"
nas_quotas -tree -on -fs FS-SEVEN -path "/F1 T"
nas_quotas -edit -tree -fs FS-SEVEN -block 4096 1
server_export VDM_1 -Protocol cifs -name "'F1 T1'" -option netbios=CTSINTBMCELB "/FS-SEVEN/F1 T1"
VDM_1 :
Error 22: VDM_1 : Invalid argument
Share error: Path does not exist
[nasadmin@mcs nas]$ nas_quotas -report -tree -fs FS-SEVEN
Report for tree quotas on filesystem FS-SEVEN mounted on /root_vdm_5/FS-SEVEN
+------------+-----------------------------------------------+-----------------------------------------------+
| Tree | Bytes Used (1K) | Files |
+------------+------------+------------+------------+--------+------------+------------+------------+--------+
| | Used | Soft | Hard |Timeleft| Used | Soft | Hard |Timeleft|
+------------+------------+------------+------------+--------+------------+------------+------------+--------+
|#1 | 0| 0| 4096| | 1| 0| 0| |
+------------+------------+------------+------------+--------+------------+------------+------------+--------+
done
[nasadmin@mcs nas]$ nas_quotas -list -tree -fs FS-SEVEN
+------------------------------------------------------------------------------+
| Quota trees for filesystem FS-SEVEN mounted on /root_vdm_5/FS-SEVEN:
+------+-----------------------------------------------------------------------+
|TreeId| Quota tree path (Comment) |
+------+-----------------------------------------------------------------------+
| 1 | /F1 T () |
+------+-----------------------------------------------------------------------+
Help here would be really appreciated
Sundar
dynamox
9 Legend
•
20.4K Posts
0
October 13th, 2012 17:00
can you show output from "server_mount VDM_1"
cxsundar
7 Posts
0
October 14th, 2012 01:00
Dynamox,
I am able to create tree Quota and map the tree qouta to cifs share in that FS. problem is if the tree quota path contains any space in between ( tree quota path - "Test Quota", FS path - "\FS-SEVEN\Test Quota"). it throws error while mapping the quota with cifs share
[nasadmin@mcs ~]$ server_mount VDM_1
VDM_1 :
FS-SEVEN on /FS-SEVEN uxfs,perm,rw
[nasadmin@mcs ~]$
#nas_quotas -tree -on -fs FS-SEVEN -path "/Test Quota"
Done
#nas_quotas -edit -tree -fs FS-SEVEN -block 4096 2
Done
#server_export VDM_1 -Protocol cifs -name "'Test Share'" -option netbios=CTSINTBMCELB "/FS-SEVEN/Test Quota"
Error 22: VDM_1 : Invalid argument
Share error: Path does not exist
#
urle
48 Posts
0
October 14th, 2012 03:00
> I am able to create tree Quota and map the tree qouta to cifs share in that FS.
> problem is if the tree quota path contains any space in between ( tree quota
> path - "Test Quota", FS path - "\FS-SEVEN\Test Quota"). it throws error while
> mapping the quota with cifs share
...
> #nas_quotas -tree -on -fs FS-SEVEN -path "/Test Quota"
> #server_export VDM_1 -Protocol cifs -name "'Test Share'" -option netbios=CTSINTBMCELB "/FS-SEVEN/Test Quota"
Strange. I replaced VDM_1 and the filesystem with my own one and everything (cut'n paste) worked fine:
$ nas_quotas -tree -on -fs service-cn -path "/Test Quota"
done
$ server_export service-cn -Protocol cifs -name "'Test Share'" -option netbios=sccfs-servcn "/service-cn/Test Quota"
service-cn : done
$ server_version server_2
server_2 : Product: EMC Celerra File Server Version: T6.0.61.0
urle
cxsundar
7 Posts
0
October 14th, 2012 05:00
Yeah i just created it on the physical data mover server_2, it worked for me too, but not on VDM.
I came to know later, i didnt map the CIFS server to the VDM_1 - virtual data mvoer
Thanks Uyrle & Dynamox