This article is a mirror article of machine translation, please click here to jump to the original article.

View: 16778|Reply: 1

ESXI builds the TrueNAS Core storage operating system

[Copy link]
Posted on 1/2/2022 9:12:06 PM | | | |
NAS (Network Attached Storage) is literally a device connected to a network with data storage functions, so it is also called "network memory". It is a dedicated data storage server.

The more popular NAS products on the market today are:Synology, Wei Unicom, and TerraMasterAfter purchasing its hardware, it brings its own NAS system developed by each manufacturer. If you don't want to buy its products, tooYou can install TrueNAS on an idle computer to build a NAS service


TrueNAS CORE (formerly FreeNAS) is the world's most popular storage operating system because it enables you to build your own professional-grade storage system for a variety of data-intensive applications without any software costs. Simply install it on your hardware or VM and experience the true storage freedom of open-source storage.

TrueNAS CORE can be used for a wide range of data-intensive use cases, from the home to the office to the data center. IT professionals, photographers, designers, audio/video producers and editors, developers, and anyone serious about storing and protecting large amounts of data can take advantage of TrueNAS CORE. Pair it with your favorite backup software to archive large amounts of infrequently used data from your local device, or even sync and push data to the cloud.

At the heart of TrueNAS is the self-healing OpenZFS file system. Previously only available on the most high-end enterprise storage systems, TrueNAS gives you direct, user-friendly access to ZFS. With their built-in RAID, powerful data management tools, and the ability to automatically detect and repair silent data corruption (and bit rot), TrueNAS and OpenZFS ensure data integrity from start to finish.

More than just traditional "network-attached storage," TrueNAS is a unified storage that seamlessly integrates into any environment with various file, block, or object access protocols. You can also extend its functionality with various free plugins, such as Plex Media Server, NextCloud, Zoneminder monitoring, and more.

TrueNA Documentation:The hyperlink login is visible.

Open Source Address:The hyperlink login is visible.

Installation Tutorial:The hyperlink login is visible.

Download TrueNAS

Download link:

The hyperlink login is visible.
The hyperlink login is visible.

I useDELL T340 and ESXI 7.0 install TrueNAS systemFor information on how to install ESXI on DELL T340, you can refer to the following:


DELL PowerEdge T340 is equipped with ESXI 7.0 virtualization
https://www.itsvse.com/thread-10116-1-1.html

I machine plugged in2 2TB red disks, and iDRAC is used to form a RAID1 array for TrueNAS (TrueNAS comes with a soft raid function), which can be referred to as follows:

The DELL T340 server creates a RAID with iDRAC9
https://www.itsvse.com/thread-10105-1-1.html

RAID Technology Explained - RAID0, RAID1, RAID3, RAID5, RAID6, RAID10 comparison
https://www.itsvse.com/thread-10100-1-1.html

will download the good "TrueNAS-12.0-U7.iso"The image file is uploaded to ESXI storage, as shown in the following image:



Start installing TrueNAS

TrueNAS minimum requirements

  • 64-bit CPU
  • 16 GB RAM memory
  • 16 GB boot drive (SSD supported)
  • At least one additional disk

Notes:

TrueNAS should be installed onBIOS modeUndermount.
Some products require identification of the operating system installed on the VM. The ideal option is:FreeBSD 12 64-bit。 If this is not available, try options like FreeBSD 12, FreeBSD 64-bit, 64-bit OS, or something else. Don't choose the type of operating system associated with Windows or Linux.

Create a new virtual machine using ESXI, and select FreeBSD 12 (64-bit) as shown in the following figure:




Select Storage (2 RAID1 storage with 2TB



Set CPU, memory, disk size and other information according to your own situation, I choose "thick provisioning, delay zeroing" is faster!Two hard drives must be added, one as a system disk, and one as a file storage disk!

1. Streamlining Provisioning (THIN):

When creating a disk, the space occupied by the disk is calculated according to the actual usage, that is, how much is used, no space is allocated in advance, the disk data is not zeroed, and the maximum size of the partitioned disk is not exceeded.

Therefore, when there is an I/O operation, it is necessary to allocate space first, and then set the space to zero before performing the I/O operation. When there are frequent I/O operations, disk performance degrades.

2: Thick provision, delay zero:

The default creation format allocates space directly from the disk when you create a disk, but does not zero the data retained on the disk. So when there is an I/O operation, you only need to do the zeroing operation.

The disk has good performance and short time, making it suitable for virtual desktops in pool mode

3. Thick Setup:

Create disks for clustering capabilities. When you create a disk, you allocate space directly from the disk and zero in the disk retention data. So when there is an I/O operation, there is no need to wait for it to be executed directly.

Disks have the best performance and long time, making them suitable for running virtual machines that run heavy application services



The CD/DVD drive selects the ISO file you just uploaded, as shown below:



Select "BIOS" for the boot option, as shown in the figure below:



Next steps:



After clicking Done, power on the virtual machine and press enter to install TrueNAS. (Or wait 10 seconds to automatically enter the installation interface)



Select OK and press Enter, as shown below:



useSpacebarSelect a drive, as shown below:



This operation will erase all data on the hard drive, select YES Enter to continue, as shown in the following image:



Set a super admin password, which will be used on the web login interface. As shown below:



Select Boot mode as BIOS, as shown below:



Start the installation as shown below:



After the installation is complete, restart the system as shown in the figure below:




After the system boots successfully, the output is as follows:



According to the address output from the console, enter it into the browser, as shown in the figure below:



Enter the administrator password you just set, as shown below:



TrueNAS setup

After installing TrueNAS, you need to make a simple setup with the time zone as Shanghai, China, as shown in the figure below:




Find the service, start the SMB service, and set up the boot autostart, as shown in the following image:



Windows remote access to TrueNAS storage

Create a new storage pool, as shown in the following figure:



We are a single hard drive, the hard drive has done RAID1, TrueNAS thinks that we use one disk for storage, which may cause data loss, as shown in the image below:

A stripe data vdev is highly discouraged and will result in data loss if it fails



Create a new DataSet in the storage pool (which can be understood as a folder, and you can also create a new DataSet under the DataSet), as shown in the following figure:



Create a new group and user in TrueNAS, create a new "itsvse_homeThe following figure shows the group:




Create a test user with password: A123456 and add it to the itsvse_home group, as shown in the figure below:


Find the newly created DataSet(test) in the storage pool and set ACL permissions, as shown in the following figure:



In the Share menu, find Windows shares (SMB) and create a new one, as shown below:



Try opening My Computer and typing in the navigation bar\\192.168.50.177\test_private, account: test, password: a123456, as shown in the figure below:



The test can create a new folder and upload the download data normally. You can also map the share directly as a network drive, as shown in the following figure:



(End)




Previous:Statistics promotion widget
Next:TrueNAS Core looks at snapshot locations
 Landlord| Posted on 4/3/2022 10:48:14 AM |
DELL T340 ESXI builds a TrueNAS drive-thru drive
https://www.itsvse.com/thread-10229-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com