{"id":1153,"date":"2020-06-21T17:43:53","date_gmt":"2020-06-21T08:43:53","guid":{"rendered":"https:\/\/beanhouse.org\/wordpress\/?p=1153"},"modified":"2021-09-08T18:04:45","modified_gmt":"2021-09-08T09:04:45","slug":"replace-hdd-with-ssd","status":"publish","type":"post","link":"https:\/\/beanhouse.org\/wordpress\/?p=1153","title":{"rendered":"\u3010CentOS7\u3011\u53e4\u3044hdd\u3092Crucial\u306essd\u306b\u63db\u88c5\u3057\u305f\u6642\u306e\u624b\u9806"},"content":{"rendered":"<p class=\"wpwc-reading-time\">\u3053\u306e\u8a18\u4e8b\u306f\u3060\u3044\u305f\u3044 5 \u5206\u307b\u3069\u3067\u8aad\u3081\u307e\u3059\u3002<\/p>\n<p>\u53e4\u3044\u30d1\u30bd\u30b3\u30f3\u3067CentOS\u3092\u52d5\u304b\u3057\u59cb\u3081\u30662\u304b\u6708\u307b\u3069\u7d4c\u904e\u3057\u307e\u3057\u305f\u306e\u3067HDD\u3092\u4ea4\u63db\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3002<\/p>\n\n\n\n<p>\u76ee\u7684\u306f\u9759\u97f3\u5316\u3002\u306a\u3093\u304b\u305f\u307e\u306b\u3046\u306a\u3063\u3066\u308b\u3093\u3067\u3059\u3088\u306d\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u306fHDD\u304c\u53e4\u3044\u304b\u3089\u3002<\/p>\n\n\n\n<p>\u3084\u3063\u3066\u307f\u305f\u611f\u60f3\u306f\u3001\u304b\u306a\u308a\u3057\u3093\u3069\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/hard-drive-4604812_1920-1024x683.jpg\" alt=\"\" class=\"wp-image-1154\" srcset=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/hard-drive-4604812_1920-1024x683.jpg 1024w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/hard-drive-4604812_1920-300x200.jpg 300w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/hard-drive-4604812_1920-768x512.jpg 768w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/hard-drive-4604812_1920-1536x1024.jpg 1536w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/hard-drive-4604812_1920.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1153\/#%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E6%83%85%E5%A0%B1\" >\u30b5\u30fc\u30d0\u30fc\u60c5\u5831<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1153\/#SSD\" >SSD<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1153\/#%E6%8F%9B%E8%A3%85\" >\u63db\u88c5<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1153\/#SSD%E6%8E%A5%E7%B6%9A%E5%89%8D\" >SSD\u63a5\u7d9a\u524d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1153\/#SSD%E6%8E%A5%E7%B6%9A\" >SSD\u63a5\u7d9a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1153\/#%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9%E5%81%9C%E6%AD%A2\" >\u30b5\u30fc\u30d3\u30b9\u505c\u6b62<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1153\/#%E3%82%B3%E3%83%94%E3%83%BC\" >\u30b3\u30d4\u30fc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1153\/#%E4%BB%98%E3%81%91%E6%9B%BF%E3%81%88\" >\u4ed8\u3051\u66ff\u3048<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1153\/#fstrim%E6%9C%89%E5%8A%B9%E5%8C%96\" >fstrim\u6709\u52b9\u5316<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/beanhouse.org\/wordpress\/?p=1153\/#%E3%81%BE%E3%81%A8%E3%82%81\" >\u307e\u3068\u3081<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E6%83%85%E5%A0%B1\"><\/span>\u30b5\u30fc\u30d0\u30fc\u60c5\u5831<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u6a5f\u7a2e:OptiPlex\u2122GX520<\/p>\n\n\n\n<p>HDD:40GB<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># cat \/etc\/redhat-release\nCentOS Linux release 7.8.2003 (Core)<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"SSD\"><\/span>SSD<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>amazon\u3067\u8cfc\u5165\u3002\u5024\u6bb5\u306f5030\u5186\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"404\" height=\"303\" src=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/20200620_104507038_iOS.jpg\" alt=\"\" class=\"wp-image-1156 size-full\" srcset=\"https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/20200620_104507038_iOS.jpg 404w, https:\/\/beanhouse.org\/wordpress\/wp-content\/uploads\/2020\/06\/20200620_104507038_iOS-300x225.jpg 300w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<ul class=\"wp-block-list\"><li>Crucial SSD 250GB MX500 <\/li><li>\u5185\u85352.5\u30a4\u30f3\u30c1 7mm (9.5mm\u30b9\u30da\u30fc\u30b5\u30fc\u4ed8\u5c5e)<\/li><li>5\u5e74\u4fdd\u8a3c \u3010PlayStation4 \u52d5\u4f5c\u78ba\u8a8d\u6e08\u3011<\/li><li>\u6b63\u898f\u4ee3\u7406\u5e97\u4fdd\u8a3c\u54c1<\/li><li>CT250MX500SSD1\/JP<\/li><\/ul>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%8F%9B%E8%A3%85\"><\/span>\u63db\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5165\u308c\u66ff\u3048\u306e\u4f5c\u696d\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u4ea4\u63db\u524d\u306e\u72b6\u614b\u3092 fdisk -l \u3067\u78ba\u8a8d\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"SSD%E6%8E%A5%E7%B6%9A%E5%89%8D\"><\/span>SSD\u63a5\u7d9a\u524d<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[root@beanhouse ~]# fdisk -l\n\nDisk \/dev\/sda: 40.0 GB, 40000000000 bytes, 78125000 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O \u30b5\u30a4\u30ba (\u6700\u5c0f \/ \u63a8\u5968): 512 \u30d0\u30a4\u30c8 \/ 512 \u30d0\u30a4\u30c8\nDisk label type: dos\n\u30c7\u30a3\u30b9\u30af\u8b58\u5225\u5b50: 0x0006209f\n\n\u30c7\u30d0\u30a4\u30b9 \u30d6\u30fc\u30c8      \u59cb\u70b9        \u7d42\u70b9     \u30d6\u30ed\u30c3\u30af   Id  \u30b7\u30b9\u30c6\u30e0\n\/dev\/sda1   *        2048     2099199     1048576   83  Linux\n\/dev\/sda2         2099200    78123007    38011904   8e  Linux LVM\n\nDisk \/dev\/mapper\/centos_beanhouse-root: 36.8 GB, 36771463168 bytes, 71819264 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O \u30b5\u30a4\u30ba (\u6700\u5c0f \/ \u63a8\u5968): 512 \u30d0\u30a4\u30c8 \/ 512 \u30d0\u30a4\u30c8\n\nDisk \/dev\/mapper\/centos_beanhouse-swap: 2147 MB, 2147483648 bytes, 4194304 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O \u30b5\u30a4\u30ba (\u6700\u5c0f \/ \u63a8\u5968): 512 \u30d0\u30a4\u30c8 \/ 512 \u30d0\u30a4\u30c8\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"SSD%E6%8E%A5%E7%B6%9A\"><\/span>SSD\u63a5\u7d9a<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>SATA-USB3.0\u5909\u63db\u30b1\u30fc\u30d6\u30eb\u3067SSD\u3092\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u63a5\u7d9a\u5f8c\u306e\u72b6\u614b\u3092\u78ba\u8a8d<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[root@beanhouse ~]# fdisk -l\n\nDisk \/dev\/sda: 40.0 GB, 40000000000 bytes, 78125000 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O \u30b5\u30a4\u30ba (\u6700\u5c0f \/ \u63a8\u5968): 512 \u30d0\u30a4\u30c8 \/ 512 \u30d0\u30a4\u30c8\nDisk label type: dos\n\u30c7\u30a3\u30b9\u30af\u8b58\u5225\u5b50: 0x0006209f\n\n\u30c7\u30d0\u30a4\u30b9 \u30d6\u30fc\u30c8      \u59cb\u70b9        \u7d42\u70b9     \u30d6\u30ed\u30c3\u30af   Id  \u30b7\u30b9\u30c6\u30e0\n\/dev\/sda1   *        2048     2099199     1048576   83  Linux\n\/dev\/sda2         2099200    78123007    38011904   8e  Linux LVM\n\nDisk \/dev\/mapper\/centos_beanhouse-root: 36.8 GB, 36771463168 bytes, 71819264 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O \u30b5\u30a4\u30ba (\u6700\u5c0f \/ \u63a8\u5968): 512 \u30d0\u30a4\u30c8 \/ 512 \u30d0\u30a4\u30c8\n\nDisk \/dev\/mapper\/centos_beanhouse-swap: 2147 MB, 2147483648 bytes, 4194304 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 512 bytes\nI\/O \u30b5\u30a4\u30ba (\u6700\u5c0f \/ \u63a8\u5968): 512 \u30d0\u30a4\u30c8 \/ 512 \u30d0\u30a4\u30c8\n\nDisk \/dev\/sdb: 250.1 GB, 250059350016 bytes, 488397168 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 4096 bytes\nI\/O \u30b5\u30a4\u30ba (\u6700\u5c0f \/ \u63a8\u5968): 4096 \u30d0\u30a4\u30c8 \/ 4096 \u30d0\u30a4\u30c8<\/pre>\n\n\n\n<p>\u30af\u30ed\u30fc\u30f3\u3092\u884c\u3046\u524d\u306b\u52d5\u3044\u3066\u308b\u3068\u3084\u3070\u305d\u3046\u306a\u30b5\u30fc\u30d3\u30b9\u3092\u6b62\u3081\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9%E5%81%9C%E6%AD%A2\"><\/span>\u30b5\u30fc\u30d3\u30b9\u505c\u6b62<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[root@beanhouse ~]# systemctl stop nagios\n[root@beanhouse ~]# systemctl stop httpd\n[root@beanhouse ~]# systemctl stop mysql\n[root@beanhouse ~]# systemctl stop postfix\n[root@beanhouse ~]# systemctl stop dovecot<\/pre>\n\n\n\n<p>\u7d9a\u3044\u3066\u30b3\u30d4\u30fc\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%82%B3%E3%83%94%E3%83%BC\"><\/span>\u30b3\u30d4\u30fc<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6700\u521d\u306f fdisk\u30b3\u30de\u30f3\u30c9\u3067\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u4f5c\u3063\u3066\u3001\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3042\u3068\u306b rsync \u3067\u8907\u88fd\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u7d50\u679c\u3068\u3057\u3066\u3046\u307e\u304f\u52d5\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>dd\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u30c7\u30a3\u30b9\u30af\u306e\u5185\u5bb9\u3092\u4e38\u3054\u3068\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[root@beanhouse ~]# dd if=\/dev\/sda of=\/dev\/sdb bs=1M conv=noerror,sync\n40000028672 \u30d0\u30a4\u30c8 (40 GB) \u30b3\u30d4\u30fc\u3055\u308c\u307e\u3057\u305f\u3001 1257.5 \u79d2\u3001 31.8 MB\/\u79d2\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E4%BB%98%E3%81%91%E6%9B%BF%E3%81%88\"><\/span>\u4ed8\u3051\u66ff\u3048<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30fc\u3092\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u3066\u3001HDD\u3092\u53d6\u308a\u5916\u3057\u3066SSD\u3092\u53d6\u308a\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u8d77\u52d5\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[root@beanhouse ~]# fdisk -l\n\nDisk \/dev\/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 4096 bytes\nI\/O \u30b5\u30a4\u30ba (\u6700\u5c0f \/ \u63a8\u5968): 4096 \u30d0\u30a4\u30c8 \/ 4096 \u30d0\u30a4\u30c8\nDisk label type: dos\n\u30c7\u30a3\u30b9\u30af\u8b58\u5225\u5b50: 0x0006209f\n\n\u30c7\u30d0\u30a4\u30b9 \u30d6\u30fc\u30c8      \u59cb\u70b9        \u7d42\u70b9     \u30d6\u30ed\u30c3\u30af   Id  \u30b7\u30b9\u30c6\u30e0\n\/dev\/sda1   *        2048     2099199     1048576   83  Linux\n\/dev\/sda2         2099200    78123007    38011904   8e  Linux LVM\n\nDisk \/dev\/mapper\/centos_beanhouse-root: 36.8 GB, 36771463168 bytes, 71819264 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 4096 bytes\nI\/O \u30b5\u30a4\u30ba (\u6700\u5c0f \/ \u63a8\u5968): 4096 \u30d0\u30a4\u30c8 \/ 4096 \u30d0\u30a4\u30c8\n\nDisk \/dev\/mapper\/centos_beanhouse-swap: 2147 MB, 2147483648 bytes, 4194304 sectors\nUnits = sectors of 1 * 512 = 512 bytes\nSector size (logical\/physical): 512 bytes \/ 4096 bytes\nI\/O \u30b5\u30a4\u30ba (\u6700\u5c0f \/ \u63a8\u5968): 4096 \u30d0\u30a4\u30c8 \/ 4096 \u30d0\u30a4\u30c8<\/pre>\n\n\n\n<p>\u3068\u308a\u3042\u3048\u305a\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>250GB\u306eSSD\u3067\u3059\u304c\u300140GB\u3057\u304b\u4f7f\u7528\u3057\u3066\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4ea4\u63db\u524d\u306eHDD\u306e\u30b5\u30a4\u30ba\u5206\u3067\u3059\u3002<\/p>\n\n\n\n<p>df -h \u3067\u4f7f\u7528\u72b6\u6cc1\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[root@beanhouse ~]# df -h\n\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9                      \u30b5\u30a4\u30ba  \u4f7f\u7528  \u6b8b\u308a \u4f7f\u7528% \u30de\u30a6\u30f3\u30c8\u4f4d\u7f6e\ndevtmpfs                            1.7G     0  1.7G    0% \/dev\ntmpfs                               1.7G     0  1.7G    0% \/dev\/shm\ntmpfs                               1.7G  8.7M  1.7G    1% \/run\ntmpfs                               1.7G     0  1.7G    0% \/sys\/fs\/cgroup\n\/dev\/mapper\/centos_beanhouse-root    35G  4.2G   31G   13% \/\n\/dev\/sda1                          1014M  318M  697M   32% \/boot\ntmpfs                               335M     0  335M    0% \/run\/user\/1000<\/pre>\n\n\n\n<p>31GB\u7a7a\u3044\u3066\u308b\u3088\u3046\u306a\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u305d\u3063\u3068\u3057\u3066\u304a\u304f\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"fstrim%E6%9C%89%E5%8A%B9%E5%8C%96\"><\/span>fstrim\u6709\u52b9\u5316<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>SSD\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u4f4e\u4e0b\u3092\u4e88\u9632\u3059\u308b\u305f\u3081\u306b\u5b9a\u671f\u7684\u306bTRIM\u3092\u884c\u3046\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[root@beanhouse ~]# systemctl enable fstrim.timer\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/fstrim.timer to \/usr\/lib\/systemd\/system\/fstrim.timer.\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%81%BE%E3%81%A8%E3%82%81\"><\/span>\u307e\u3068\u3081<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5b9f\u969b\u306b\u884c\u3063\u305f\u4f5c\u696d\u3068\u3057\u3066\u306f,dd\u30b3\u30de\u30f3\u30c9\u3067\u30c7\u30a3\u30b9\u30af\u306e\u5185\u5bb9\u3092\u4e38\u3054\u3068\u30b3\u30d4\u30fc\u3057\u305f\u3060\u3051\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u5909\u66f4\u5143\u3068\u5909\u66f4\u5148\u306e\u5bb9\u91cf\u304c\u540c\u3058\u306a\u3089\u4f55\u3082\u554f\u984c\u306a\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5909\u66f4\u5148\u304c\u5927\u304d\u304f\u306a\u308b\u3068\u30b3\u30d4\u30fc\u5f8c\u306e\u51e6\u7406\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u3084\u3063\u3066\u306a\u3044\u3067\u3059\u3051\u3069\u3002<\/p>\n\n\n\n<p>\u305b\u3063\u304b\u304f250GB\u3082\u3042\u308b\u306e\u306b\u4f7f\u3048\u3066\u306a\u3044\u306e\u306f\u3082\u3063\u305f\u3044\u306a\u3044\u3051\u3069\u3001\u62e1\u5f35\u306f\u5f8c\u3067\u3084\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u9759\u97f3\u5316\u306b\u95a2\u3057\u3066\u306f\u3001\u3053\u306e\u30d1\u30bd\u30b3\u30f3\u304c\u3046\u308b\u3055\u3044\u306e\u306f\u96fb\u6e90\u30e6\u30cb\u30c3\u30c8\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3060\u304b\u3089\u3042\u3093\u307e\u308a\u5909\u308f\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b8b\u5ff5\u3002<\/p>\n\n\n\n<p>\u304a\u308f\u308a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u3060\u3044\u305f\u3044 5 \u5206\u307b\u3069\u3067\u8aad\u3081\u307e\u3059\u3002 \u53e4\u3044\u30d1\u30bd\u30b3\u30f3\u3067CentOS\u3092\u52d5\u304b\u3057\u59cb\u3081\u30662\u304b\u6708\u307b\u3069\u7d4c\u904e\u3057\u307e\u3057\u305f\u306e\u3067HDD\u3092\u4ea4\u63db\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3002 \u76ee\u7684\u306f\u9759\u97f3\u5316\u3002\u306a\u3093\u304b\u305f\u307e\u306b\u3046\u306a\u3063\u3066\u308b\u3093\u3067\u3059\u3088\u306d\u3002 \u3042\u3068 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":1154,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[12,5,7,80],"class_list":["post-1153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","tag-centos7","tag-gx520","tag-optiplex","tag-memorandum"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1153"}],"version-history":[{"count":23,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1153\/revisions"}],"predecessor-version":[{"id":2591,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1153\/revisions\/2591"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/1154"}],"wp:attachment":[{"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/beanhouse.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}