[{"data":1,"prerenderedAt":122},["ShallowReactive",2],{"\u002F2022\u002Fpve-remove-default-lvm-guide":3,"surround-\u002F2022\u002Fpve-remove-default-lvm-guide":111},{"id":4,"title":5,"body":6,"categories":83,"date":85,"description":86,"draft":87,"extension":88,"image":89,"meta":90,"navigation":92,"path":93,"permalink":89,"published":89,"readingTime":94,"recommend":89,"references":89,"seo":99,"sitemap":100,"stem":101,"tags":102,"type":109,"updated":85,"__hash__":110},"content\u002Fposts\u002F2022\u002Fpve-remove-default-lvm-guide.md","移除PVE的默认LVM分区释放安装硬盘空间",{"type":7,"value":8,"toc":66},"minimark",[9,13,18,22,26,29,32,36,41,52,56,62],[10,11,12],"h2",{"id":12},"安装过程中移除",[14,15,17],"h3",{"id":16},"_1-到硬盘选择步骤时选择硬盘后点击options按钮","1. 到硬盘选择步骤时，选择硬盘后，点击Options按钮",[14,19,21],{"id":20},"_2-找到lv-disk部分输入框手动填上0","2. 找到LV Disk部分输入框，手动填上0",[14,23,25],{"id":24},"_3-点击apply按钮继续安装步骤","3. 点击Apply按钮，继续安装步骤。",[27,28],"hr",{},[10,30,31],{"id":31},"已经安装完成系统",[14,33,35],{"id":34},"_1-把local-lvm的空间全部分配给local","1. 把local-lvm的空间全部分配给local",[37,38,40],"h4",{"id":39},"_1打开自带的shell窗口输入后以下内容后回车","1.打开自带的shell窗口，输入后以下内容后回车",[42,43,49],"pre",{"className":44,"code":46,"language":47,"meta":48},[45],"language-shell","lvremove pve\u002Fdata\n","shell","",[50,51,46],"code",{"__ignoreMap":48},[37,53,55],{"id":54},"_2继续输入然后回车","2.继续输入，然后回车",[42,57,60],{"className":58,"code":59,"language":47,"meta":48},[45],"lvextend -l +100%FREE -r pve\u002Froot\n",[50,61,59],{"__ignoreMap":48},[37,63,65],{"id":64},"_3在数据中心-存储中删除local-lvm分区并编辑local在内容一项中勾选所有可选项","3.在数据中心-存储中删除local-lvm分区，并编辑local，在内容一项中勾选所有可选项。",{"title":48,"searchDepth":67,"depth":67,"links":68},4,[69,76],{"id":12,"depth":70,"text":12,"children":71},2,[72,74,75],{"id":16,"depth":73,"text":17},3,{"id":20,"depth":73,"text":21},{"id":24,"depth":73,"text":25},{"id":31,"depth":70,"text":31,"children":77},[78],{"id":34,"depth":73,"text":35,"children":79},[80,81,82],{"id":39,"depth":67,"text":40},{"id":54,"depth":67,"text":55},{"id":64,"depth":67,"text":65},[84],"技术","2022-06-16 00:00:00","在PVE中，默认会将安装硬盘的空间全部分配给local-lvm分区，导致安装硬盘空间不足。本教程将介绍如何移除默认LVM分区并释放安装硬盘空间。",false,"md",null,{"slots":91},{},true,"\u002F2022\u002Fpve-remove-default-lvm-guide",{"text":95,"minutes":96,"time":97,"words":98},"1 min read",0.675,40500,135,{"title":5,"description":86},{"loc":93},"posts\u002F2022\u002Fpve-remove-default-lvm-guide",[103,104,105,106,107,108],"PVE","LVM","硬盘","分区","挂载","教程","tech","-vgyzm1ggaVwGanFNjrkqCxwY2rbddcV2uhPL1NoeCA",[112,117],{"title":113,"path":114,"stem":115,"date":116,"type":109,"children":-1},"在 Ubuntu Server 22.04 \u002F 20.04 上把网卡配置成静态 IP","\u002F2020\u002Fubuntu-server-static-ip-2020-guide","posts\u002F2020\u002Fubuntu-server-static-ip-2020-guide","2020-06-03 00:00:00",{"title":118,"path":119,"stem":120,"date":121,"type":109,"children":-1},"把 N5105\u002FN100 的核显直进虚拟机，让 HDMI 直接点亮物理显示器","\u002F2022\u002Fintel-iommu-igpu-passthrough-proxmox-7x-vm-guide","posts\u002F2022\u002Fintel-iommu-igpu-passthrough-proxmox-7x-vm-guide","2022-06-30 00:00:00",1777395321997]