Linux iSCSI Target LUNs

Posted on 2010-09-07
Last Modified: 2012-05-10

I've got a quick question:

Is there a way to provision LUNs on a Linux iSCSI target server as files on a volume rather than as a partition of a device? NetApp does it this way and I'm just wondering if it's possible to do this on Linux.

Question by:Pugglewuggle
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 11

Expert Comment

ID: 33624143
Dear Pugglewuggle,

can you provide more details of the scenario you wish to have?

Kind regards,
LVL 12

Author Comment

ID: 33626913
Well, I just have a Linux server with a multi terabyte RAID array. Instead of partitioning the array and then sharing the partitions as LUNs, is there a way to just have one [big] partition and just have LUNs exist as files on that partition (so they can be expanded/resized without having to repartition the array)? This is how NetApp does it... files that are shared as LUNs are put directly on the partition/volume as a file that is x size equaling the reserved space for the LUN.
LVL 11

Accepted Solution

slemmesmi earned 500 total points
ID: 33628346
Dear Pugglewuggle,

I assume you wish to do this as a "test environment" or?
You can then eventually benefit from the NetApp ONTAP Simulator, which you can obtain for free as a customer of NetApp (which I assume you are due to your knowledge of NetApp).
With the simulator (which is built for Linux), you can simulate NetApp FAS' (even a cluster!), and you can create LUNs etc. perfectly available via iSCSI or NFS.

Go to NOW.NetApp.Com and Login.
When logged in, select the "Utility ToolChest" (in the Download section), and click the "74. Simulate ONTAP" link.
This will take you to a page where you can download different versions of the simulator.
You can find a lot of useful information about the simulator in the NetApp communities and forums.

Kind regards,
LVL 12

Author Comment

ID: 33744106

I suppose I want to use this for "production." Any tips? And what kind of hardware can I run this on?

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question