EMC Celerra: command line quota modification (well, sort of)

Hey Windows admins, have you had an EMC Celerra bought to replace your Windows file server(s)? Wondering how you’re going to manage those fiddly user quotas efficiently with no access to a command prompt? Sure you can use the GUI, but it’s pretty slow…

The trick is to manage the quotas “exactly” the same as you always used to/wanted to by using fsutil on a windows machine. Yes, I know that fsutil only works on the local machine. That’s the trick (as long as you only want to modify quotas anyway!). Set the quotas up on the Windows machine (can even be your PC, you just need an NTFS drive – you don’t even need to enable quota management), then select the quota entries and export to a file. You can then use the Windows quota management GUI to import that file to your Celerra mapped drive.

Steps (Windows 7 PC):

  1. Open a command prompt anf use fsutil to set up your quotas (perhaps via a script), command format is as follows:
    fsutil quota modify c: 1073741824 2147483648 domain\user

    where the numbers are the warning level and the quota limit (in that order) and are in bytes, so use multiples of 1024 not 1000 – the numbers above set the warning level to 1GB and the quota limit to 2GB.

  2. Open Explorer, right-click your C drive, Properties, Quota tab, click “Show Quota Settings” button.
  3. “Quota Settings for (C:)” dialogue box appears, leave “Enable quota management” box unticked, click “Quota Entries…” button.
  4. You should see all the quotas you just added. Select the quotas to export – which could be all of them – but be careful with any that are for “special” accounts like BUILTIN\Administrators, personally I exclude these. With the quotas selected go to the Quota menu and select Export. Pick a location and save the file, the file extension is optional and could be anything you like.
  5. Now map a drive to the root share on your Celerra virtual data mover, this is the hidden share that contains the folders .etc and lost+found as well as a folder that is the shared folder that your users gain access via.
  6. Right-click the mapped drive and repeat steps 2 and 3 above to show the quotas. If you don’t get a quota in step 2 then you’ve mapped your drive to the wrong place.
  7. From the Quota menu, choose Import and pick the file you exported in step 4.
  8. You’ll get prompted to overwrite any existing quotas for a user, and there is a tick box to choose to always overwrite.

 

This entry was posted in Windows and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s