Network and Storage Protocols

Users home directories and quotas

TRYAREBOOT
12,262 Views

I need to migrate a bunch of users home directories onto our FAS2240

Currently they are all folders within a hidden share off our main fileserver and each folder has permissions set so only that  the user can only access their own  folder. Each user has a 10GB quota.

I have been looking at using the cifs_homedir.cfg and specifying ntname for the naming convention but I cannot work out how to apply a quota that will apply to each user.

Could somebody point me in the correct direction ?

Thanks

Andrew

1 ACCEPTED SOLUTION

fschafhauser
12,254 Views

Hi Andrew,

here is my working example. Replace *DOMAIN_NAME* with your Windows Domain Name:

create qtree /vol/userhome/*DOMAIN_NAME*

/etc/cifs_homedir.cfg:

/vol/userhome/*DOMAIN_NAME*

/etc/quotas is attached.

Default Quota is set to 1GB. Exceptions needs to be configured afterwards.

Set home dirs hidden:

FILER> options cifs.ho   

options cifs.home_dir_namestyle      hidden    

options cifs.home_dirs_public_for_admin on

Enjoy!

Florian

View solution in original post

16 REPLIES 16
Public