Hard Limits/Soft Limits: Same as KB Limits above, but applies to the number of files rather than their size.

To define a quota, locate the desired user on the list, and double click the user entry. This will pop up a window which will allow you to define hard and soft KB limits, as well as hard and soft file limits. You can choose Default, No Limit, or Custom via radio buttons. Default applies the quotas defined for the default user, if any. No Limit allows unlimited storage, and Custom allows you to define a quota in KB, MB or GB. Click “apply” to set the newly defined quota, or click cancel to close the window with no changes.

If the user does not appear in the list, click the add button. Select the UNIX or Windows radio button, and select a user from the list. You can also type in a username, but the account must already exist on the Sun StorEdge 5310 NAS. Having selected the user, proceed as above to define a quota.

How do I configure user and group quotas at the CLI?

All quota operations are also available at the CLI, as follows:

There are four commands available which control quotas.

quotaon /volumename: This enables quotas for a particular volume.

quotaoff /volumename: This disables quotas for a particular volume

quota: This command is used to set quotas. The official syntax is as follows:

quota [-g-u] /VOLUME/* NAMEIDNAME/ID [bh=KB] [bs=KB] [fh=N] [fs=N]

-g and -u are used to specify a user or group name or GID/UID for display or setting

/VOLUME is mandatory, as all quotas are volume specific

A "block" is one KB, bh= defines a hard quota in blocks, bs= defines a soft quota in blocks, fh= and fs= define hard and soft quotas for number of files.

A soft quota may be exceeded temporarily, for a period of seven days. After the seven days, writes from this user will be denied due to quota.

A hard quota cannot be exceeded and will return an error upon the attempt. The most common implementation is to use hard quotas only.

It is permissible to use a user/group name instead of UID/GID, but the mapping must be present in /etc/passwd.nis. UID/GID will always work.

example: "quota -u 100 /vol1 bs=1000000 bh-2000000" sets the soft quota for UID 100 to 1GB and the hard quota to 2GB.

Chapter 2 NAS Head 2-111

Page 157
Image 157
Sun Microsystems 5310 NAS manual How do I configure user and group quotas at the CLI?

5310 NAS specifications

Sun Microsystems, known for its innovative computing solutions, launched the Sun 5310 Network Attached Storage (NAS) system, which marked a significant advancement in the realm of storage solutions in the early 2000s. The 5310 NAS was designed to provide high-performance, reliable, and scalable storage tailored for enterprise environments.

One of the standout features of the Sun 5310 NAS is its file-serving capabilities, which support multiple protocols, notably NFS (Network File System) and CIFS (Common Internet File System). This dual-protocol support allowed organizations to seamlessly integrate the NAS into diverse IT ecosystems, facilitating interoperability between UNIX, Linux, and Windows systems. The enhanced file-sharing capabilities made it an ideal solution for businesses with mixed operating environments.

The Sun 5310 NAS incorporates cutting-edge technologies to ensure high availability and data integrity. The system utilized a RAID (Redundant Array of Independent Disks) technology, providing various RAID levels to protect against data loss while optimizing performance. Additionally, the device featured hot-swappable drives, enabling maintenance and upgrades with minimal downtime, a crucial factor for business continuity.

Equipped with advanced management software, the Sun 5310 NAS offered users an intuitive interface for monitoring storage health and performance. This software included comprehensive reporting functionalities that allowed IT administrators to oversee usage patterns and capacity planning efficiently.

Scalability was another defining characteristic of the Sun 5310 NAS. The system could easily expand with additional storage modules, accommodating the growing needs of an organization without the necessity for complete system overhauls. This flexibility ensured that businesses could adapt their storage solutions to meet evolving data storage needs without incurring significant costs or disruptions.

In terms of performance, the Sun 5310 NAS featured high I/O throughput achieved through its robust hardware architecture and optimized file serving capabilities. This performance baseline was crucial for organizations that relied on heavy data workloads and required rapid access to information.

In summary, the Sun 5310 NAS from Sun Microsystems embodied a forward-thinking approach to network storage, blending reliability, scalability, and multi-protocol support. Its user-friendly management software, combined with the robustness of RAID technology and hot-swappable drives, made it a preferred choice for enterprises looking to streamline their storage infrastructure while safeguarding critical data.