Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Linux iSCSI Target LUNs

Posted on 2010-09-07
4
Medium Priority
?
611 Views
Last Modified: 2012-05-10
Hi,

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.

Thanks!
0
Comment
Question by:Pugglewuggle
  • 2
  • 2
4 Comments
 
LVL 11

Expert Comment

by:slemmesmi
ID: 33624143
Dear Pugglewuggle,

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

Kind regards,
Soren
0
 
LVL 12

Author Comment

by:Pugglewuggle
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.
0
 
LVL 11

Accepted Solution

by:
slemmesmi earned 2000 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,
Soren
0
 
LVL 12

Author Comment

by:Pugglewuggle
ID: 33744106
Well,

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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
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

926 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