[go: up one dir, main page]

0% found this document useful (0 votes)
67 views4 pages

Creating Target Using trueNAS Storage

TrueNAS CORE can be used for a variety of data storage needs from home or office environments to data centers. It provides direct access to the powerful ZFS file system for reliable data storage and integrity. TrueNAS ensures data integrity from start to finish with built-in RAID, data management tools, and automatic detection and repair of data corruption. It can integrate seamlessly into any environment via various access protocols like iSCSI which allows connecting Linux clients to TrueNAS storage over the network. The document then describes deploying TrueNAS with iSCSI, including creating a pool and iSCSI target on TrueNAS, discovering and logging in to the target from a Linux client, and mounting the iSCSI disk.

Uploaded by

Norhan Gamal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views4 pages

Creating Target Using trueNAS Storage

TrueNAS CORE can be used for a variety of data storage needs from home or office environments to data centers. It provides direct access to the powerful ZFS file system for reliable data storage and integrity. TrueNAS ensures data integrity from start to finish with built-in RAID, data management tools, and automatic detection and repair of data corruption. It can integrate seamlessly into any environment via various access protocols like iSCSI which allows connecting Linux clients to TrueNAS storage over the network. The document then describes deploying TrueNAS with iSCSI, including creating a pool and iSCSI target on TrueNAS, discovering and logging in to the target from a Linux client, and mounting the iSCSI disk.

Uploaded by

Norhan Gamal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

TrueNas

TrueNAS CORE used for Share Files, Serve Media, Store Anything. It can be used
from home to office to the data center for a variety of data-intensive use cases. it
gives you direct, user-friendly access to ZFS. With its built-in RAID, powerful data
management tools, and ability to automatically detect and repair silent data
corruption (and bit rot), TrueNAS and OpenZFS ensure data integrity from start to
finish. It is Unified Storage that integrates seamlessly into any environment with a
variety of file, block, or object access protocols.

PREREQUISITE
TrueNas Virtual Appliance : 172.16.97.139.
client machines : 172.16.97.132.

DEPLOYMENT PROCESS

------------------------------------- on TrueNas Machine --------------------------------------

after installing TrueNAS ISO and reboot it.


Manage with user interface that will be shown as the below screenshot.

First Step:-

Create Pool.
Press Add >> Create new Pool >> Name the Pool and add the wanted disks
Then Create ISCSI target
which is TrueNAS storage.

Go to Sharing > Block Shares (iSCSI). You can either set one up
manually or use WIZARD to guide you through creation.

Name the target and choose the Pool you created.


Then Press Next.

Configure the portal settings.


Initiators: a client which has authorized access to the storage data on the
TrueNAS system

to get the initiator name from the Client Linux Machine.

write cat /etc/iscsi/initiatorname.iscsi on Terminal


copy the output from the Terminal to the initiator and write Network

confirm the Target.


------------------------------------- on Linux Machine --------------------------------------

install the ISCSI Package.

yum -y install iscsi-initiator-utils

Discover Targets in ISCSI Server.

iscsiadm --mode discovery --type sendtargets --portal 172.16.97.139 –


discover 172.16.97.139:3260 iqn.2005-10.org.freenas.ctl:test

Expected output:
172.16.97.139:3260,-1 iqn.2005-10.org.freenas.ctl:test

Login to ISCSI LUN

iscsiadm --mode node --targetname iqn.2005-10.org.freenas.ctl:test


--portal 172.16.97.139 --login

Expected output
Login to [iface: default, target: iqn.2005-10.org.freenas.ctl:test,
portal: 172.16.97.139,3260] successful.

To check the added target

lsblk -l

to mount the disk

blkid /dev/sdc “depends on iscsi name”

UUID-XXXXXXXX-XXXX-XXXX-XXXXXXXX /iscsi ext4 _netdev 0 2

You might also like