12 KiB
Introduction to the ADMIN interface and instructions for initializing hard drives using NextNAS:
NextNAS is an abbreviation for Network-attached storage which is a file-level computer data storage server connected to computer network that provides data access to a heterogeneous group of customers. NextNAS specializes in serving files by hardware, software or configuration.
a.Admin interface:
- Used for administrators to manage files, install, add, edit, delete applications. When accessing the device for the first time, you cannot access ADMIN.
- To access ADMIN, you need to initialize the storage hard drive to store the application by accessing the NextNAS.
b.Instructions for accessing NextNAS:
At the main interface, click on the NextNAS icon:
After accessing the NextNAS, you will see the login interface, you need to log in to the NextNAS
After successfully logging in, you will go to the main interface of NextNAS:
Here, we can see some information such as:
- Hard drive information:
- System partition:
- Memory storage:
c. Instructions for initializing hard drives using NextNAS:
At the main interface of the NextNAS, access the Storage section in the navigation bar:
At Storage, you can see many sub-sections:
- Disks:
You can check the information of each drive (capacity, drive name,...)
-
S.M.A.R.T:
-
In the S.M.A.R.T section, you will check whether the quality of the hard drive is still good or not, whether there are data errors or not.
-
Click on the Device subsection in the S.M.A.R.T section, you can see information such as:
-
- Status of hard drive:
-- If the display status is green => the hard drive's condition is still good
-- The display status is yellow => the hard drive is at risk of failure, you should replace it with another type of drive to avoid data loss.
- In the Software RAID section, we can create a RAID partition:
So what is RAID?
RAID is the abbreviation for Redundant Array of Independent Disks - A form of combining multiple physical hard drives into one system. Previously, RAID was used as a data backup solution, allowing data to be simultaneously written to multiple hard disks. Until now, besides the above Backup role, RAID has many variations that allow significantly increasing the ability to retrieve data from hard disks.
-- Create RAID:
o At the interface, click on the “+” sign as shown:
o In the RAID creation section, you need to choose the RAID type, there are many types of RAID, in this article, we will use RAID 5 (need at least 3 hard drives with same capacity or more, 2 drives are combined together to get total capacity and 1 spare drive). In addition, you can learn more about other types of RAID at here .
Then, we will select the drive:
o After that, click Save, the interface will display the Pending configuration changes section, select the ✓ sign to be successful.
oAfter successful creation, there will be a message "Applied the configuration changes" and we can see the interface displaying information of the newly created RAID.
- To Format a drive, go to File System, click on the "+" sign to create a new File System, you can see many formats:
· In this example, we will format it into BTRFS format.
· When you click on the format you want to format, you will see the following interface:
· You need to select Profile, select Single if you need to create a single drive
· In the Device section, you need to select the drive to format into BTRFS format.
· After selecting, click Save to format the drive.
Success, click Close to turn off the notification· When formatting is complete, the system will automatically jump to Mount (attach the drive to the operating system)
OR return to the File System section, click as shown:
· In the Mount section:
- In the File System section, select the drive you just formatted.
- In the Usage Warning Threshold section, you choose the warning level that the drive is almost full. You can set the default to 85% (when it reaches 85%, we will receive a warning that the drive is almost full).
- After selecting, press Save to save.
*So where is the drive we just created?
Back at Dashboard, you can see the NAS files section
Click on the NAS Files icon, log in with your account and password
After logging in, you will see the following interface
o Go into System->srv, you can see the drive we just created
- To select the partition as the default storage location, go back to ==NAS==, you need to click on the Services section: o Go into the Symlinks section
o You go to the editing section:
Choose where you want to store it
Click Choose
o After selecting the default storage location, you must reboot by clicking the power button->Reboot->tick Confirm->Yes to receive the entire new configuration.
- Share SMB:
- What is SMB sharing?
- SMB (Server Message Block) is a network protocol used to share files and devices within a network. It is mainly used in Windows operating systems to allow different computers to access and share resources such as files, printers and folders. The SMB protocol plays an important role in connecting and sharing information between computers in the internal network, facilitating work and data transmission in a group work environment. You can learn more about the SMB protocol at [here](https://viettuans.vn/smb-la-gi#:~:text=SMB%20(Server%20Message%20Block)%20l%C3%A0 ,m%C3%A1y%20in%20v%C3%A0%20th%C6%B0%20m%E1%BB%A5c.)
- Instructions for sharing SMB at NextNAS:
- Step 1: Create users/groups:
- Go to Users section in the navigation bar:
- Create group:
- In the Users section, go to Groups:
- Click Create to create a group:
- Choose name:
- Save:
!
After successfully creating, you will see the group we just created in the interface in the Groups section:
- Create user:
- In the Users section, go to Users:
- Click Create to create a user:
- Fill in information:
- Fill in user name.
- Password.
- Select group:
- Save and Apply.
- After successful creation, you can see the user we just created:
- Step 2: Create folder to share: You return to Storage > Shared Folder:
- The interface that appears will be as follows:
- You need to enter the folder name:
- In the File System section, select the newly created partition:
- Next, select the path to the folder you want to share:
- Decentralization:
Choose the permissions you want, here, we will give everyone the right to: View, edit and write in the directory:
- After selecting, press Save to save.
- Similarly, select ✓ at Pending configuration changes: After successful creation, you will see the following interface:
- Step 3: At Services, go to the SMB/CIFS section, then go to the Shares section:
The interface that appears will be as follows:
- Step 4: Click on the Create icon:
- Select the folder to share: You select the folder you just created.
!
Then scroll down and press Save and Apply:
You can see the folder we just created for sharing:
- Step 5: Press the combination "Windows + R", then enter the path ==//10.0.0.4==:
-
Log in to the user account you just created:
-
After that, the folder we shared will be shared with the user we just created:
- Step 6: To edit permissions:
- We return to Storage > Shared Folder.
- Click on the created folder to share then click on the Access Control List icon:
- Then, in the newly created group, select "Read/Write" to give writing and reading rights to the entire group:
!
In addition, there are other decentralization modes such as:
- Read/Write: Read/write permission.
- Read-only: Read only.
- No access: No access rights.
- To edit permissions for all users, scroll down:
!
Here, you can choose to assign permissions to all users.
- To adjust permissions for users in the group, find that user's name and select their permissions:
!
In this example, if you choose Read-only for user1, user1 only has read rights.
- Then we click on Replace (replace all existing permissions) and Recursive (allow that permission even in subfolders):
- Click Save and Apply.
-
Download video:
- To Download videos from the Internet, in the Services section, select Downloader:
- Click on Add Download:
- At Download Type, select the download type you want:
!
In this example, we will select youtube-dl to download videos from Youtube
- Choose the name of the video:
- Fill in the format you want to download: including many formats such as: mp3, mp4,...
- Fill in the URL of the video on Youtube:
- Select the folder where you want the video to be saved and shared:
!
!
In this example, we will choose to save the video to the Media folder that was just shared.
- Select here if you want to download the video's Subtitles:
- When you finish selecting, press Add to add:
- You will see information about the file about to be downloaded:
- Click and select Start Download
- So it was successful.
-
We open the combination "Windows + R" and enter the path \10.0.0.4 to go to the folder: