+ All Categories
Home > Documents > 11 Quotas Administration v2.1

11 Quotas Administration v2.1

Date post: 03-Jun-2018
Category:
Upload: dinesh-kumar-k
View: 218 times
Download: 0 times
Share this document with a friend

of 22

Transcript
  • 8/11/2019 11 Quotas Administration v2.1

    1/22

    Quotas Administration

    Data ONTAPFundamentals

  • 8/11/2019 11 Quotas Administration v2.1

    2/22

    NetApp Confidential -- Do Not Distribute

    Objectives

    At the end of this module you will be able to Describe how quotas are used to restrict and track

    disk access.

    Determine the function of quotas.

    Recognize the purpose of the /etc /q uotasfile. Interpret the contents of the /e tc /quo tasfile. Define the function and syntax of the quota,quota resize, quota report, and quotalogmsgcommands.

    Turn quotas on for a specific volume.

    Display a quota report to view current status.

    Identify and define the function of two specialentries in the /e tc /q uo tasfile.

  • 8/11/2019 11 Quotas Administration v2.1

    3/22

    NetApp Confidential -- Do Not Distribute

    Quotas Overview

    Functions of Quotas: Limit set to control use of file or disk space

    Method to track usage without imposing a limit

    Way to warn users when usage is high

  • 8/11/2019 11 Quotas Administration v2.1

    4/22

    NetApp Confidential -- Do Not Distribute

    Quota Targets

  • 8/11/2019 11 Quotas Administration v2.1

    5/22

    NetApp Confidential -- Do Not Distribute

    Quota Targets

  • 8/11/2019 11 Quotas Administration v2.1

    6/22

    NetApp Confidential -- Do Not Distribute

    # Target Type Disk Files Thold Sdisk Sfiles

    * user@/vol/vol2 50M 15K 45M 10K/vol/home/user user 50M 10K 45M

    21 group 750M 75K 700M 9000

    /vol/eng/proj tree 100M 75K 90M

    writers group@/vol/techpub 75M 75K 70M

    acme\cheng user@/vol/vol2 200M - 150M

    [email protected] user - - -

    rtaylor user@/vol/vol2 200M - 150M

    s-1-5-32-544 user@/vol/vol2 200M - 150M

    The /etc /q uo tasFile

    Disk and Files

    Columns

    List the hard limits

    for disk space and

    number of files

    Sdisk and Sfiles

    Columns

    List the limits at

    which warning

    messages are

    triggered

    Target Column

    Lists the users, groups, and trees to which

    the quota limits will be applied

    Type ColumnLists the type of quota being

    applied

    Threshold

    Column

    Lists the limit at

    which console

    messages are

    triggered

  • 8/11/2019 11 Quotas Administration v2.1

    7/22NetApp Confidential -- Do Not Distribute

    Quota Types

    user user

    @vol user

    @tree

    groupgroup@vol group@tree

    treetree@vol

  • 8/11/2019 11 Quotas Administration v2.1

    8/22NetApp Confidential -- Do Not Distribute

    Quotas Example

    # Target Type Disk Files Thold Sdisk Sfiles

    * user@/vol/techpubs 100M 10K 90M - -editors group@/vol/marketing 100M 10K 90M - 9Kengineers group@/vol/engineering 200M 20K 190M - 19Kyhagopian user@/vol/techpubs 500M 50K 475M - -

  • 8/11/2019 11 Quotas Administration v2.1

    9/22NetApp Confidential -- Do Not Distribute

    Managing Quotas

    Managing

    Quotas

  • 8/11/2019 11 Quotas Administration v2.1

    10/22NetApp Confidential -- Do Not Distribute

    Quota Commands

  • 8/11/2019 11 Quotas Administration v2.1

    11/22NetApp Confidential -- Do Not Distribute

    Quota Report Example

    NetApp> quota report u

    Type ID Volume Tree Used Limit Used Limit Quota SpecifierPhughes 4 vol0 Proj1 856 104857600 3 1000 /vol/vol0/proj1ACME\phughes

  • 8/11/2019 11 Quotas Administration v2.1

    12/22NetApp Confidential -- Do Not Distribute

    Thequota logmsg Command

    Specifies interval between log messages

    Option FunctionON Example:quota logmsg on 60m v vol2

    OFF Disables logging of messages to system log

    -v Applies interval to named volume

    all Applies interval to all volumes on the filer

  • 8/11/2019 11 Quotas Administration v2.1

    13/22NetApp Confidential -- Do Not Distribute

    Special Entries in the /etc /q uo tasFile

    Two time-saving tools for managing quotas:

    QUOTA_TARGET_DOMAIN

    QUOTA_PERFORM_USER_MAPPING

  • 8/11/2019 11 Quotas Administration v2.1

    14/22NetApp Confidential -- Do Not Distribute

    Special Entries in the /etc /q uo tasFile

    Change UNIXnames to Windowsnames byinserting a domain name prefix

    QUOTA_TARGET_DOMAIN [domain name]

  • 8/11/2019 11 Quotas Administration v2.1

    15/22NetApp Confidential -- Do Not Distribute

    Special Entries in the /etc /q uo tasFile

    Make UNIXand Windowsuser namesequivalent by mapping

    QUOTA_PERFORM_USER_MAPPING

  • 8/11/2019 11 Quotas Administration v2.1

    16/22

  • 8/11/2019 11 Quotas Administration v2.1

    17/22NetApp Confidential -- Do Not Distribute

    Quota Error Messages

    Sent when quota limits are reached

    Message (to console or client)

    depends on quota type

    Quota Types /etc /q uotasField

    Hard Disk and File

    Threshold Threshold

    Soft Sdisk and Sfile

  • 8/11/2019 11 Quotas Administration v2.1

    18/22NetApp Confidential -- Do Not Distribute

    Quota Error Messages

  • 8/11/2019 11 Quotas Administration v2.1

    19/22NetApp Confidential -- Do Not Distribute

    Quota Error Messages

    What happens when a soft quota limit isreached? Message to console

    SNMP traps generated

    What happens when a hard quota limit is

    reached? Message to console

    Message to client SNMP traps generated

  • 8/11/2019 11 Quotas Administration v2.1

    20/22

    NetApp Confidential -- Do Not Distribute

    Topic Review

    What are the two primary functions of quotas? Restrict use of space

    Track usage

    What is the purpose of the /etc /q uotasfile?

    Contains the quota limit rules to which the system refersevery time it receives a write request

    What information is entered in the /etc /q uotasfile? Quota target, type, disk and file size limits (hard quotas),

    threshold limit, disk and file warning limits (soft quotas)

    What command would you enter to turn quotas onfor

    volume vo l2 ?quota on vol2

  • 8/11/2019 11 Quotas Administration v2.1

    21/22

    NetApp Confidential -- Do Not Distribute

    Topic Review

    What command would you enter to activate changes made to the/etc /q uotasfile for vol2?quota resize vol2

    What command would you enter to view a list of all users andtheir current usage? quota report -s

    What command would you enter to make system log entriesevery two hours? quota logmsg on 120m v vol2

    In the /etc /q uo tasfile what does the entry,QUOTA_TARGET_DOMAIN techpubsdo?

    Adds the domain name, techpubs as a prefix to quota targets

    Root user and Windows Administrators are exempt from user andgroup quotas. What are they not exempt from? Tree quotas

  • 8/11/2019 11 Quotas Administration v2.1

    22/22

    ExercisesQuotas True/False

    Quota Management and Administration


Recommended