{"id":962,"date":"2016-07-10T09:32:12","date_gmt":"2016-07-10T14:32:12","guid":{"rendered":"http:\/\/www.smbitjournal.com\/?p=962"},"modified":"2016-07-10T09:32:12","modified_gmt":"2016-07-10T14:32:12","slug":"logical-volume-managers","status":"publish","type":"post","link":"https:\/\/smbitjournal.com\/2016\/07\/logical-volume-managers\/","title":{"rendered":"Logical Volume Managers"},"content":{"rendered":"

A commonly used but often overlooked or misunderstood storage tool is the Logical Volume Manager.\u00a0 Logical Volume Managers, or LVMs, are a storage abstraction, encapsulation and virtualization technology used to provide a level of flexibility often otherwise unavailable.<\/p>\n

Most commonly an LVM is used to replace traditional partitioning systems, and sometimes additional functionality is rolled into an LVM such as RAID functions.\u00a0 Nearly all operating systems offer an integrated LVM product today and most have for a very long time.\u00a0 LVMs have become a standard feature of both server and client side storage management.<\/p>\n

LVMs do not necessarily offer uniform features but common features often included in an LVM are logical volumes (soft partitioning), thin provisioning, flexible physical location allocation, encryption, simple RAID functionality (commonly only mirror based RAID) and snapshots.\u00a0 Essentially all LVMs offer logical volumes, snapshots and flexible allocation; these being considered fundamental LVM functions.<\/p>\n

Popular LVMs include Logical Disk Management on Windows Server 2000 through Server 2008 R2, Storage Spaces on Windows 2012 and later, LVM on Linux, BtrFS on Linux, Core Storage on Mac OSX, Solaris Volume Manager on Solaris, ZFS on Solaris and FreeBSD, Vinum Volume Manager on FreeBSD, Veritas Volume Manager for most UNIX systems, LVM on AIX and many more.\u00a0 LVMs have been increasingly popular and standard since the late 1980s.\u00a0 ZFS and BtrFS are interesting as they are filesystems that implement an LVM inside of the filesystem as an integrated system.<\/p>\n

An LVM consumes block devices (drive appearances<\/a>) and creates logical volumes (often referred to as LVs) which are themselves drive appearances as well.\u00a0 Because of this, an LVM can sit at any of many different places in the storage stack.\u00a0 Most commonly we would expect an LVM to consume a RAID array, split one RAID array into one or more logical volumes with each logical volume having a filesystem applied to it.\u00a0 But it is completely possible for an LVM to sit directly on physical storage without RAID, and it is very possible for RAID to be implemented via software on top of the logical volumes rather than beneath them.\u00a0 LVMs are also very useful for combining many different storage systems into one such as combining many physical devices and\/or RAID arrays into a single, abstracted entity that can then be split up into logical volumes (with single volumes potentially utilizing many different underlying storage devices.)\u00a0 One standard use of an LVM is to combine many SAN LUNs (potentially from a single SAN system or potentially from several different ones) into a single volume group.<\/p>\n

While LVMs provide power and flexibility for working with multiple storage devices and types of storage devices while presenting a standard interface to higher layers in the storage stack, probably the most common usages are to provide for flexibility where rigid partitions used to be and for snapshots.\u00a0 Traditional partitions are rigid and cannot be resized.\u00a0 Logical volumes can almost always be grown or shrunk as needed making them tremendously more flexible.<\/p>\n

Snapshots have become a major focus of LVM usage in the last decade, although mostly this has happened because of snapshot awareness growing rather than a recent shift in availability.\u00a0 Commodity virtualization systems have brought snapshots from an underlying, storage industry knowledge component into the IT mainstream.\u00a0 Much of how virtualization technologies tend to tackle storage virtualization can be thought of as being related to LVMs, but generally this is similar functionality offered in a different manner or simply passing LVM functionality on from a lower layer.<\/p>\n

Today you can expect to find LVMs in use nearly everywhere, even implemented transparently on storage arrays (such as SAN equipment) to provide more flexible provisioning.\u00a0 They are not just standardly available, but standardly implemented and have done much to improve the reliability and capability of modern storage.<\/p>\n","protected":false},"excerpt":{"rendered":"

A commonly used but often overlooked or misunderstood storage tool is the Logical Volume Manager.\u00a0 Logical Volume Managers, or LVMs, are a storage abstraction, encapsulation and virtualization technology used to provide a level of flexibility often otherwise unavailable. Most commonly an LVM is used to replace traditional partitioning systems, and sometimes additional functionality is rolled … Continue reading Logical Volume Managers<\/span> →<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[90,89,49,33],"class_list":["post-962","post","type-post","status-publish","format-standard","hentry","category-storage-2","tag-logical-volume-manager","tag-lvm","tag-raid","tag-storage"],"_links":{"self":[{"href":"https:\/\/smbitjournal.com\/wp-json\/wp\/v2\/posts\/962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smbitjournal.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smbitjournal.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smbitjournal.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smbitjournal.com\/wp-json\/wp\/v2\/comments?post=962"}],"version-history":[{"count":1,"href":"https:\/\/smbitjournal.com\/wp-json\/wp\/v2\/posts\/962\/revisions"}],"predecessor-version":[{"id":963,"href":"https:\/\/smbitjournal.com\/wp-json\/wp\/v2\/posts\/962\/revisions\/963"}],"wp:attachment":[{"href":"https:\/\/smbitjournal.com\/wp-json\/wp\/v2\/media?parent=962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smbitjournal.com\/wp-json\/wp\/v2\/categories?post=962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smbitjournal.com\/wp-json\/wp\/v2\/tags?post=962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}