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

Independent Software Vendors: 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

Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

636 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