Bhakti1
1 Nickel

Smartquotas on home drive

Jump to solution

We migrated the home folders from Celerra to Isilon over a year ago. In the process if migrations we as admins had to take ownership of the files to migrate. We recently enables smartquotas on home folders and see very off results. If we see the report on smart quotas by user, it doesn't match the top 10 directories that I see otherwise. Our thought is this is due to file ownership under individual folders. As administrators we own many files of various users and can get to accurate information thus failing in our effort to apply quotas. Is there an easy way to apply ownerships to the respective users ?

0 Kudos
1 Solution

Accepted Solutions
Stdekart
2 Iron

Re: Smartquotas on home drive

Jump to solution

Bhakti,

There are a couple different option here that could be done to correct the fact that the owner of most of your migrated files are owned by admin or another high level user.

While both will be time consuming, they both offer some pluses in different areas.

You could configure directory quotas on each directory for each user:

The nice thing about this configuration is that directory quotas allow you to set the visible size of the share to that of the hard quota.

So if you have a 800TB cluster and each user directory Eg. /ifs/data/home/user1 has a hard quota of 1TB, the users share would report a 1TB size.

Down side to this is configuring each quota could be time consuming.

You could also work to "chown" the files in each user directory recursively based on the correct owner of the files.

isi720x-1# chown -R <domain>\\<user> <path>

Once the directories have the correct owner you can set up a single default user quota on the "home drive" directory, and each individual quota will be created automatically with the same configuration as the default.

This may prove to save some time as only one quota creation is needed, however the size of the share would be reported as the full cluster size following the above example 800TB.

I would recommend taking a look at the respective administration guide for more information around quota types and configuration.

7.2.0.x CLI guide (Page 691)

https://support.emc.com/docu56048_OneFS_7.2_CLI_Administration_Guide.pdf?language=en_US

7.2.0.x Webui guide (page 339)

https://support.emc.com/docu56049_OneFS_7.2_Web_Administration_Guide.pdf?language=en_US

0 Kudos
15 Replies
Stdekart
2 Iron

Re: Smartquotas on home drive

Jump to solution

Bhakti,

There are a couple different option here that could be done to correct the fact that the owner of most of your migrated files are owned by admin or another high level user.

While both will be time consuming, they both offer some pluses in different areas.

You could configure directory quotas on each directory for each user:

The nice thing about this configuration is that directory quotas allow you to set the visible size of the share to that of the hard quota.

So if you have a 800TB cluster and each user directory Eg. /ifs/data/home/user1 has a hard quota of 1TB, the users share would report a 1TB size.

Down side to this is configuring each quota could be time consuming.

You could also work to "chown" the files in each user directory recursively based on the correct owner of the files.

isi720x-1# chown -R <domain>\\<user> <path>

Once the directories have the correct owner you can set up a single default user quota on the "home drive" directory, and each individual quota will be created automatically with the same configuration as the default.

This may prove to save some time as only one quota creation is needed, however the size of the share would be reported as the full cluster size following the above example 800TB.

I would recommend taking a look at the respective administration guide for more information around quota types and configuration.

7.2.0.x CLI guide (Page 691)

https://support.emc.com/docu56048_OneFS_7.2_CLI_Administration_Guide.pdf?language=en_US

7.2.0.x Webui guide (page 339)

https://support.emc.com/docu56049_OneFS_7.2_Web_Administration_Guide.pdf?language=en_US

0 Kudos
Stdekart
2 Iron

Re: Smartquotas on home drive

Jump to solution

Bhakti,

If the Celerra is still set up an accessible, you could try and utilize EMCOPY to migrate the file metadata over (ACL's and owner/group) however depending on how many file names have been changed after the migration this may result in only a partial metadata migration, for only the files that have not been moved or modified.

Download for EMCopy:

https://download.emc.com/downloads/DL14101_EMCOPY_File_migration_tool_4.17.exe

0 Kudos
Bhakti1
1 Nickel

Re: Smartquotas on home drive

Jump to solution

Thanks for responding to my question. If we apply directory quotas, will this be a one time thing? or we apply quota every time we have a new user join the company? Also do you know if we could make exceptions on the limit to few users, eg: executives have bigger quotas than that of other employees?

0 Kudos
Stdekart
2 Iron

Re: Smartquotas on home drive

Jump to solution

Bhakti,

Using directory quotas you will need to create a new one each time a new person joins the company. This is one of the caveats of using the directory quota option.

However you can control each directory hard quota and configuration individually. So executives can have more quota space than the standard user.

Highlighted
Bhakti1
1 Nickel

Re: Smartquotas on home drive

Jump to solution

Is the same feature available with User Quotas?

0 Kudos
Stdekart
2 Iron

Re: Smartquotas on home drive

Jump to solution

Bhakti,

User Quotas can have "unlinked" quotas that allow you to customize an individual quota similar to directory quotas.

As once unlinked they are no longer connected (linked) to the default user quota configuration.

User quotas also have the ability to be created as user home directories are created automatically, pending owner of the directory; automatically created quotas use the owner name.

A downside to this is you loose the ability to have the SMB share show hard quota size instead of full cluster size.

0 Kudos
dynamox
6 Gallium

Re: Smartquotas on home drive

Jump to solution

Bhakti,

we use directory quotas for one of our department. In order for them to be more efficient we create 20 directories and name them User1, User2, User3 ... and go ahead and set quota on them. When this department gets new employees they just simply rename User1 to New_employeeName and quota follows that folder. Then every so often they request 20 more quota enabled directories.

0 Kudos
dynamox
6 Gallium

Re: Smartquotas on home drive

Jump to solution

Shane,

Default user quota functionality, can be set on any directory or it can be used in tandem with home directory functionality ?

For example:

/ifs/clustername/Marketing_Home

/ifs/clustername/HR_Home

Can default quota functionality be applies to Marketing_Home and set set to 10G and then another default quota set on HR_Home and set to 15G ?  Basically mimicking Quota functionality in Windows.

0 Kudos
Stdekart
2 Iron

Re: Smartquotas on home drive

Jump to solution

Dynamox,

Correct, you can set default user quotas on both of those home directories, with different hard, soft, and advisory thresholds. Keep in mind default user quotas use the owner of the directory and files, to create and calculate total quota usage.

However if you have a user in one of these directories, say an Admin or CEO etc. you can unlink them from the default, which will allow you to set a custom limitation for that user.

Does that answer your question?