{"id":201,"date":"2011-08-20T03:39:00","date_gmt":"2011-08-20T03:39:00","guid":{"rendered":"http:\/\/pheonixsolutions.com\/?p=201"},"modified":"2011-08-20T03:39:00","modified_gmt":"2011-08-20T03:39:00","slug":"lvm-how-can-i-add-it","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/","title":{"rendered":"LVM, How can i add it."},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\"><\/p>\n<div style=\"margin: 0px; text-indent: 0px;\"><!--StartFragment--><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">LVM<\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Formatting the new Disk <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Suppose the Disk is \/dev\/sdb, the second scsi disk,<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'Courier New,courier'; font-size: 9pt;\">   fdisk \/dev\/sdb<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'Courier New,courier'; font-size: 9pt;\">   create as many partitions as you need using command n<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'Courier New,courier'; font-size: 9pt;\">   Label them with command t as 8e for making it Linux LVM<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'Courier New,courier'; font-size: 9pt;\">   Write and Exit with the command w.<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Format the partitions you require using mkfs command <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'Courier New,courier'; font-size: 9pt;\">   mkfs -t ext3 -c \/dev\/sdb1<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">LVM commands <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'Courier New,courier'; font-size: 9pt;\">   pvcreate \/dev\/sdb1<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'Courier New,courier'; font-size: 9pt;\">   vgextend VolGroup00 \/dev\/sdb1<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'Courier New,courier'; font-size: 9pt;\">   lvextend -L 15G \/dev\/VolGroup00\/LogVol01 ;for extending LogVol to 15GB<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'Courier New,courier'; font-size: 9pt;\">   lvextend -L+1G \/dev\/VolGroup00\/LogVol01 ;for adding one more GB to Logical Volume LogVol01<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'Courier New,courier'; font-size: 9pt;\">   ext2online \/dev\/VolGroup00\/LogVol01 ;for resizing the Logical Volumes<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Thats it finished<\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\"><br \/><\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Extra Instructions <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Creating Physical Volumes for LVM<\/span><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\"> <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Since LVM requires entire Physical Volumes to be assigned to Volume Groups, you must have a few empty partitions ready to be used by LVM. Install the OS on a few partitions and leave a bit of empty space. Use fdisk under Linux to create a number of empty partitions of equal size. You must mark them with fdisk as type 0xFE. We created five 256MB partitions, \/dev\/hda5 through \/dev\/hda9.<\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<p><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Registering Physical Volumes<\/span><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\"> <\/span> <\/p>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">The first thing necessary to get LVM running is to register the physical volumes with LVM. This is done with the pvcreate command. Simply run pvcreate \/dev\/hdxx for each hdxx device you created above. In our example, we ran pvcreate \/dev\/hda5 and so on. <\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Creating a Volume Group<\/span><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\"> <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Next, create a Volume Group. You can set certain parameters with this command, like physical extent size, but the defaults are probably fine. We&#8217;ll call the new Volume Group vg01. Just type vgcreate vg01 \/dev\/hda5. <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">When this is done, take a look at the Volume Group with the vgdisplay command. Type vgdisplay -v vg01. Note that you can create up to 256 LVs, can add up to 256 PVs, and each LV can be up to 255.99GBs! More important, note the Free PE line. This tells you how many Physical Extents we have to work with when creating LVs. For a 256MB disk, this reads 63 because there is an unused remainder smaller than the 4MB PE size.<\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Creating a Logical Volume<\/span><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\"> <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Next, let&#8217;s create a Logical Volume called lv01 in VG vg01. Again, there are some settings that may be changed when creating an LV, but the defaults work fine. The important choice to make is how many Logical Extents to allocate to this LV. We&#8217;ll start with 4 for a total size of 16MB. Just type lvcreate -l4 -nlv01 vg01. You may also specify the size in MBs by using -L instead of -l, and LVM will round off the result to the nearest multiple of the LE size. <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Take a look at your LV with the lvdisplay command by typing lvdisplay -v \/dev\/vg01\/lv01. You can ignore the page of Logical extents for now, and page up to see the more interesting data.<\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Adding a disk to the Volume Group<\/span><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\"> <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Next, we&#8217;ll add \/dev\/hda6 to the Volume Group. Just type vgextend vg01 \/dev\/hda6 and you&#8217;re done! You can check this out by using vgdisplay -v vg01. Note that there are now a lot more PEs available! <\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Moving Creating a striped Logical Volume<\/span><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\"> <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Note that LVM created your whole Logical Volume on one Physical Volume within the Volume Group. You can also stripe an LV across two Physical Volumes with the -i flag in lvcreate. We&#8217;ll create a new LV, lv02, striped across hda5 and hda6. Type lvcreate -l4 -nlv02 -i2 vg01 \/dev\/hda5 \/dev\/hda6. Specifying the PV on the command line tells LVM which PEs to use, while the -i2 command tells it to stripe it across the two. <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">You now have an LV striped across two PVs!<\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Moving data within a Volume Group<\/span><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\"> <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Up to now, PEs and LEs were pretty much interchangable. They are the same size and are mapped automatically by LVM. This does not have to be the case, though. In fact, you can move an entire LV from one PV to another, even while the disk is mounted and in use! This will impact your performance, but it can prove useful. <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Let&#8217;s move lv01 to hda6 from hda5. Type pvmove -n\/dev\/vg01\/lv01 \/dev\/hda5 \/dev\/hda6. This will move all LEs used by lv01 mapped to PEs on \/dev\/hda5 to new PEs on \/dev\/hda6. Effectively, this migrates data from hda5 to hda6. It takes a while, but when it&#8217;s done, take a look with lvdisplay -v \/dev\/vg01\/lv01 and notice that it now resides entirely on \/dev\/hda6!<\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Removing a Logical Volume from a Volume Group<\/span><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\"> <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">Let&#8217;s say we no longer need lv02. We can remove it and place its PEs back in the empty pool for the Volume Group. First, unmounting its filesystem. Next, deactivate it with lvchange -a n \/dev\/vg01\/lv02. Finally, delete it by typing lvremove \/dev\/vg01\/lv02. Look at the Volume Group and notice that the PEs are now unused.<\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt; font-weight: 600;\">Removing a disk from the Volume Group<\/span><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\"> <\/span><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">You can also remove a disk from a volume group. We aren&#8217;t using hda5 anymore, so we can remove it from the Volume Group. Just type vgreduce vg01 \/dev\/hda5 and it&#8217;s gone!<\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">>>> On Ubuntu Intrepid 8.10 you need to use resize2fs to resize the lvm. <\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><\/div>\n<div style=\"margin: 0px; text-indent: 0px;\"><span style=\"font-family: 'DejaVu Sans'; font-size: 9pt;\">>>> resize2fs \/dev\/VolGroupXX\/LogVolXX&#8221; ? <\/span><\/div>\n<div style=\"font-family: 'DejaVu Sans'; font-size: 9pt; margin: 0px; text-indent: 0px;\"><!--EndFragment--><\/div>\n<p>\u00c2\u00a0<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>LVM Formatting the new Disk Suppose the Disk is \/dev\/sdb, the second scsi disk, fdisk \/dev\/sdb create as many partitions as you need using command n Label them with command t as 8e for making it Linux LVM Write and Exit with the command w. Format the partitions you require&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">LVM, How can i add it.<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-201","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-uncategorized","7":"h-entry","9":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"LVM Formatting the new Disk Suppose the Disk is \/dev\/sdb, the second scsi disk, fdisk \/dev\/sdb create as many partitions as you need using command n Label them with command t as 8e for making it Linux LVM Write and Exit with the command w. Format the partitions you require&hellip; Continue Reading LVM, How can i add it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-08-20T03:39:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3837\" \/>\n\t<meta property=\"og:image:height\" content=\"2540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/lvm-how-can-i-add-it\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/lvm-how-can-i-add-it\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"LVM, How can i add it.\",\"datePublished\":\"2011-08-20T03:39:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/lvm-how-can-i-add-it\\\/\"},\"wordCount\":895,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/lvm-how-can-i-add-it\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/lvm-how-can-i-add-it\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/lvm-how-can-i-add-it\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"datePublished\":\"2011-08-20T03:39:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/lvm-how-can-i-add-it\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/lvm-how-can-i-add-it\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/lvm-how-can-i-add-it\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LVM, How can i add it.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/blog.pheonixsolutions.com\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"LVM Formatting the new Disk Suppose the Disk is \/dev\/sdb, the second scsi disk, fdisk \/dev\/sdb create as many partitions as you need using command n Label them with command t as 8e for making it Linux LVM Write and Exit with the command w. Format the partitions you require&hellip; Continue Reading LVM, How can i add it.","og_url":"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2011-08-20T03:39:00+00:00","og_image":[{"width":3837,"height":2540,"url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"LVM, How can i add it.","datePublished":"2011-08-20T03:39:00+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/"},"wordCount":895,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/","url":"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"datePublished":"2011-08-20T03:39:00+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/lvm-how-can-i-add-it\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"LVM, How can i add it."}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/blog.pheonixsolutions.com"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-3f","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=201"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/201\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}