{"id":374,"date":"2017-11-04T20:54:02","date_gmt":"2017-11-04T11:54:02","guid":{"rendered":"http:\/\/shinke1987.net\/?p=374"},"modified":"2017-11-04T20:57:24","modified_gmt":"2017-11-04T11:57:24","slug":"post-374","status":"publish","type":"post","link":"https:\/\/shinke1987.net\/?p=374","title":{"rendered":"CentOS(1708)LiveGNOME\u3067\u7279\u5b9a\u306eHDD\u3092\u30a4\u30e1\u30fc\u30b8\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3002"},"content":{"rendered":"<p>dd\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u308c\u3070\u4ed6\u306e\u30c7\u30a3\u30b9\u30c8\u30ed\u3067\u3082\u826f\u3044\u3068\u601d\u3046\u3002<\/p>\n<h2>\u3053\u3053\u306f\u5fc5\u8981\u7121\u3051\u308c\u3070\u3084\u3089\u306a\u3044\u3067\u826f\u3044<\/h2>\n<p>\u3010\u5185\u5bb9\u3092\u78ba\u8a8d\u3059\u308b\u3011<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># mount -t auto \/dev\/sda1 \/mnt\/sda1<\/pre>\n<p>\u3068\u3084\u308b\u3068\u3001ntfs\u304c\u308f\u304b\u3089\u306a\u3044\u3068\u6012\u3089\u308c\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>NTFS\u3092\u30de\u30a6\u30f3\u30c8\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3001<br \/>\nEPEL\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089ntfs-3g\u3068fuse\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u826f\u3044\u3089\u3057\u3044\u3002<\/p>\n<p>EPEL\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># yum --enablerepo=extras install epel-release<\/pre>\n<p>&nbsp;<\/p>\n<p>ntfs-3g\u3068fuse\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># yum install ntfs-3g fuse<\/pre>\n<p>fuse\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u305f\u307f\u305f\u3044\u3067\u3001ntfs-3g\u3060\u3051\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u30de\u30a6\u30f3\u30c8\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># mkdir \/mnt\/sda1\r\n# mount -t ntfs-3g \/dev\/sda1 \/mnt\/sda1\r\n# mount -t ntfs-3g \/dev\/sda2 \/mnt\/sda2\r\n# mount -t ntfs-3g \/dev\/sdb1 \/mnt\/sdb1\r\n# mount -t ntfs-3g \/dev\/sdb2 \/mnt\/sdb2\r\n# mount -t ntfs-3g \/dev\/sdb3 \/mnt\/sdb3\r\n# mount -t ntfs-3g \/dev\/sdb4 \/mnt\/sdb4<\/pre>\n<p>&nbsp;<\/p>\n<p>\u30de\u30a6\u30f3\u30c8\u5f8c\u3001HDD\u306e\u5bb9\u91cf\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">#df -m<\/pre>\n<p>\u3068\u3059\u308b\u3068\u3001MB\u5358\u4f4d\u3067\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u30e1\u30e2\u30ea\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># free -m<\/pre>\n<p>\u3068\u3059\u308b\u3068\u3001MB\u5358\u4f4d\u3067\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>Windows\u3067MD5\u3092\u78ba\u8a8d\u3057\u305f\u3044\u306a\u3089\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3067\u304d\u308b\u3002<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">CertUtil -hashfile \u30d5\u30a1\u30a4\u30eb\u540d MD5<\/pre>\n<h2>\u4f5c\u696d<\/h2>\n<p>\u7d04500GB\u306eHDD\u304c\u3042\u3063\u3066\u3001\u305d\u308c\u3092\u30a4\u30e1\u30fc\u30b8\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305f\u3044\u3002<br \/>\nHDD\u306e\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3067\u304d\u3042\u304c\u308b\u4e88\u5b9a\u3060\u3051\u3069\u3001<br \/>\n100GB\u3054\u3068\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u533a\u5207\u308a\u305f\u3044\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># dd if=\/dev\/sda of=\/mnt\/sdb2\/temp\/sda_part1.img bs=1G conv=noerror,sync count=100<\/pre>\n<p>bs\u3067\u30d0\u30a4\u30c8\u6570\u3092\u6307\u5b9a\uff08\u4eca\u56de\u306f1GB\u305a\u3064\u8aad\u307f\u8fbc\u3080\uff09<br \/>\nnoerror\u3067\u8aad\u307f\u8fbc\u307f\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3082\u7d99\u7d9a\u3059\u308b\u3002<br \/>\nsync\u3067\u30a8\u30e9\u30fc\u7b87\u6240\u3092NULL\uff08\u30bc\u30ed\uff09\u3067\u57cb\u3081\u308b\u3002<br \/>\ncount=100\u3067100\u56de\u7e70\u308a\u8fd4\u3059\u3002<\/p>\n<p>\u3067\u304d\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba\u306f\u3001107,374,182,400\u30d0\u30a4\u30c8\u3060\u3063\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4f5c\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u5727\u7e2e\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># gzip sda_part1.img<\/pre>\n<p>\u5727\u7e2e\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba\u306f\u300136,088,926,659\u30d0\u30a4\u30c8\u3060\u3063\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>2\u756a\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># dd if=\/dev\/sda of=\/mnt\/sdb2\/temp\/sda_part2.img bs=1G conv=noerror,sync count = 100 skip=100<\/pre>\n<p>skip=100\u3067\u3001\u524d\u56de\u8aad\u307f\u8fbc\u3093\u3060\u5206\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u3066\u3044\u308b\u3002<br \/>\n\uff08\u4eca\u307e\u3067\u8aad\u307f\u8fbc\u3093\u3060count\u306e\u5408\u8a08\uff09<br \/>\n\u305d\u308c\u304b\u3089\u307e\u305fgzip\u3067\u5727\u7e2e\u3059\u308b\u3002<br \/>\n\u3053\u308c\u3092\u6700\u5f8c\u307e\u3067\u7e70\u308a\u8fd4\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u6b21\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u3002<br \/>\n\u30fbsda_part1.img.gz<br \/>\n\u30fbsda_part2.img.gz<br \/>\n\u30fbsda_part3.img.gz<br \/>\n\u30fbsda_part4.img.gz<br \/>\n\u30fbsda_part5.img.gz<\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u8fbc\u3080\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># gunzip sda_part1.img.gz\r\n# dd if=\/mnt\/sdb2\/20171027_temp\/sda_part1.img of=\/dev\/sda bs=1G conv=noerror,sync count=100\r\n# rm -rf sda_part1.img\r\n# gunzip sda_part2.img.gz\r\n# dd if=\/mnt\/sdb2\/20171027_temp\/sda_part2.img of=\/dev\/sda bs=1G conv=noerror,sync count=100 seek=100\r\n# rm -rf sda_part2.img<\/pre>\n<p>seek=100\u3067\u524d\u56de\u66f8\u304d\u8fbc\u3093\u3060\u5206\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u3053\u308c\u3092sda_part5.img\u307e\u3067\u7e70\u308a\u8fd4\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5168\u3066\u66f8\u304d\u8fbc\u3093\u3060\u3089\u3001\u30ea\u30ab\u30d0\u30ea\u307e\u3067\u5b8c\u4e86\u306b\u306a\u308b\u3002<br \/>\nimg.gz\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u305f\u6642\u70b9\u3067\u3001HDD\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u3066<br \/>\n\u30ea\u30ab\u30d0\u30ea\u3057\u3066\u307f\u305f\u3089\u78ba\u8a8d\u3067\u304d\u308b\u306f\u305a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>dd\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u308c\u3070\u4ed6\u306e\u30c7\u30a3\u30b9\u30c8\u30ed\u3067\u3082\u826f\u3044\u3068\u601d\u3046\u3002 \u3053\u3053\u306f\u5fc5\u8981\u7121\u3051\u308c\u3070\u3084\u3089\u306a\u3044\u3067\u826f\u3044 \u3010\u5185\u5bb9\u3092\u78ba\u8a8d\u3059\u308b\u3011 # mount -t auto \/dev\/sda1 \/mnt\/sda1 \u3068\u3084\u308b\u3068\u3001ntfs\u304c\u308f\u304b\u3089\u306a\u3044\u3068\u6012\u3089\u308c\u308b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[34,54],"class_list":["post-374","post","type-post","status-publish","format-standard","hentry","category-centos","tag-centos","tag-54"],"_links":{"self":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts\/374","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=374"}],"version-history":[{"count":3,"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts\/374\/revisions"}],"predecessor-version":[{"id":378,"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts\/374\/revisions\/378"}],"wp:attachment":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}