Remove the directory '/vol1/dir1' if it is empty.

SE5310 > rm /vol1/dir1

Remove the file hierarchy rooted at '/vol1/dir1' displaying each file as it is removed.

SE5310 > rm -r-v /vol1/dir1This removes all files and the directory.

Note – All paths must be absolute paths from the root directory.

To delete directories from the CLI using rmdir

The rmdir utility removes the directory entry specified by each directory argument, provided it is empty. Arguments are processed in the order given. In order to remove both a parent directory and a subdirectory of that parent, the subdirectory must be specified first so the parent directory is empty when rmdir tries to remove it.

Example:

rmdir /vol1/d1 /vol1/d2 /vol1/d3 /vol1

Note – All paths must be absolute paths from the root directory.

How do I recursively delete directories from the StorEdge administration utilities?

StorEdge provides a utility to delete entire directory trees, including their contents. This is a very powerful tool, but one that comes with some risk. This command immediately and permanently deletes files and directories, or even the entire contents of a volume. This tool should be used very carefully, and the entry should be carefully checked before entering. No messages asking to verify will be presented.

In order to prevent accidental or unauthorized deletions, this command must be manually loaded before use. This functionality is only available at the StorEdge CLI (command line interface).

1.To access the StorEdge CLI, connect to the StorEdge via Telnet or serial console.

2.Type “admin” at the [menu] prompt and enter the administrator password.

3.At the CLI, enter “load rdel.nsm”.

4.Enter “rdel <pathname>”. The pathname must be a full path including volume name.

2-138Sun StorEdge 5310 NAS Troubleshooting Guide • December 2004

Page 184
Image 184
Sun Microsystems 5310 NAS manual Rmdir /vol1/d1 /vol1/d2 /vol1/d3 /vol1

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.