{"id":4728,"date":"2021-09-29T22:40:36","date_gmt":"2021-09-29T13:40:36","guid":{"rendered":"https:\/\/do-gugan.com\/~furuta\/?p=4728"},"modified":"2024-11-22T03:32:42","modified_gmt":"2024-11-21T18:32:42","slug":"conohavps%e3%82%92%e6%96%b0%e3%83%97%e3%83%a9%e3%83%b3%e3%81%ab%e7%a7%bb%e8%a1%8c%e3%81%97%e3%83%87%e3%82%a3%e3%82%b9%e3%82%af%e3%82%92%e6%8b%a1%e5%bc%b5%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/do-gugan.com\/~furuta\/archives\/2021\/09\/conohavps%e3%82%92%e6%96%b0%e3%83%97%e3%83%a9%e3%83%b3%e3%81%ab%e7%a7%bb%e8%a1%8c%e3%81%97%e3%83%87%e3%82%a3%e3%82%b9%e3%82%af%e3%82%92%e6%8b%a1%e5%bc%b5%e3%81%99%e3%82%8b.html","title":{"rendered":"ConohaVPS\u3092\u65b0\u30d7\u30e9\u30f3\u306b\u79fb\u884c\u3057\u30c7\u30a3\u30b9\u30af\u3092\u62e1\u5f35\u3059\u308b"},"content":{"rendered":"\n<p>Conoha\u3067\u30ec\u30f3\u30bf\u30eb\u3057\u3066\u3044\u308bVPS\u304c\u6628\u5e74\u65b0\u30d7\u30e9\u30f3\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002\u30e1\u30e2\u30ea1G\u306e\u30d7\u30e9\u30f3\u306e\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u304c50GB\u304b\u3089100GB\u306b\u30a2\u30c3\u30d7\u3057\u3001\u6599\u91d1\u306f\u307b\u307c\u636e\u3048\u7f6e\u304d\u3068\u3044\u3046\u304b\u5c11\u3057\u5b89\u3044\u4e0a\u3001VPS\u5272\u5f15\u304d\u5207\u7b26\u3068\u3044\u3046\u30d7\u30ea\u30da\u30a4\u30c9\u30b7\u30b9\u30c6\u30e0\u3067\u9577\u671f\u5951\u7d04\u6642\u306e\u5272\u5f15\u304d\u304c\u53d7\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3068\u308a\u3042\u3048\u305a\u30c7\u30a3\u30b9\u30af\u304c\u500d\u5897\u3059\u308b\u3060\u3051\u3067\u3082\u79fb\u884c\u3057\u306a\u3044\u624b\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u4eca\u306eVPS\u3092\u30a4\u30e1\u30fc\u30b8\u4fdd\u5b58\u3057\u3066\u65b0\u30d7\u30e9\u30f3\u306eVPS\u306b\u5f15\u304d\u7d99\u3044\u3060\u5834\u5408\u3001\u30c7\u30a3\u30b9\u30af\uff08\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\uff09\u62e1\u5f35\u306f\u81ea\u5206\u3067\u3084\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3001IP\u30a2\u30c9\u30ec\u30b9\u304c\u5909\u308f\u308b\u306a\u3069\u304c\u3042\u308a\u4fdd\u7559\u306b\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u304c\u3001\u3053\u3053\u306b\u304d\u3066\u30c7\u30a3\u30b9\u30af\u6b8b\u91cf\u304c\u5fc3\u8a31\u306a\u304f\u306a\u3063\u3066\u304d\u305f\u306e\u3067\u3001\u8ffd\u52a0\u30c7\u30a3\u30b9\u30af\u3092\u5951\u7d04\u3059\u308b\u304f\u3089\u3044\u306a\u3089\u3070\u3068\u3001\u65b0\u30d7\u30e9\u30f3\u79fb\u884c\u3092\u65ad\u884c\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u25a0\u79fb\u884c\u81ea\u4f53\u306f\u7c21\u5358<\/h2>\n\n\n\n<p>\u3055\u3059\u304cVPS\u3067\u3059\u3002\u4e00\u5b9a\u6642\u9593\u30b5\u30fc\u30d0\u30fc\u304c\u505c\u6b62\u3057\u3066\u3044\u3044\u306a\u3089\u8d85\u7c21\u5358\u3002\u30b5\u30fc\u30d0\u30fc\u3092\u505c\u6b62\u3057\u3001\u30a4\u30e1\u30fc\u30b8\u4fdd\u5b58\u3002\u65b0\u30b5\u30fc\u30d0\u30fc\u3092\u4f5c\u6210\u3059\u308b\u6642\u306b\u305d\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3080\u3060\u3051\u3067\u3059\u3002CentOS\u30d9\u30fc\u30b9\u306eKUSANAGI\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u304c\u3001IP\u30a2\u30c9\u30ec\u30b9\u3084\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u3001DNS\u306a\u3069\u3082\u65b0\u3057\u3044\u3082\u306e\u306b\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u3042\u3068\u306f\u30c9\u30e1\u30a4\u30f3\u30ec\u30b3\u30fc\u30c9\u3092\u65b0IP\u30a2\u30c9\u30ec\u30b9\u306b\u66f8\u304d\u63db\u3048\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3088\u308a\u30c9\u30e1\u30a4\u30f3\u30ec\u30b3\u30fc\u30c9\u60c5\u5831\u306e\u53cd\u6620\u3092\u65e9\u3081\u305f\u3044\u306a\u3089\u3070\u3001\u6570\u65e5\u524d\u304b\u3089TTL\u30921\u5206\u3068\u304b\u77ed\u3044\u5024\u306b\u3057\u3066\u304a\u304f\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002\u305d\u306e\u30ec\u30b3\u30fc\u30c9\u306e\u6709\u52b9\u671f\u9593\u304c\u77ed\u304f\u306a\u308b\u306e\u3067\u3001\u4e16\u754c\u4e2d\u306e\u7aef\u672b\u3084\u30eb\u30fc\u30bf\u30fc\u306b\u53e4\u3044\u30a2\u30c9\u30ec\u30b9\u306e\u30ec\u30b3\u30fc\u30c9\u304c\u6b8b\u308a\u306b\u304f\u304f\u306a\u308a\u307e\u3059\u3002\u305d\u306e\u5f8c\u3067\u3001\u65b0IP\u306b\u5909\u66f4\u3057\u554f\u984c\u306a\u3051\u308c\u3070TTL\u3092\u9577\u3044\u3082\u306e\u306b\u623b\u3057\u3066\u304a\u304f\u3001\u3068\u3044\u3046\u6d41\u308c\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5f53\u305f\u308a\u524d\u3068\u3044\u3048\u3070\u5f53\u305f\u308a\u524d\u306a\u3093\u3067\u3059\u304c\u3001\u3053\u308c\u3060\u3051\u306e\u4f5c\u696d\u3067\u65b0\u30d7\u30e9\u30f3\u3078\u306e\u79fb\u884c\u81ea\u4f53\u306f\u5b8c\u4e86\u3002<\/p>\n\n\n\n<p>\u305b\u3063\u304b\u304f\u65b0\u30d7\u30e9\u30f3\u306b\u3059\u308b\u306e\u3067 VPS\u5272\u5f15\u304d\u5207\u7b26\u3092\u6700\u5927\u6d3b\u7528\u3059\u3079\u304f3\u5e74\u5206\u8cfc\u5165\u3002\u3057\u304b\u30579\/30\u307e\u3067\u306e\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u306725%\u5272\u5f15\u304d\u3068\u51fa\u3066\u3044\u308b\u306e\u306b\u3001\u306a\u305c\u304b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u8cb7\u304a\u3046\u3068\u3059\u308b\u306810%\u306b\u3057\u304b\u306a\u3089\u306a\u3044\u306e\u304c\u8b0e\u3002\u305d\u3053\u3067\u884c\u3063\u305f\u308a\u6765\u305f\u308a\u3057\u3066\u308b\u306e\u3067\u4e00\u756a\u6642\u9593\u98df\u3044\u307e\u3057\u305fw\u3002\u7d50\u5c40\u8ae6\u3081\u306610%\u3067\u59a5\u5354\u3002<br>\u65e7\u30b5\u30fc\u30d0\u30fc\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u5f8c\u306e\u30a4\u30e1\u30fc\u30b8\u4f5c\u6210\u304c\u3061\u3083\u3093\u3068\u6e2c\u3063\u3066\u306a\u3044\u3051\u306910-15\u5206\u304f\u3089\u3044\u304b\u304b\u3063\u305f\u304b\u306a\uff1f\u305d\u306e\u5f8c\u3067\u5207\u7b26\u3092\u6c7a\u6e08\u3057\u3066\u65b0\u30b5\u30fc\u30d0\u30fc\u3092\u30a4\u30e1\u30fc\u30b8\u304b\u3089\u751f\u6210\u3059\u308b\u306e\u306f\u3082\u3046\u5c11\u3057\u901f\u304b\u3063\u305f\u3088\u3046\u306a\u3002\u30af\u30fc\u30dd\u30f3\u306e\u3053\u3068\u3092\u8003\u3048\u306a\u3051\u308c\u307030\u5206\u304f\u3089\u3044\u3067\u79fb\u884c\u3067\u304d\u305f\u6c17\u304c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www29.a8.net\/svt\/bgt?aid=241122631192&amp;wid=001&amp;eno=01&amp;mid=s00000000018030140000&amp;mc=1\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u25a0\u30c7\u30a3\u30b9\u30af\u3092\u62e1\u5f35\u3059\u308b<\/h2>\n\n\n\n<p>\u3055\u3066\u3001\u3053\u308c\u3067\u3082\u3089\u3048\u308b\u30c7\u30a3\u30b9\u30af\u306f50GB\u304b\u3089100GB\u306b\u500d\u5897\u3057\u307e\u3057\u305f\u304c\u3001OS\u304c\u8a8d\u8b58\u3057\u3066\u3044\u308b\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306f\u5143\u306e\u307e\u307e\u306a\u306e\u3067\u3001\u624b\u52d5\u3067\u8ffd\u52a0\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u6700\u521d\u306e\u30b5\u30fc\u30d0\u30fc\u4f5c\u6210\u6642\u306b\u9078\u3093\u3060OS\u30a4\u30e1\u30fc\u30b8\u306b\u3088\u3063\u3066\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u69cb\u6210\u304c\u5927\u304d\u304f\u3053\u3068\u306a\u308b\u306e\u3067\u3001\u81ea\u5206\u3068\u30c9\u30f3\u30d4\u30b7\u30e3\u306e\u69cb\u6210\u306e\u5148\u884c\u4f8b\u304c\u898b\u3064\u3051\u3089\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u305d\u3082\u305d\u3082\u8ffd\u52a0\u30c7\u30a3\u30b9\u30af\u3092\u5951\u7d04\u3057\u305f\u5834\u5408\u306fOS\u304b\u3089\u5225\u30c9\u30e9\u30a4\u30d6\u3068\u3057\u3066\u898b\u3048\u308b\u306f\u305a\u306a\u3093\u3067\u3059\u304c\u3001\u4eca\u56de\u306e\u30d1\u30bf\u30fc\u30f3\u3060\u3068\u30c9\u30e9\u30a4\u30d6\u6570\u306f\u540c\u3058\u3067\u7a7a\u304d\u9818\u57df\u304c\u5897\u3048\u3066\u3044\u308b\u3001\u3068\u3044\u3046\u611f\u3058\u306a\u3093\u3067\u3061\u3087\u3063\u3068\u9055\u3044\u307e\u3059\u30022017\u5e74\u9803\u306bCentOS7\u30d9\u30fc\u30b9\u306eKUSANAGI\u30a4\u30e1\u30fc\u30b8\u3092\u304b\u3089\u4f5c\u6210\u3057\u305f\uff08\u3068\u8a18\u61b6\u3057\u3066\u3044\u308b\uff09\u30a6\u30c1\u306e\u30b5\u30fc\u30d0\u30fc\u306fLVM\u69cb\u6210\u3067\u3057\u305f\u3002fdisk\u3067\/dev\/vda\u3092p\u3057\u305f\u69d8\u5b50\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Disk \/dev\/vda: 107.4 GB, 107374182400 bytes, 209715200 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O size (minimum\/optimal): 512 bytes \/ 512 bytes\nDisk label type: dos\nDisk identifier: 0x000cf972\n\n   Device Boot      Start         End      Blocks   Id  System\n\/dev\/vda1   *        2048     1026047      512000   83  Linux\n\/dev\/vda2         1026048   104857599    51915776   8e  Linux LVM<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u306f\u65b0\u30d7\u30e9\u30f3\u79fb\u884c\u5f8c\u306a\u306e\u3067\u3001\u8d64\u5b57\u90e8\u5206\u3067\u5bb9\u91cf\u304c100GB\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u4e00\u65b9\u3001LVM\u9818\u57df\u3067\u3042\u308b\/dev\/vda2\u306fBlocks\u3092\u307f\u308b\u306850GB\u306e\u307e\u307e\u3067\u3059\u3002\u3064\u307e\u308a\u3001104857600\u4ee5\u964d\u306b\u8ffd\u52a0\u3055\u308c\u305f50GB\u5206\u306e\u7a7a\u304d\u9818\u57df\u304c\u3067\u304d\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002LVM\u306a\u306e\u3067\u3001\u3053\u306e\/dev\/vda2\u4e0a\u306b\u4f5c\u3089\u308c\u308b\u4eee\u60f3\u30d6\u30ed\u30c3\u30afPV\uff08\u306e\u4e00\u90e8\uff09\u3092\u4f7f\u3063\u3066\u3001\u4eee\u60f3\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\/dev\/mapper\/centos_h16_root\u304c\u4f5c\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u3002df\u3059\u308b\u3068\u3053\u3046\u898b\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># df\nFilesystem                  1K-blocks     Used Available Use% Mounted on\ndevtmpfs                       495520        0    495520   0% \/dev\ntmpfs                          507320        0    507320   0% \/dev\/shm\ntmpfs                          507320    13220    494100   3% \/run\ntmpfs                          507320        0    507320   0% \/sys\/fs\/cgroup\n\/dev\/mapper\/centos_h16-root  47781076 37715192  10065884  79% \/\n\/dev\/vda1                      508588   286260    222328  57% \/boot\ntmpfs                          101468        0    101468   0% \/run\/user\/1003<\/code><\/pre>\n\n\n\n<p>\u6c17\u6301\u3061\u7684\u306b\u306f\u3001\/dev\/vda2\u3092\u62e1\u5f35\u3057\u305f\u4e0a\u3067PV\u3092\u5897\u3084\u3057\u3066\/dev\/mapper\/centos_h16_root\u306b\u7d44\u307f\u8fbc\u3093\u3067\u3084\u308c\u308b\u3068\u30b9\u30c3\u30ad\u30ea\u3067\u3059\u304c\u3001\u65e2\u5b58\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u8fc2\u95ca\u306b\u3044\u3058\u308b\u306e\u306f\u6050\u3044\u306e\u3067\u3001\/dev\/vda3\u3092\u8ffd\u52a0\u4f5c\u6210\u3057\u3066\u3001\u305d\u3053\u306ePV\u3092\u4f5c\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u3053\u308c\u306a\u3089\u3070\u30b5\u30fc\u30d0\u30fc\u3092\u7a3c\u50cd\u3057\u305f\u307e\u307e\u3067\u3082\u5927\u4e08\u592b\uff08\u306a\u306f\u305a\uff09\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7269\u7406\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u4f5c\u6210<\/h2>\n\n\n\n<p>\u518d\u3073\u3001fdisk \/dev\/vda\u3057\u3066\u3001n(=new)\u30b3\u30de\u30f3\u30c9\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002\u30d6\u30ed\u30c3\u30af\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u958b\u59cb\u3068\u7d42\u4e86\u5024\u3092\u30ea\u30bf\u30fc\u30f3\u3067\u9078\u3093\u3067\u3044\u3051\u3070\u6700\u5927\u5bb9\u91cf\u306b\u306a\u308b\u306f\u305a\u3002\u6b21\u306bt(=type)\u30b3\u30de\u30f3\u30c9\u30678e\u306eLinux LVM\u3092\u30bb\u30c3\u30c8\u3002\u3082\u3046\u3044\u3061\u3069p\uff08preview\uff1fprint\uff1f\uff09\u3067\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u3063\u3066\u308c\u3070OK\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Disk \/dev\/vda: 107.4 GB, 107374182400 bytes, 209715200 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O size (minimum\/optimal): 512 bytes \/ 512 bytes\nDisk label type: dos\nDisk identifier: 0x000cf972\n\n   Device Boot      Start         End      Blocks   Id  System\n\/dev\/vda1   *        2048     1026047      512000   83  Linux\n\/dev\/vda2         1026048   104857599    51915776   8e  Linux LVM\n\/dev\/vda3       104857600   209715199    52428800   8e  Linux LVM<\/code><\/pre>\n\n\n\n<p>w\uff08write\uff09\u30b3\u30de\u30f3\u30c9\u3067\u66f8\u304d\u8fbc\u3093\u3067\u3001reboot\u3067\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8ffd\u52a0\u3057\u305f\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u4e0a\u306bPV\u3092\u4f5c\u6210<\/h2>\n\n\n\n<p>\u8ffd\u52a050GB\u9818\u57df\u306b\u4f5c\u6210\u3057\u305f\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\/dev\/vda3\u306bPV\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># pvs \uff08\u8ffd\u52a0\u524d\uff09\n  PV         VG         Fmt  Attr PSize   PFree\n  \/dev\/vda2  centos_h16 lvm2 a--  &lt;49.51g 44.00m\n\n# pvcreate \/dev\/vda3\n  Physical volume \"\/dev\/vda3\" successfully created.\n\n# pvs \uff08\u8ffd\u52a0\u5f8c\uff09\n  PV         VG         Fmt  Attr PSize   PFree\n  \/dev\/vda2  centos_h16 lvm2 a--  &lt;49.51g 44.00m\n  \/dev\/vda3             lvm2 ---   50.00g 50.00g<\/code><\/pre>\n\n\n\n<p>pvcreate\u30b3\u30de\u30f3\u30c9\u306e\u524d\u5f8c\u3067pvs\u3092\u3057\u3066PV\u304c\u5897\u3048\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u65e2\u5b58\u306eVolumeGroup\uff08VG\uff09\u306bPV\u3092\u8ffd\u52a0\u3059\u308b<\/h2>\n\n\n\n<p>vgdisplay\u30b3\u30de\u30f3\u30c9\u3067VG\u540d\u304c\u300ccentos_h16\u300d\u3067\u3042\u308b\u3053\u3068\u3068\u3001Free PE\/Size\u304c\u307b\u307c\u6b8b\u3063\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u5f8c\u3001 \u300cvgextend centos_h16 \/dev\/vda3\u300d\u3067\u5148\u307b\u3069\u4f5c\u3063\u305f\/dev\/vda3\u4e0a\u306ePV\u3092VG\u300ccentos_h16\u300d\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># vgdisplay\n  --- Volume group ---\n  VG Name               centos_h16\n  System ID\n  Format                lvm2\n  Metadata Areas        1\n  Metadata Sequence No  5\n  VG Access             read\/write\n  VG Status             resizable\n  MAX LV                0\n  Cur LV                2\n  Open LV               2\n  Max PV                0\n  Cur PV                1\n  Act PV                1\n  VG Size               &lt;49.51 GiB\n  PE Size               4.00 MiB\n  Total PE              12674\n  Alloc PE \/ Size       12663 \/ 49.46 GiB\n  Free  PE \/ Size       11 \/ 44.00 MiB\n  VG UUID               cxVwji-5jte-1Z9L-e7kl-GSEL-KCB9-XxXxXx\n\n# vgextend centos_h16 \/dev\/vda3\n  Volume group \"centos_h16\" successfully extended\n\n# vgdisplay\n  --- Volume group ---\n  VG Name               centos_h16\n  System ID\n  Format                lvm2\n  Metadata Areas        2\n  Metadata Sequence No  7\n  VG Access             read\/write\n  VG Status             resizable\n  MAX LV                0\n  Cur LV                2\n  Open LV               2\n  Max PV                0\n  Cur PV                2\n  Act PV                2\n  VG Size               99.50 GiB\n  PE Size               4.00 MiB\n  Total PE              25473\n  Alloc PE \/ Size       12663 \/ 49.46 GiB\n  Free  PE \/ Size       12810 \/ &lt;50.04 GiB\n  VG UUID               cxVwji-5jte-1Z9L-e7kl-GSEL-KCB9-XxXxXx<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u3067Free PE\/Size\u304c\u5897\u3048\u307e\u3057\u305f\u3002\u7a7a\u304dPE\u304c12810\u500b\u3001\u5bb9\u91cf\u306750.04GiB\u5206\u304c\u672a\u30a2\u30b5\u30a4\u30f3\u72b6\u614b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p>vgdisplay\u30b3\u30de\u30f3\u30c9\u3067\u73fe\u72b6\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># vgdisplay -v centos_h16\n  --- Volume group ---\n  VG Name               centos_h16\n  System ID\n  Format                lvm2\n  Metadata Areas        2\n  Metadata Sequence No  7\n  VG Access             read\/write\n  VG Status             resizable\n  MAX LV                0\n  Cur LV                2\n  Open LV               2\n  Max PV                0\n  Cur PV                2\n  Act PV                2\n  VG Size               99.50 GiB\n  PE Size               4.00 MiB\n  Total PE              25473\n  Alloc PE \/ Size       12663 \/ 49.46 GiB\n  Free  PE \/ Size       12810 \/ &lt;50.04 GiB\n  VG UUID               cxVwji-5jte-1Z9L-e7kl-GSEL-KCB9-XxXxXx\n\n  --- Logical volume ---\n  LV Path                \/dev\/centos_h16\/swap\n  LV Name                swap\n  VG Name                centos_h16\n  LV UUID                k5N0FA-RGHZ-TdoC-d4d7-OLXp-xc3e-XxXxXx\n  LV Write Access        read\/write\n  LV Creation host, time h15.125.16.172.lan, 2015-10-10 01:32:50 +0900\n  LV Status              available\n  # open                 2\n  LV Size                &lt;3.88 GiB\n  Current LE             992\n  Segments               1\n  Allocation             inherit\n  Read ahead sectors     auto\n  - currently set to     8192\n  Block device           253:1\n\n  --- Logical volume ---\n  LV Path                \/dev\/centos_h16\/root\n  LV Name                root\n  VG Name                centos_h16\n  LV UUID                Tpx6YH-dSyb-uGtL-csFs-wXPi-3bWB-XxXxXx\n  LV Write Access        read\/write\n  LV Creation host, time h15.125.16.172.lan, 2015-10-10 01:32:50 +0900\n  LV Status              available\n  # open                 1\n  LV Size                &lt;45.59 GiB\n  Current LE             11671\n  Segments               1\n  Allocation             inherit\n  Read ahead sectors     auto\n  - currently set to     8192\n  Block device           253:0\n\n  --- Physical volumes ---\n  PV Name               \/dev\/vda2\n  PV UUID               8s6y0i-T0PO-Km7a-Zq5O-2fbF-oNIv-XxXxXx\n  PV Status             allocatable\n  Total PE \/ Free PE    12674 \/ 11\n\n  PV Name               \/dev\/vda3\n  PV UUID               ULxhBB-wnC7-5cp6-2UPM-qpGp-drZX-XxXxXx\n  PV Status             allocatable\n  Total PE \/ Free PE    12799 \/ 12799<\/code><\/pre>\n\n\n\n<p>\u7269\u7406\u30b9\u30c8\u30ec\u30fc\u30b8\u3068LVM\u4eee\u60f3\u30b9\u30c8\u30ec\u30fc\u30b8\u304c\u591a\u6bb5\u5316\u3055\u308c\u3066\u3044\u3066\u3068\u3066\u3082\u3084\u3084\u3053\u3057\u3044\u3067\u3059\u304c\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>centos_h16\u3068\u3044\u3046100GB\u306eVolume Group\u304c\u3042\u308a\u300150GB\uff0812799\u30d6\u30ed\u30c3\u30af\uff09\u306eFree PE\u304c\u6b8b\u3063\u3066\u3044\u308b<\/li>\n\n\n\n<li>centos_h16\u306e\u4e2d\u306b\u3001\/dev\/centos_h16\/swap\u3068\/dev\/cetnos_h16\/root\u3068\u3044\u3046\uff12\u3064\u306e\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0(LV)\u304c\u5b58\u5728\u3059\u308b\u3002\u4eca\u56de\u62e1\u5f35\u3057\u305f\u3044\u306e\u306f\u5f8c\u8005\u3002<\/li>\n\n\n\n<li>\u305d\u308c\u306f\u305d\u3046\u3068\/dev\/vda2\u3068\/dev\/vda3\u3068\u3044\u3046\uff12\u3064\u306e\u7269\u7406\u30dc\u30ea\u30e5\u30fc\u30e0(PV)\u304c\u3042\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3046\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u8ffd\u52a050GB\u3067\u4f5c\u3063\u305f\u306e\u304c\/dev\/vda3\u3067\u3059\u304c\u3059\u3067\u306bVG\u300ccentos_h16\u300d\u306b\u8ffd\u52a0\u6e08\u307f\u306a\u306e\u3067\u3001\u7269\u7406\u30ec\u30a4\u30e4\u30fc\u306e\u3053\u3068\u306f\u3082\u3046\u5fd8\u308c\u3066OK\u3067\u3059\u3002\u6b8b\u308b\u306f\u3001VG\u5185\u306e\u30d5\u30ea\u30fc\u306e50GB\u3092LV\u300c\/dev\/centos_h16\/root\u300d\u306b\u5272\u308a\u5f53\u3066\u3066\u3084\u308a\u3001\u540c\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u9818\u57df\u4e00\u676f\u306b\u5e83\u3052\u3066\u3084\u308b\u3068\u3044\u3046\uff12\u30b9\u30c6\u30c3\u30d7\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7279\u5b9a\u306eLV\u306b\u7a7a\u304dPE\u3092\u5272\u308a\u5f53\u3066\u308b<\/h2>\n\n\n\n<p>Free PE\u3092\u3042\u308a\u3063\u305f\u3051\u6307\u5b9a\u306eLV\u306b\u30a2\u30b5\u30a4\u30f3\u3059\u308b\u306e\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># lvextend -l +100%FREE \/dev\/centos_h16\/root\n  Size of logical volume centos_h16\/root changed from &lt;45.59 GiB (11671 extents) to &lt;95.63 GiB (24481 extents).\n  Logical volume centos_h16\/root successfully resized.<\/code><\/pre>\n\n\n\n<p>\u5ff5\u306e\u305f\u3081\u3082\u3046\u4e00\u5ea6vgdisplay\u3057\u3066\u307f\u308b\u3068\u3001Free PE\u304c0\/0\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># vgdisplay\n  --- Volume group ---\n  VG Name               centos_h16\n  System ID\n  Format                lvm2\n  Metadata Areas        2\n  Metadata Sequence No  8\n  VG Access             read\/write\n  VG Status             resizable\n  MAX LV                0\n  Cur LV                2\n  Open LV               2\n  Max PV                0\n  Cur PV                2\n  Act PV                2\n  VG Size               99.50 GiB\n  PE Size               4.00 MiB\n  Total PE              25473\n  Alloc PE \/ Size       25473 \/ 99.50 GiB\n  Free  PE \/ Size       0 \/ 0\n  VG UUID               cxVwji-5jte-1Z9L-e7kl-GSEL-KCB9-XxXxXx<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u62e1\u5f35\u3059\u308b<\/h2>\n\n\n\n<p>\u3044\u3088\u3044\u3088\u5927\u8a70\u3081\u3002\/dev\/centos_h16\/root\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002XFS\u3068ext3\/4\u3067\u306f\u62e1\u5f35\u306b\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u304c\u9055\u3046\u304b\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># df -T\nFilesystem                  Type     1K-blocks     Used Available Use% Mounted on\ndevtmpfs                    devtmpfs    495520        0    495520   0% \/dev\ntmpfs                       tmpfs       507320        0    507320   0% \/dev\/shm\ntmpfs                       tmpfs       507320    19556    487764   4% \/run\ntmpfs                       tmpfs       507320        0    507320   0% \/sys\/fs\/cgroup\n\/dev\/mapper\/centos_h16-root xfs       47781076 37717220  10063856  79% \/\n\/dev\/vda1                   xfs         508588   286260    222328  57% \/boot\ntmpfs                       tmpfs       101468        0    101468   0% \/run\/user\/1003<\/code><\/pre>\n\n\n\n<p>XFS\u3067\u3057\u305f\uff08\u3053\u3053\u306e\/dev\/mapper\/centos_h16-root\u306f\/dev\/centos_h16\/root\u3068\u540c\u3058\u3068\u8003\u3048\u3066OK\u3067\u3059\uff09\u3002\u306a\u306e\u3067\u3001\u62e1\u5f35\u306b\u306fxfs_growfs\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3048\u3070\u3088\u3055\u305d\u3046\uff08ext3\/4\u306a\u3089resizefs\u304b\u306a\uff1f\uff09\u3002-D\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3057\u306a\u3044\u5834\u5408\u306f\u53ef\u80fd\u306a\u6700\u5927\u30b5\u30a4\u30ba\u3092\u4f7f\u3044\u5207\u3063\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># xfs_growfs \/dev\/centos_h16\/root\nmeta-data=\/dev\/mapper\/centos_h16-root isize=256    agcount=4, agsize=2987776 blks\n         =                       sectsz=512   attr=2, projid32bit=1\n         =                       crc=0        finobt=0 spinodes=0\ndata     =                       bsize=4096   blocks=11951104, imaxpct=25\n         =                       sunit=0      swidth=0 blks\nnaming   =version 2              bsize=4096   ascii-ci=0 ftype=0\nlog      =internal               bsize=4096   blocks=5835, version=2\n         =                       sectsz=512   sunit=0 blks, lazy-count=1\nrealtime =none                   extsz=4096   blocks=0, rtextents=0\ndata blocks changed from 11951104 to 25068544\n\n# df\nFilesystem                  1K-blocks     Used Available Use% Mounted on\ndevtmpfs                       495520        0    495520   0% \/dev\ntmpfs                          507320        0    507320   0% \/dev\/shm\ntmpfs                          507320    19556    487764   4% \/run\ntmpfs                          507320        0    507320   0% \/sys\/fs\/cgroup\n\/dev\/mapper\/centos_h16-root 100250836 37717896  62532940  38% \/\n\/dev\/vda1                      508588   286260    222328  57% \/boot\ntmpfs                          101468        0    101468   0% \/run\/user\/1003<\/code><\/pre>\n\n\n\n<p>\u4f55\u5206\u304b\u304b\u304b\u308b\u304b\u3068\u601d\u3044\u304d\u3084\u4e00\u77ac\u3067\u7d42\u308f\u308a\u307e\u3057\u305f\u3002df\u30b3\u30de\u30f3\u30c9\u3067\u307f\u308b\u3068\u4f7f\u7528\u7387\u304c79%\u3060\u3063\u305f\u306e\u304c38%\u306b\u6fc0\u6e1b\u3057\u3066\u3044\u307e\u3059\u3002\u7279\u306b\u6307\u793a\u306f\u51fa\u3066\u306a\u3044\u3067\u3059\u304c\u6c17\u5206\u7684\u306b\u518d\u8d77\u52d5\u3057\u3066\u304a\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u25a0\u307e\u3068\u3081<\/h1>\n\n\n\n<p>\u4f55\u5e74\u304b\u3076\u308a\u306bLVM\u3092\u3044\u3058\u3063\u3066\u30c9\u30ad\u30c9\u30ad\u3057\u307e\u3057\u305f\u304c\u3001\u307e\u3041\u6700\u60aa\u30a4\u30e1\u30fc\u30b8\u304c\u6b8b\u3063\u3066\u3044\u308b\u306e\u3067\u5931\u6557\u3057\u305f\u3089VPS\u3092\u3082\u3046\u3072\u3068\u3064\u4f5c\u308a\u76f4\u305b\u3070\u3044\u3044\u3084\u3063\u3066\u3053\u3068\u3067\u601d\u3044\u5207\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002VPS\u306f\u3053\u3046\u3044\u3046\u6642\u307b\u3093\u3068\u697d\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u3068\u308a\u3042\u3048\u305a\u8ffd\u52a0\u6599\u91d1\u4e0d\u8981\u3067\u30b9\u30c8\u30ec\u30fc\u30b8\u304c\u500d\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u305d\u308c\u3069\u3053\u308d\u304b\u30d7\u30ea\u30da\u30a4\u30c9\u30b7\u30b9\u30c6\u30e0\u306e \u300cVPS\u5272\u5f15\u304d\u5207\u7b26 \u300d\u3067\u5b89\u304f\u306a\u3063\u305f\u304f\u3089\u3044\u3067\u3059\u3002\u4e00\u6319\u306b\uff13\u5e74\u5206\u524d\u6255\u3044\u3057\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001\u3053\u306e\u307e\u307e\u3042\u3068\uff13\u5e74\u306f\u30c8\u30e9\u30d6\u30eb\u306a\u304f\u7a3c\u50cd\u3057\u3066\u307b\u3057\u3044\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www28.a8.net\/svt\/bgt?aid=241122631192&amp;wid=001&amp;eno=01&amp;mid=s00000000018030035000&amp;mc=1\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Conoha\u3067\u30ec\u30f3\u30bf\u30eb\u3057\u3066\u3044\u308bVPS\u304c\u6628\u5e74\u65b0\u30d7\u30e9\u30f3\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002\u30e1\u30e2\u30ea1G\u306e\u30d7\u30e9\u30f3\u306e\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u304c50GB\u304b\u3089100GB\u306b\u30a2\u30c3\u30d7\u3057\u3001\u6599\u91d1\u306f\u307b\u307c\u636e\u3048\u7f6e\u304d\u3068\u3044\u3046\u304b\u5c11\u3057\u5b89\u3044\u4e0a\u3001VPS\u5272\u5f15\u304d\u5207\u7b26\u3068\u3044\u3046\u30d7\u30ea\u30da\u30a4\u30c9\u30b7\u30b9\u30c6\u30e0\u3067\u9577\u671f\u5951 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[384,385,386,387,388],"class_list":["post-4728","post","type-post","status-publish","format-standard","hentry","category-cat79","tag-linux","tag-conoha","tag-vps","tag-lvm","tag-centos"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/4728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/comments?post=4728"}],"version-history":[{"count":9,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/4728\/revisions"}],"predecessor-version":[{"id":6986,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/4728\/revisions\/6986"}],"wp:attachment":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/media?parent=4728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/categories?post=4728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/tags?post=4728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}