Turning old hardware into network storage
Configuration
To create a filesystem on the drives intended for the NAS as mass storage, first open Storage | File System Manager. After clicking on Create File System, a clear-cut dialog appears where you can assign a name to the filesystem, select the appropriate drive from a list of mass storage devices built into the system, and specify which RAID level you want to use for creating the drive (Figure 2).
In addition, you can set a compression level here and define how the NAS mounts the drive. It is important to note that when specifying the RAID level, if there is only one storage drive in the system, you must specify the JBOD level. Also, the filesystem name should be at least eight characters. To apply the settings, click Save. The system then confirms successful creation of a new filesystem.
Next, switch to Storage | Volume Manager and create a new volume. After clicking on Create Volume, a self-explanatory dialog appears that is limited to essential information. Because no users or groups exist initially, the administrator still appears in this dialog as the User Owner. If you created several filesystems in the first step, then specify the filesystem to be used for the volume in a selection field in this dialog. You also need to name the volume and, if applicable, assign permissions to manage access to it.
The basic setting activates read and write permissions for users, and the group only has read permission. If you create quotas, you also conveniently assign storage quotas in this dialog. After completing all the settings, press Save to save the new volume. Similar to creating a filesystem, the volume now appears in a list in the Volume Manager, which you can use to modify the settings later on if needed (Figure 3).
Groups and Users
To use the memory quota sensibly and securely, you must create groups and users using System | Groups Manager and Users Manager respectively. Depending on which option you select, you will find the Create Group or Create User links, much like the drive settings. I recommend creating the groups first and then assigning the users to the groups by selecting the desired group in the corresponding selection field in the Create User dialog.
When creating a user, you can also define quotas and assign permissions. After completing the settings, press Add to create the group or user. The dashboard will then display the total number of logged-in users in Users. Clicking View Details under Users opens detailed information about the users in a table format. Under Actions, you can manage the entries, delete users, or modify their settings (Figure 4).
Access
To gain access to the NAS system's resources, the final step is to specify which access protocols you want to use. EasyNAS offers a total of eight different access modes, ranging from Apple's AFP protocol to CIFS/SMB, which is common in the Windows world. The SSH, NFS, and FTP protocols commonly used on Linux are also available.
You can enable support for the individual protocols under System | Addons, where you will find the individual options listed in a table in the File Sharing area. To integrate an option into the system, press the installation button on the right in the Actions column. EasyNAS now downloads the corresponding package from the Internet, integrates it, and then displays a confirmation message.
To access the NAS system using the respective protocol, you need to enable the protocol first. To do this, EasyNAS creates a new File Sharing category in the sidebar on the left, which shows the currently installed protocols. You can enable them via the sliders. The protocols are then immediately available without rebooting the system.
To access the individual volumes from a desktop PC, open the respective desktop environment's file manager and connect to the desired storage via the corresponding settings option (Figure 5). The volumes can then be used like any conventional folder.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.