{"id":2508,"date":"2024-01-04T16:00:42","date_gmt":"2024-01-04T08:00:42","guid":{"rendered":"https:\/\/blog.kingsbestone.com\/?p=2508"},"modified":"2024-01-04T16:06:42","modified_gmt":"2024-01-04T08:06:42","slug":"%e3%80%90%e7%b3%bb%e7%bb%9f%e6%93%8d%e4%bd%9c%e3%80%91centos7-lvm%e5%88%86%e5%8c%ba%e7%ae%a1%e7%90%86","status":"publish","type":"post","link":"https:\/\/blog.kingsbestone.com\/?p=2508","title":{"rendered":"\u3010\u7cfb\u7edf\u64cd\u4f5c\u3011centos7 lvm \u5206\u533a\u7ba1\u7406"},"content":{"rendered":"<p><span style=\"font-family: 'comic sans ms', sans-serif;\">CentOS\u4e2d\u7684LVM\uff08Logical Volume Manager\uff09\u662f\u4e00\u79cd\u903b\u8f91\u5377\u7ba1\u7406\u5de5\u5177\uff0c\u5141\u8bb8\u5bf9\u786c\u76d8\u4e0a\u7684\u5b58\u50a8\u7a7a\u95f4\u8fdb\u884c\u7075\u6d3b\u7684\u5206\u533a\u3001\u7ba1\u7406\u548c\u8c03\u6574\uff0c\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u5b58\u50a8\u7ba1\u7406\u529f\u80fd\u3002<\/span><\/p>\n<hr \/>\n<h1><span style=\"font-family: 'comic sans ms', sans-serif;\">1. LVM\u7684\u57fa\u7840\u67b6\u6784\u4ecb\u7ecd\uff1a<\/span><\/h1>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-2511\" src=\"https:\/\/blog.kingsbestone.com\/wp-content\/uploads\/2024\/01\/Snipaste_2024-01-04_13-29-10.png\" alt=\"\" width=\"650\" height=\"500\" srcset=\"https:\/\/blog.kingsbestone.com\/wp-content\/uploads\/2024\/01\/Snipaste_2024-01-04_13-29-10.png 650w, https:\/\/blog.kingsbestone.com\/wp-content\/uploads\/2024\/01\/Snipaste_2024-01-04_13-29-10-300x231.png 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/p>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">PV\uff08Physical Volume\uff09\uff1a\u7269\u7406\u5377\uff0c\u662fLVM\u7684\u57fa\u672c\u7ec4\u6210\u90e8\u5206\uff0c\u901a\u5e38\u4e00\u4e2aPV\u5c31\u662f\u4e00\u4e2a\u7269\u7406\u78c1\u76d8\u3002<\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">VG\uff08Volume Group\uff09\uff1a\u5377\u7ec4\uff0c\u5b83\u5c06\u4e00\u4e2a\u6216\u591a\u4e2a\u7269\u7406\u5377\u7ec4\u7ec7\u5728\u4e00\u8d77\uff0c\u4e3a\u903b\u8f91\u5377\u63d0\u4f9b\u96c6\u4e2d\u7ba1\u7406\u548c\u5206\u914d\u7684\u5b58\u50a8\u6c60\u3002<\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">LV\uff08Logical Volume\uff09\uff1a\u903b\u8f91\u5377\uff0c\u901a\u8fc7\u5728\u5377\u7ec4\u4e0a\u521b\u5efa\u903b\u8f91\u5377\uff0c\u5b9e\u73b0\u5bf9\u7269\u7406\u5b58\u50a8\u7684\u7075\u6d3b\u5206\u914d\u548c\u7ba1\u7406\uff0c\u63d0\u4f9b\u7ed9\u64cd\u4f5c\u7cfb\u7edf\u4f7f\u7528\u7684\u903b\u8f91\u5b58\u50a8\u7a7a\u95f4\u3002<\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">PE\uff08Physical Extent\uff09\uff1a\u7269\u7406\u533a\u5757\uff0c\u662f\u5b58\u50a8\u6c60\u4e2d\u6700\u5c0f\u7684\u53ef\u5206\u914d\u5355\u4f4d\uff0c\u7528\u4e8e\u5728\u7269\u7406\u5377\u548c\u903b\u8f91\u5377\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u5b58\u50a8\u7684\u57fa\u672c\u5355\u5143\u3002<\/span><\/li>\n<\/ul>\n<p><strong><span style=\"font-family: 'comic sans ms', sans-serif;\">\u64cd\u4f5c\u987a\u5e8f\uff1a<\/span><\/strong><\/p>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">PV &#8212;-&gt; VG\uff08PE\uff0c\u9700\u8fd9\u91cc\u6307\u5b9a\u5927\u5c0f\uff09 &#8212;-&gt; LV<\/span><\/li>\n<\/ul>\n<p><strong><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5176\u4ed6\u8bf4\u660e\uff1a<\/span><\/strong><\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u4e0a\u9762\u4ecb\u7ecd\u4e86LVM\u90e8\u5206\u7684\u67b6\u6784\uff0c\u521b\u5efa\u5b8c\u6210LVM\u540e\u5f97\u5230\u7684LV\u5373\u771f\u6b63\u7684\u53ef\u7528\u903b\u8f91\u7a7a\u95f4\uff0c\u4f60\u8fd8\u9700\u8981\u5bf9LV\u6240\u5212\u5206\u7684\u7a7a\u95f4\u8fdb\u884c\u683c\u5f0f\u5316\u64cd\u4f5c\uff0c\u683c\u5f0f\u5316\u4e3aEXT4\u540e\uff0c\u6302\u8f7d\u4f7f\u7528\u3002<\/span><\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">LVM\u548cXFS\u6587\u4ef6\u7cfb\u7edf\u517c\u5bb9\u6027\u4e0d\u4f73\uff0c\u63a8\u8350LVM+EXT4\u4f7f\u7528\u3002<\/span><\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5728\u521b\u5efaPV\u65f6\u4e00\u5b9a\u9700\u8981\u7269\u7406\u78c1\u76d8\u662f\u672a\u521d\u59cb\u5316\u72b6\u6001\uff0c\u8fde\u5206\u533a\u8868\u4e5f\u4e0d\u80fd\u6709\uff0c\u5426\u5219\u8981\u5220\u9664\u624d\u53ef\u4ee5\u8fdb\u884c\u521b\u5efa\uff0c\u901a\u5e38\u5c31\u662f\u786c\u76d8\u7684GPT\u548cMBR\u5206\u533a\u8868\uff0c\u5fc5\u987b\u5220\u9664\u624d\u53ef\u4ee5\u8fdb\u884c\u521b\u5efaLVM\u3002<\/span><\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5220\u9664\u5206\u533a\u8868\u53ef\u4ee5\u7528dd\u547d\u4ee4\uff0c\u75280\u586b\u5145\u4e00\u6b21\u78c1\u76d8\u540e\u64cd\u4f5c\u3002<\/span><\/p>\n<hr \/>\n<h1><span style=\"font-family: 'comic sans ms', sans-serif;\">2.\u6269\u5bb9\u6839\u5206\u533a\uff1a<\/span><\/h1>\n<h2><span style=\"font-family: 'comic sans ms', sans-serif;\">2-1.\u67e5\u770b\u7cfb\u7edf\u7684\u7269\u7406\u78c1\u76d8\u548c\u6587\u4ef6\u7cfb\u7edf\u683c\u5f0f\uff1a<\/span><\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">lsblk\r\ndf -Th\r\nblkid\r\n<\/pre>\n<h2><span style=\"font-family: 'comic sans ms', sans-serif;\">2-2.\u4f7f\u7528\u5206\u533a\u5de5\u5177\u67e5\u770b\u786c\u76d8\u8be6\u7ec6\u4fe1\u606f\uff1a<\/span><\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">parted -l<\/pre>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5982\u679c\u8fd4\u56de\u7684\u503c\u4e2d\uff0c\u4f60\u65b0\u52a0\u7684\u7269\u7406\u78c1\u76d8\uff0c\u663e\u793a\u4fe1\u606f\u5982\u4e0b\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">\u9519\u8bef: \/dev\/sdb: unrecognised disk label\r\nModel: VMware Virtual disk (scsi)                                         \r\nDisk \/dev\/sdb: 17.2GB\r\nSector size (logical\/physical): 512B\/512B\r\nPartition Table: unknown\r\nDisk Flags: \r\n<\/pre>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5982\u679cPartition Table: unknown\uff0c\u5219\u53ef\u4ee5\u76f4\u63a5\u8fdb\u884cLVM\u7684\u521b\u5efa\uff0c\u5426\u5219\u9700\u8981\u7528dd\u547d\u4ee4\u75280\u586b\u5145\u4e00\u6b21\u786c\u76d8\u540e\u64cd\u4f5c\u3002<\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u6570\u636e\u8bf7\u63d0\u524d\u5907\u4efd<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u7528\u96f6\u586b\u5145\u6574\u4e2a\u78c1\u76d8\u7a7a\u95f4\uff08\u76f8\u5f53\u4e8e\u683c\u5f0f\u5316\u78c1\u76d8\uff09\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">dd if=\/dev\/zero of=\/dev\/sdb bs=1M status=progress<\/pre>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">if=\/dev\/zero\uff1a\u8868\u793a\u8f93\u5165\u6587\u4ef6\/dev\/zero\uff0c\u6b64\u6587\u4ef6\u63d0\u4f9b\u65e0\u9650\u7684\u96f6\u5b57\u8282<\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">of=\/dev\/sdb\uff1a\u8868\u793a\u8f93\u51fa\u6587\u4ef6\/dev\/sdb\uff0c\u6b64\u6587\u4ef6\u4ee3\u8868\u4e00\u4e2a\u5b8c\u6574\u7684\u7269\u7406\u78c1\u76d8<\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">bs=1M\uff1a\u8868\u793a\u5757\u5927\u5c0f\uff0c\u4ece\/dev\/zero\u8bfb\u53d6\u4e00\u4e2a1M\u5927\u5c0f\u7684\u6587\u4ef6\uff0c\u53cd\u590d\u5199\u5165\/dev\/sdb<\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">status=progress\uff1a\u663e\u793a\u64cd\u4f5c\u8fdb\u5ea6<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3.\u6269\u5c55LVM\u6839\u5206\u533a<\/span><\/h2>\n<h3><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-1.\u521b\u5efaPV<\/span><\/h3>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-1-1.\u67e5\u770bPV\u8be6\u7ec6\u4fe1\u606f\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">pvdisplay<\/pre>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-1-2.\u521b\u5efaPV\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">pvcreate \/dev\/sdb<\/pre>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u66ff\u6362\u4e3a\u4f60\u7684\u5b9e\u9645\u78c1\u76d8\u8def\u5f84<\/span><\/li>\n<\/ul>\n<h3><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-2.\u6269\u5c55\u6839\u5206\u533a\u7684VG\uff1a<\/span><\/h3>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-2-1.\u67e5\u770bVG\u8be6\u7ec6\u4fe1\u606f\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[root@localhost ~]# vgdisplay \r\n  --- Volume group ---\r\n  VG Name               centos\r\n  System ID             \r\n  Format                lvm2\r\n  Metadata Areas        1\r\n  Metadata Sequence No  3\r\n  VG Access             read\/write\r\n  VG Status             resizable\r\n  MAX LV                0\r\n  Cur LV                2\r\n  Open LV               2\r\n  Max PV                0\r\n  Cur PV                1\r\n  Act PV                1\r\n  VG Size               14.80 GiB\r\n  PE Size               4.00 MiB\r\n  Total PE              3789\r\n  Alloc PE \/ Size       3789 \/ 14.80 GiB\r\n  Free  PE \/ Size       0 \/ 0   \r\n  VG UUID               12tM9N-Glyp-YpGb-xjL1-Gnqy-YKmb-A3gPsa\r\n   \r\n[root@localhost ~]# \r\n<\/pre>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-2-2.\u6269\u5c55VG\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">vgextend centos \/dev\/sdb<\/pre>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">VG Name\u66ff\u6362\u4e3a\u5b9e\u9645\u503c<\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u66ff\u6362\u4e3a\u4f60\u7684\u5b9e\u9645\u78c1\u76d8\u8def\u5f84<\/span><\/li>\n<\/ul>\n<h3><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-3.\u6269\u5c55\u6839\u5206\u533a\u7684LV\uff1a<\/span><\/h3>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-3-1.\u67e5\u770bLV\u8be6\u7ec6\u4fe1\u606f\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[root@localhost ~]# lvdisplay \r\n  --- Logical volume ---\r\n  LV Path                \/dev\/centos\/root\r\n  LV Name                root\r\n  VG Name                centos\r\n  LV UUID                W02qq7-6zw4-drkl-KCg1-fmtV-2DHl-medraX\r\n  LV Write Access        read\/write\r\n  LV Creation host, time localhost, 2024-01-03 11:04:34 +0800\r\n  LV Status              available\r\n  # open                 1\r\n  LV Size                13.80 GiB\r\n  Current LE             3533\r\n  Segments               1\r\n  Allocation             inherit\r\n  Read ahead sectors     auto\r\n  - currently set to     8192\r\n  Block device           253:0\r\n   \r\n  --- Logical volume ---\r\n  LV Path                \/dev\/centos\/swap\r\n  LV Name                swap\r\n  VG Name                centos\r\n  LV UUID                Zli88C-aKtW-Fh4E-1G2w-RlRw-eArV-WS2U3b\r\n  LV Write Access        read\/write\r\n  LV Creation host, time localhost, 2024-01-03 11:04:34 +0800\r\n  LV Status              available\r\n  # open                 2\r\n  LV Size                1.00 GiB\r\n  Current LE             256\r\n  Segments               1\r\n  Allocation             inherit\r\n  Read ahead sectors     auto\r\n  - currently set to     8192\r\n  Block device           253:1\r\n   \r\n[root@localhost ~]#<\/pre>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u53ea\u6269\u5bb9\u6839\u5206\u533a\u5c31\u884c\uff0cSWAP\u662f\u865a\u62df\u5185\u5b58\u5206\u533a\u4e0d\u9700\u8981\u7ba1<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-3-2.\u5148\u53bb\u67e5\u770bVG\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u770b\u7a7a\u95f2\u591a\u5c11\u4e2aPE\u7a7a\u95f4\uff0c\u518d\u8fdb\u884c\u4e0b\u9762\u7684\u6269\u5c55LV\u64cd\u4f5c\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">lvextend -l +4095 \/dev\/centos\/root<\/pre>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u6269\u5c554095\u4e2aPE\u7684\u7a7a\u95f4\u7ed9\u6839\u5206\u533a\u7684LV<\/span><\/li>\n<\/ul>\n<h3><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-4.\u5237\u65b0EXT4\u7684\u5b58\u50a8\u7a7a\u95f4\uff1a<\/span><\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">resize2fs \/dev\/centos\/root<\/pre>\n<h3><span style=\"font-family: 'comic sans ms', sans-serif;\">2-3-5.\u67e5\u770b\u662f\u5426\u6269\u5bb9\u6210\u529f\uff1a<\/span><\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">df -Th<\/pre>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5982\u679c\u5bb9\u91cf\u53d8\u5927\u4e86\u5c31\u4ee3\u8868\u6210\u529f\u4e86\uff0c\u5426\u5219\u4ee3\u8868\u5931\u8d25\u3002<\/span><\/li>\n<\/ul>\n<hr \/>\n<h1><span style=\"font-family: 'comic sans ms', sans-serif;\">3.\u65b0\u5efaLVM\u5206\u533a<\/span><\/h1>\n<h2><span style=\"font-family: 'comic sans ms', sans-serif;\">3-1.\u521b\u5efaPV<\/span><\/h2>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">3-1-1.\u67e5\u770bPV\u8be6\u7ec6\u4fe1\u606f\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">pvdisplay<\/pre>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">3-1-2.\u521b\u5efaPV\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">pvcreate \/dev\/sdc<\/pre>\n<h2><span style=\"font-family: 'comic sans ms', sans-serif;\">3-2.\u521b\u5efaVG<\/span><\/h2>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">3-2-1.\u67e5\u770bVG\u8be6\u7ec6\u4fe1\u606f\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">vgdisplay<\/pre>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">3-2-2.\u521b\u5efaPE\u4e3a4MIB\u5927\u5c0f\u7684VG\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">vgcreate -s 4M storage1 \/dev\/sdc<\/pre>\n<h2><span style=\"font-family: 'comic sans ms', sans-serif;\">3-3.\u521b\u5efaLV<\/span><\/h2>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">3-3-1.\u67e5\u770bLV\u8be6\u7ec6\u4fe1\u606f\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">lvdisplay<\/pre>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">3-3-2.\u521b\u5efa4095\u4e2aPE\u5927\u5c0f\u7684LV\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">lvcreate -l 4095 -n disk1 storage1<\/pre>\n<h2><span style=\"font-family: 'comic sans ms', sans-serif;\">3-4.\u683c\u5f0f\u5316LV\u7684\u78c1\u76d8\u7a7a\u95f4\u4e3aEXT4\u6587\u4ef6\u7cfb\u7edf\uff1a<\/span><\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">mkfs.ext4 \/dev\/storage1\/disk1<\/pre>\n<h2><span style=\"font-family: 'comic sans ms', sans-serif;\">3-5.\u6302\u8f7d\u5b58\u50a8\u7a7a\u95f4\uff1a<\/span><\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">mount \/dev\/storage1\/disk1 \/mnt\/disk1<\/pre>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5982\u679c\u76ee\u5f55\u4e0d\u5b58\u5728\u81ea\u884c\u521b\u5efa\u4e00\u4e2a<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-family: 'comic sans ms', sans-serif;\">3-6.\u67e5\u770b\u662f\u5426\u6302\u8f7d\u6210\u529f\uff1a<\/span><\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">df -Th<\/pre>\n<hr \/>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u6c38\u4e45\u6302\u8f7d\u9700\u8981\u4fee\u6539fstab\u6587\u4ef6\u751f\u6548\u3002<\/span><\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">end&#8230;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS\u4e2d\u7684LVM\uff08Logical Volume Manager\uff09\u662f\u4e00\u79cd\u903b\u8f91\u5377\u7ba1\u7406\u5de5\u5177\uff0c\u5141\u8bb8\u5bf9\u786c\u76d8\u4e0a\u7684\u5b58\u50a8\u7a7a\u95f4\u8fdb\u884c\u7075\u6d3b\u7684\u5206\u533a\u3001\u7ba1\u7406\u548c\u8c03\u6574\uff0c\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u5b58\u50a8\u7ba1\u7406\u529f\u80fd\u3002 1. LVM\u7684\u57fa\u7840\u67b6\u6784\u4ecb\u7ecd\uff1a PV\uff08Physical Volume\uff09\uff1a\u7269\u7406\u5377\uff0c\u662fLVM\u7684\u57fa\u672c\u7ec4\u6210\u90e8\u5206\uff0c\u901a\u5e38\u4e00\u4e2aPV\u5c31\u662f\u4e00\u4e2a\u7269\u7406\u78c1\u76d8\u3002 VG\uff08Volu &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"\u3010\u7cfb\u7edf\u64cd\u4f5c\u3011centos7 lvm \u5206\u533a\u7ba1\u7406\" class=\"read-more button\" href=\"https:\/\/blog.kingsbestone.com\/?p=2508#more-2508\" aria-label=\"\u66f4\u591a \u3010\u7cfb\u7edf\u64cd\u4f5c\u3011centos7 lvm \u5206\u533a\u7ba1\u7406\">\u67e5\u770b\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":212,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[59,4],"tags":[102,117],"_links":{"self":[{"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/posts\/2508"}],"collection":[{"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2508"}],"version-history":[{"count":16,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/posts\/2508\/revisions"}],"predecessor-version":[{"id":2527,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/posts\/2508\/revisions\/2527"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/media\/212"}],"wp:attachment":[{"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}