Solved

Linux iSCSI Target LUNs

Posted on 2010-09-07
4
598 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 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,
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

830 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