Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

2879

June 25th, 2015 14:00

Smartquotas on home drive

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 ?

104 Posts

June 25th, 2015 14:00

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 \\

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

104 Posts

June 25th, 2015 15:00

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

23 Posts

June 26th, 2015 07:00

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?

104 Posts

June 26th, 2015 08:00

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.

104 Posts

June 26th, 2015 10:00

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.

23 Posts

June 26th, 2015 10:00

Is the same feature available with User Quotas?

1 Rookie

 • 

20.4K Posts

June 26th, 2015 19:00

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.

1 Rookie

 • 

20.4K Posts

June 26th, 2015 19:00

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.

104 Posts

June 29th, 2015 06:00

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?

1 Rookie

 • 

20.4K Posts

June 29th, 2015 12:00

great, thank you Shane

1 Rookie

 • 

20.4K Posts

June 30th, 2015 04:00

two reasons for my shop:

1) Users map one network drive, one the root of that drive you have different department folders as well as another subfolder that contains home directories. Department folders have no restrictions, while home folders do.

2) Deskside support team always modifies (incorrectly) folder ownership which would break user quotas.

23 Posts

June 30th, 2015 04:00

Dynamox why did you choose directory quota over user ? From the pros and cons of both, I feel user quotas does everything that directory quotas does plus it's automated. Just curious to know the reasons behind going for user quotas.

Bhakti Vora

Phone: 646-447-4752

Cell : 646-734-2887

Server and Storage Engineering Department

Alternate Contact: SSEngineering@emblemhealth.com

Information Systems – Technology

23 Posts

June 30th, 2015 05:00

So when we apply user quotas let's say under /ifs/home where all user folders reside, it also accounts for files owned by an user under /ifs/data too?

Bhakti Vora

Phone: 646-447-4752

Cell : 646-734-2887

Server and Storage Engineering Department

Alternate Contact: SSEngineering@emblemhealth.com

Information Systems – Technology

1 Rookie

 • 

20.4K Posts

June 30th, 2015 06:00

i don't think so, if you use home directory feature , users would be placed under /ifs/home/. I have many departments and did not want to lump all users in my organization under /ifs/home/.

104 Posts

June 30th, 2015 06:00

Bhakti,

If you set the default user quota on /ifs/home, then only files and folder in that directory will count against the users quota.

If you were to set it on simply /ifs it would account for every file in the file system both /ifs/data and /ifs/home plus what ever other directories are in /ifs.

Default user quotas will only traverse down the directory tree not back up, so make sure you set the correct root path for where you would like the default user quota applied.

No Events found!

Top