Creating a new LUN in QNAP

Share this post on:

In the previous post (https://talesfromthedatacenter.com/2025/01/creating-an-iscsi-target-on-a-qnap-array/) , I created a new iSCSI target that will be used for this post.

Next up, we need to create a LUN. A “LUN” stands for “Logical Unit Number” and is a unique identifier used to designate a specific storage partition within a Storage Area Network (SAN), essentially acting as a virtual disk that allows a computer to access a portion of the SAN storage space for data operations; it’s like a numbered address for a specific storage location on the network, managed by administrators and not directly interacted with by users.

Let’s get started and log into the QNAP; Clicking on Storage and Snapshots.

From there, click on iSCSI & Fibre Channel, to access LUNs.

Next, we can see the existing LUNS, as well as the targets. Click on Create, and then “New Block-Based LUN”

This will kick off the wizard. The first step is to pick your Storage pool,and LUN type. Thin Provisioned LUNS are more space efficient, as the LUN only uses the actual space used vs the size of the LUN. Thick provisioned use of all the space, but it does have some performance advantages. Since I’ll use this LUN for Oracle DB ASM down the road, I’ll make it a thick provisioned LUN. Then click on next.

Next up we will give the LUN and name and size. I’ll use the automatically created name, and make this a 125GB Lun. Then click Next.

Finally, verify the info and then click on Finish to make the LUN.

The LUN will take a minute to be provisioned. We will now see it in the list on LUNs, under unmapped LUNs.

LUNs need to be mapped to a Target to be used. This will control the path the LUN takes to the end system. To allocate the LUN, first select the LUN and then “Edit LUN Mapping”

As a note you can also edit the LUN, to grow it, as well as a few other features. 

The LUN Mapping dialog will come up. From here, you can Map it to an iSCSI target. In this example I am mapping it to the labqnap2 target.

Once you lick OK, the LUN will map.

You will see it now under labqnap2. Next up , we can now mount the LUN from a Linux system as a disk.

Share this post on:

Author: admin

Erik is currently an Oracle ACE Director and VP of Enterprise Transformation at Mythics, serving as a lead strategist for Federal, State and Local Government and Commercial customers throughout the United States. These customer engagements include enterprise cloud transformations, data center consolidation and modernization efforts, Big Data projects and implementations of Oracle Engineered Systems. He is a board member of the DC metro area National Capital Oracle User Group, a board member of the Independent Oracle Users Group (IOUG), Cloud Computing Special Interest Group (SIG) and he is actively involved with the Oracle Enterprise Manager SIGs. Erik presents frequently at conferences, including Oracle OpenWorld, Oracle FedForum, COLLABORATE and other user groups and conferences around the United States. He has worked with Oracle and Sun Systems since the mid 90s, and is experienced with most of the core Oracle technologies.

When not flying to the far points of the country from the Atlanta Metro area, he enjoys spending time with his family at their observatory, where the telescopes outnumber the people.

View all posts by admin >

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.