Unsolved
This post is more than 5 years old
49 Posts
0
2306
Applying quota on share level in a Filesytem
Hi,
I have a single filesystem of 400 GB , my requirement is to create 2 shares say share A and share B, with share A of size 350 GB and share B of size 50 GB .. how can i apply quota on share level ??
i have already created the filesystem and 2 shares on it , just finding way to apply this Hard quota so one share (share A) doesnt steal space from other share (share B) if say share A runs out of space which would be 350GB..
I have a single filesystem of 400 GB , my requirement is to create 2 shares say share A and share B, with share A of size 350 GB and share B of size 50 GB .. how can i apply quota on share level ??
i have already created the filesystem and 2 shares on it , just finding way to apply this Hard quota so one share (share A) doesnt steal space from other share (share B) if say share A runs out of space which would be 350GB..
Rainer_EMC
8.6K Posts
0
November 9th, 2009 02:00
just create your treequota's before you create the share (i.e. the directory doesnt exit)
If you already have data there, rename your two share directories, create treequota's and copy the data there then adjust or recreate the shares
pdubey2
49 Posts
0
November 9th, 2009 03:00
2009-11-09 11:36:52.396 db:201:26103:S: nas_quotas -tree -on -fs id=40 -path /CitrixIM
2009-11-09 11:41:02.042 VDM_KNTNAS458:201:29289:S: server_export VDM_KNTNAS458 -Protocol cifs -unexport -name CitrixIM -option netbios=SVAAKNTNAS458
2009-11-09 11:41:02.239 VDM_KNTNAS458:201:29289:E: server_export VDM_KNTNAS458 -Protocol cifs -unexport -name CitrixIM -option netbios=SVAAKNTNAS458
2009-11-09 11:42:10.647 db:201:30406:S: nas_quotas -tree -on -fs id=40 -path /CitrixIM
Peter_EMC
674 Posts
0
November 9th, 2009 03:00
lookupPath "/root_vdm_2/fs_KNTNAS458/fs_KNTNAS458"
failed
I think you applied the wrong path.
do not specify the filesystem name in the path, because it is already choosen. In your example the path in the GUI would be /CitrixIM
And I think you have to delete the directories CitrixIM and CitrixProfiles first.
Because the treequota command will create them.
pdubey2
49 Posts
0
November 9th, 2009 03:00
Here is my FS and the shares on it , VDM name VDM_KNTNAS458
server_export VDM_KNTNAS458 -P cifs -l -all
VDM_KNTNAS458 :
share "fs_KNTNAS458$" "/fs_KNTNAS458" umask=022 maxusr=4294967295 netbios=SVAAKNTNAS458
share "CitrixIM" "/fs_KNTNAS458/CitrixIM" umask=022 maxusr=4294967295 netbios=SVAAKNTNAS458
share "CitrixProfiles" "/fs_KNTNAS458/CitrixProfiles" umask=022 maxusr=4294967295 netbios=SVAAKNTNAS458
..
I want ,
CitrixIM of 50 GB hard qouta
CitrixProfiles of 350 GB
Can you tell me how do i apply the quota and verify if the quota is applied correctly ..
Here is the error when i tried to apply Tree quota from GUI.. by specifying the path as /fs_KNTNAS458/CitrixIM for CitrixIM share .. i dont have any data on this share yet..
2009-11-09 10:27:47: ADMIN: 6: Command succeeded: file quota / type=tree report=/.etc/rpt_file
2009-11-09 10:27:48: ADMIN: 6: Command succeeded: file quota / type=tree report=/.etc/rpt_file showtrees
2009-11-09 10:28:41: ADMIN: 6: Command succeeded: file quota / type=group report=/.etc/rpt_file path='/'
2009-11-09 10:28:42: ADMIN: 6: Command succeeded: file quota / type=tree report=/.etc/rpt_file showtrees
2009-11-09 10:29:02: CMD: 6: CmdReplicatev2List::initialize taskId:0002901046830182_0_5753:4294973049
2009-11-09 10:53:12: ADMIN: 6: Command succeeded: file quota /root_vdm_2/fs_KNTNAS458 config report=/root_vdm_2/fs_KNTNAS458/.etc/config_file
2009-11-09 10:58:12: ADMIN: 6: last message repeated 1 times
2009-11-09 11:05:00: ADMIN: 6: Command succeeded: file quota /root_vdm_2/fs_KNTNAS458 type=tree report=/root_vdm_2/fs_KNTNAS458/.etc/rpt_file
2009-11-09 11:05:00: ADMIN: 6: Command succeeded: file quota /root_vdm_2/fs_KNTNAS458 type=tree report=/root_vdm_2/fs_KNTNAS458/.etc/rpt_file showtrees
2009-11-09 11:05:00: CFS: 3: invalid quota command: lookupPath "/root_vdm_2/fs_KNTNAS458/fs_KNTNAS458" failed
2009-11-09 11:05:00: ADMIN: 3: Command failed: file quota "/root_vdm_2/fs_KNTNAS458/fs_KNTNAS458/CitrixIM" type=tree on
Rainer_EMC
8.6K Posts
0
November 9th, 2009 03:00
2009-11-09 11:05:00: ADMIN: 3: Command failed: file quota
"/root_vdm_2/fs_KNTNAS458/fs_KNTNAS458/CitrixIM" type=tree on
I think your Problem is that you are entering the path wrong - it has to be relative to the file system
so just select the VDM when you specify which data mover to create the treequota on, then the fs and then enter /CitrixIM in the Path box
see attached picture
what the Celerra Manager actually does can be seen in /nas/log/cmd_log:
2009-11-09 12:33:31.011 db:201:17500:S: nas_quotas -tree -on -fs id=287 -path /CitrixIM
2009-11-09 12:33:32.590 db:201:17500:S: nas_quotas -tree -edit -fs id=287 -block 10240:NoLimit -inode NoLimit:NoLimit -comment 1
1 Attachment
vdm_treequota1.jpg
pdubey2
49 Posts
0
November 9th, 2009 04:00
"2009-11-09 11:57:47: UFS: 3: treeQuotaOn_Internal: error creating tree quota dir CitrixIM on fs , status DuplicateEntry "
2009-11-09 11:57:47: ADMIN: 6: Command succeeded: file quota /root_vdm_2/fs_KNTNAS458 type=tree report=/root_vdm_2/fs_KNTNAS458/.etc/rpt_file showtrees
2009-11-09 11:57:47: UFS: 6: Quota limits will be checked on block usage, with block size of 8192 bytes
2009-11-09 11:57:47: UFS: 3: treeQuotaOn_Internal: error creating tree quota dir CitrixIM on fs , status DuplicateEntry
2009-11-09 11:57:47: CFS: 3: quotaOn_Internal: failed to init entry: status InvalidArgument
2009-11-09 11:57:47: ADMIN: 3: Command failed: file quota "/root_vdm_2/fs_KNTNAS458/CitrixIM" type=tree on
Rainer_EMC
8.6K Posts
0
November 9th, 2009 06:00
also you cant have two treequota's on that file system with the same name
Rainer_EMC
8.6K Posts
0
November 9th, 2009 08:00
this way you could create some treequota's like spare1,spare2,spare3... or 50GB,100GB,...
then your Wintel admin goes there using \\
then he can just use the Windows MMC he is familiar with to create the shares he wants
just let the Windows admins do the work
Rainer_EMC
8.6K Posts
0
November 9th, 2009 08:00
- go into Celerra Manager again and just create the share
- since you had already done it you can also just fetch the line from the log like "grep server_export /nas/log/cmd_log | grep Citrix" and execute it again
- or ask your Windows admin - he can just use the Windows MMC - add the normal Manage Shares plugin, connect to the Celerra CIFS server and browse through it to the directory.
This way he could create the share with exactly the name and permissions that he wants to
see Powerlink Home > Support > Product and Diagnostic Tools > Celerra Tools > Celerra Support Demos
http://powerlink.emc.com/km/appmanager/km/secureDesktop?internalId=0b014066803f7771
for Video's on how to do things with Celerra
pdubey2
49 Posts
0
November 9th, 2009 08:00
Now whatever i created is a directory CitrixIM (50 GB tree quota) on Filesystem with tree quota enabled on it , how do i create a share now ..as i dont want users to access the filesystem and then the directory which might give them access to entire filesystem , i want to present this as a share , for ex:
// /CitrixIM ... and not as directory on filesystem for ex
// / /CitrixIM .. hope i am not confusing ..
Pls ignore my negligence , as ia am a newbee to celerra.. just trying to understand how quota works ,,
pdubey2
49 Posts
0
November 9th, 2009 09:00
The error i am getting is , ( not sure how to get away with this)
"The content you are trying to access is unavailable . this content may be exoired , the link may be incorrect or you may not be entitled to access it with your account" ...
Also ,
- go into Celerra Manager again and just create the share
If i create the share with same name as directory ( i created before and tuned on Quota ) is there a way where i can link the 2 .. which means the share will be of max size 50 GB (same as directory size)
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
November 9th, 2009 09:00
..
he error i am getting is , ( not sure how to get
away with this)
"The content you are trying to access is unavailable
. this content may be exoired , the link may be
incorrect or you may not be entitled to access it
with your account" ...
you typically get this if share points to directory that no longer exists, can you double check that ?
- go into Celerra Manager again and just create the
share
If i create the share with same name as directory (
i created before and tuned on Quota ) is there a way
where i can link the 2 .. which means the share
will be of max size 50 GB (same as directory size)
you set quota on directory not on share.
Rainer_EMC
8.6K Posts
0
November 9th, 2009 10:00
..
he error i am getting is , ( not sure how to get away with this)
"The content you are trying to access is unavailable this content may be exoired , the link may be
incorrect or you may not be entitled to access it with your account" ...
sorry - sometimes direct links to Powerlink content dont work between acounts
just go to Powerlink Home > Support > Product and Diagnostic Tools > Celerra Tools > Celerra Support Demos
manually if you want to see Video How-Tos
where i can link the 2 .. which means the share will be of max size 50 GB (same as directory size)
you dont have to link them - just use the correct path and the quota will be effective
you didnt even have to delete and re-create the share - whatever is configured on the shared directory (quotas, ACLs) is automtically used
this isnt a share quota - its a directory quota - so no matter which path or share you use to write to it the quota will always be enforced as configured
hope that helps
Rainer
Rainer_EMC
8.6K Posts
0
November 9th, 2009 14:00
that is true for Windows (CIFS) - for Unix NFS access the server's path is what the clients use
Message was edited by:
Rainer
pdubey2
49 Posts
0
November 9th, 2009 14:00
If i create 2 directories on a filesystem .. say dirA and turn on quota for it say apply hard limit as 50GB and another directory as dirB , hard limit quota as 100GB ... now if i create a share say ShareA , what would be size of this share ( 50 GB or 100 GB ) ..