Home > Ask the Storage Technology Experts > Questions & Answers > What is a LUN, and why do we need one?
Ask The Storage Expert: Questions & Answers
EMAIL THIS

What is a LUN, and why do we need one?

Greg Schulz EXPERT RESPONSE FROM: Greg Schulz

Pose a Question
Other Storage Categories
Meet all Storage Experts
Become an Expert for this site
>
QUESTION POSED ON: 21 July 2004
What is a LUN? Why do we have to create LUN, rather use the disk as it is?

>
EXPERT RESPONSE
A LUN is a Logical Unit Number. It can be used to refer to an entire physical disk, or a subset of a larger physical disk or disk volume. The physical disk or disk volume could be an entire single disk drive, a partition (subset) of a single disk drive, or disk volume from a RAID controller comprising multiple disk drives aggregated together for larger capacity and redundancy. LUNs represent a logical abstraction or, if you prefer, virtualization layer between the physical disk device/volume and the applications.

The term virtualization has been used to mean many different things; thus, the virtualization police may or may not agree to a LUN being a layer of virtualization. A LUN can be used to present a larger or smaller view of the disk storage to the server. For example if you partition a disk drive into smaller pieces for your application or system needs (perhaps your server's operating system has a disk drive size limit) the sub-segments would share a common SCSI target ID address with each partition being a unique LUN.

Another example would be with a RAID controller where multiple disk drives are mirrored (RAID-1) or stripped with parity (RAID-5) together to create a larger physical disk volume. A LUN would be used to represent the virtual disk devices made up of the disks in the RAID group. So, as it turns out, you may not need to create a LUN to use a disk device. For example, if you are simply attaching several JBOD (Just a Bunch Of Disk) disks to a server via SCSI, USB, Fibre Channel, or what ever interface you prefer, LUNs may not have to be created. If you are using a SCSI disk and you have not sub-divided it into different partitions, then the device would show up with a unique SCSI ID target and default LUN 0. Note that you will want to make sure the devices are properly addressed to avoid conflicts. So when it comes down to deciding whether or not you need a LUN, you have to ask yourself what type of storage you have, how it is configured and how you are going to use it. Most likely, unless you are using JBOD or a single disk device, you will be using LUNs as an abstraction layer to access your storage.

Read Randy Kerns's answer to this question.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Search for Data Management Tools and Tiered Storage Reseller Solutions
TechTarget Storage Media
Storage Magazine View this month\\'s issue and subscribe today.
Storage Decisions Apply online for free conference admission.
SearchStorage.com
HomeNewsMagazineTopicsLearningMultimediaWhite PapersBlogsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts