{"id":215558,"date":"2021-04-16T09:50:23","date_gmt":"2021-04-16T01:50:23","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=215558"},"modified":"2021-04-02T08:53:35","modified_gmt":"2021-04-02T00:53:35","slug":"linux-cfdisk-usage","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-cfdisk-usage.html","title":{"rendered":"Linux\u4e0b\u78c1\u76d8\u5206\u533a\u5de5\u5177cfdisk\u7684\u4f7f\u7528"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u5bf9\u4e8e\u65b0\u624b\u6765\u8bf4\uff0cLinux\u73af\u5883\u4e0b\u7684\u78c1\u76d8\u5206\u533a\u53ef\u80fd\u8fd8\u4f1a\u5b58\u5728\u4e00\u4e9b\u56f0\u96be\u3002\u5bf9\u4e8e\u719f\u6089Linux\u7684\u670b\u53cb\u6765\u8bf4\uff0c\u6211\u4eec\u8fd8\u6709fdisk\u3001parted\uff082TB\u4ee5\u4e0a\u7684\u78c1\u76d8\u5206\u533a\u4f7f\u7528\uff09\u7b49\u78c1\u76d8\u5206\u533a\u5de5\u5177\u53ef\u4ee5\u4f7f\u7528\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u5728\u6211\u4eec\u65b0\u589e\u78c1\u76d8\u6216\u8005\u5728\u539f\u6765\u78c1\u76d8\u4e0a\u8fdb\u884c\u6269\u5bb9\u65f6\u5c31\u4f1a\u4f7f\u7528\u5230\u78c1\u76d8\u5206\u533a\u5de5\u5177\uff0c\u78c1\u76d8\u5206\u533a\u5bf9\u4e8e\u6574\u4e2a\u7cfb\u7edf\u7684\u7ba1\u7406\u5341\u5206\u91cd\u8981\u3002<\/p>\n 1 . \u589e\u52a0\u4e00\u5757\u5bb9\u91cf\u4e3a2GB\u7684\u786c\u76d8\uff0c\u589e\u52a0\u6b65\u9aa4\u4e0d\u8d58\u8ff0\uff0c\u6839\u636e\u4e2a\u4eba\u60c5\u51b5\u8fdb\u884c\u64cd\u4f5c\u3002\u4f7f\u7528lsblk\u547d\u4ee4\u67e5\u770b\u4e00\u4e0b\u5f53\u524d\u5b58\u50a8\u8bbe\u5907\u60c5\u51b5\uff0c\u53ef\u4ee5\u770b\u51fa\u6211\u4eec\u65b0\u589e\u7684\u8bbe\u5907\u540d\u79f0\u4e3asdb\u3002<\/p>\n lsblk\r\nNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT\r\nsda 8:0 0 10G 0 disk\r\n\u251c\u2500sda1 8:1 0 250M 0 part \/boot\r\n\u2514\u2500sda2 8:2 0 9.8G 0 part\r\n \u251c\u2500CentOS-root 253:0 0 8.3G 0 lvm \/\r\n \u2514\u2500centos-swap 253:1 0 1.5G 0 lvm [SWAP]\r\nsdb 8:16 0 2G 0 disk\r\nsr0 11:0 1 1024M 0 rom<\/pre>\n |