{"id":7810,"date":"2021-10-14T22:12:52","date_gmt":"2021-10-14T20:12:52","guid":{"rendered":"https:\/\/tekmart.co.za\/t-blog\/?p=7810"},"modified":"2021-10-14T22:12:54","modified_gmt":"2021-10-14T20:12:54","slug":"how-to-create-share-and-manage-a-lun-in-san-storage","status":"publish","type":"post","link":"https:\/\/tekmart.co.za\/t-blog\/how-to-create-share-and-manage-a-lun-in-san-storage\/","title":{"rendered":"How to create, share and manage a LUN in SAN storage"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<h2 class=\"wp-block-heading\"><strong>Despite pronouncements from some, the days of the logical unit number (LUN) are not over. We look at the LUN in SAN management: How to create, share, provision and manage a LUN<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.ttgtmedia.com\/rms\/computerweekly\/adshead_antony2018.jpg\" alt=\"Antony Adshead\"\/><\/figure>\n\n\n\n<p>By <a href=\"https:\/\/www.techtarget.com\/contributor\/Antony-Adshead\">Antony Adshead<\/a><\/p>\n\n\n\n<p>The\u00a0logical unit number\u00a0(LUN)\u00a0has been a bedrock concept in storage for decades. It\u2019s the fundamental \u201csoft\u201d way in which physical media is partitioned in block access storage.<\/p>\n\n\n\n<p>But recent times have seen the LUN\u2019s role in SAN management become eroded.<\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>Server virtualisation\u00a0has seen the rise of new building blocks in data storage that hide the LUN from view or do away with it altogether.<\/p><\/blockquote><\/figure>\n\n\n\n<p>These have been adopted by storage array makers that provide so-called\u00a0VM-aware storage,\u00a0as well as those that provide software-defined\u00a0hyper-converged\u00a0products that combine compute and storage in the same hardware.<\/p>\n\n\n\n<p>For many, however, the LUN is still a key concept, and retains its place as a fundamental unit of storage management.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Why do we need the LUN?<\/strong><\/h3>\n\n\n\n<p>The short answer is that the file system, object store or virtual file system needs something to mediate between itself and the physical storage media. The LUN \u2013&nbsp;sometimes called a volume&nbsp;\u2013 is effectively a layer of virtualisation or abstraction that takes the physical addressing of the media (flash or spinning disk) \u2013 and makes it available to servers and their applications.<\/p>\n\n\n\n<p>So, storage array physical media is partitioned into logically-addressed portions, and this partition is called a LUN.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>When provisioned by an administrator, using management software to\u00a0create LUNs, there does not need to be a one-to-one relationship between physical media and the LUNs created.<\/p><\/blockquote>\n\n\n\n<p>More than one LUN can be built from one drive and this appears as two or more drives to the user. Every PC user is familiar with a C: drive and D: drive that reside on the same disk.<\/p>\n\n\n\n<p>Or, LUNs can be created that span several disks in a\u00a0RAID array. These also appear as separate drives to users.<\/p>\n\n\n\n<p>Also, you can share&nbsp;LUNs&nbsp;between a number of servers, such as across an active server and failover server.<\/p>\n\n\n\n<p>You need to ensure, however, that only servers that are authorised are allowed to access specific LUNs. This is where&nbsp;SAN zoning and masking&nbsp;come in.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>LUN zoning; LUN masking<\/strong><\/h3>\n\n\n\n<p>SAN zoning and masking provides security for iSCSI and Fibre Channel SANs.<\/p>\n\n\n\n<p>On Fibre Channel fabrics you can decide which storage arrays and servers are visible to each other by putting them in the same zone when you configure the fabric switch. With iSCSI SANs this is done using TCP\/IP segmentations, such as by setting up a VLAN.<\/p>\n\n\n\n<p>SAN zoning\u00a0enables servers to see specified ports on a storage array. In this way, bandwidth can be reserved for certain servers while traffic can be blocked between others.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>There is \u201chard\u201d zoning and \u201csoft\u201d zoning.\u00a0Hard zoning\u00a0assigns a device to a zone by reference to a port, while\u00a0soft zoning\u00a0assigns a node to a zone according to its Fibre Channel\u00a0World Wide Name\u00a0(WWN). The Fibre Channel switch puts designated node WWNs into a zone without reference to what port they\u2019re connected to.<\/p><\/blockquote>\n\n\n\n<p>Meanwhile,&nbsp;LUN masking&nbsp;allows for a finer level of control in zoning. After zoning a server and storage system LUNs can be masked so that a server can see only the ones you want it to see.<\/p>\n\n\n\n<p>LUN masking can be done at the array by reference to a port, where disks accessed will be seen by servers that access the port. Or it can be done at the server, which can be configured to see only the LUNs assigned to it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>LUNs and performance and reliability<\/strong><\/h3>\n\n\n\n<p>It\u2019s important to consider the physical media LUNs will be configured to. Performance and reliability requirements will vary according to the workload. Obviously, if you need very high performance then the LUNs that serve that workload may need to be on flash drives. Alternatively, other workloads may warrant Fibre Channel 15,000 rpm spinning disk or 7,200 rpm SATA.<\/p>\n\n\n\n<p>Here also, the Raid configuration chosen will affect performance and reliability.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>Despite pronouncements from some, the days of the logical unit number (LUN) are not over. We look at the LUN in SAN management: How to create, share, provision and manage a LUN By Antony Adshead The\u00a0logical unit number\u00a0(LUN)\u00a0has been a bedrock concept in storage for decades. It\u2019s the fundamental \u201csoft\u201d way in which physical media is partitioned in block access<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/tekmart.co.za\/t-blog\/how-to-create-share-and-manage-a-lun-in-san-storage\/\">Read More<\/a><\/p>\n","protected":false},"author":114,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,221,35,8,4,30,3,238,235],"tags":[],"class_list":["post-7810","post","type-post","status-publish","format-standard","hentry","category-best-practices-for-data-center-operations","category-computer-storage-hardware","category-data-center-facilities","category-data-center-hardware","category-datacenter-news","category-expert-advise-and-opinion","category-industry-news-and-expert-advise","category-timeless-articles","category-travelling-techie-quick-reads-timeless"],"_links":{"self":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/7810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/users\/114"}],"replies":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/comments?post=7810"}],"version-history":[{"count":1,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/7810\/revisions"}],"predecessor-version":[{"id":7811,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/7810\/revisions\/7811"}],"wp:attachment":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/media?parent=7810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/categories?post=7810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/tags?post=7810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}