{"id":10991,"date":"2014-03-02T21:29:06","date_gmt":"2014-03-02T12:29:06","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=10991"},"modified":"2014-03-03T21:41:36","modified_gmt":"2014-03-03T12:41:36","slug":"backup-and-restore-for-landisk-home-hdl4-g","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2014\/03\/backup-and-restore-for-landisk-home-hdl4-g.html","title":{"rendered":"LANDISK Home HDL4-G\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u30ea\u30b9\u30c8\u30a2"},"content":{"rendered":"<p>\u304b\u306a\u308a\u4ee5\u524d\u306b\u3001LANDISK Home HDL4-G\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3057\u305f\u3064\u3082\u308a\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u4e0d\u5b8c\u5168\u3067\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2010\/05\/landisk-hdl4-gt-2.html\" rel=\"_RAclick\">LANDISK HDL4-G\u306btelnet[\u8ffd\u8a18\u3042\u308a]: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2010\u5e745\u670829\u65e5)<\/em><\/li>\n<\/ul>\n<p>\u3053\u306e\u6642\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u9818\u57df\u3057\u304b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u305b\u305a\u3001md(\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2RAID)\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u53cd\u7701\u3092\u3075\u307e\u3048\u3001\u6b21\u306e\u65b9\u6cd5\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u306a\u304a\u3057\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2013\/04\/make-a-back-of-hdl4-g2-0.html\" rel=\"_RAclick\">HDL4-G2.0\u306e\u7a2eHDD\u30c7\u30fc\u30bf\u3092\u4f5c\u308b: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2013\u5e744\u670814\u65e5)<\/em><\/li>\n<\/ul>\n<p>\u3067\u3082\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305f\u3060\u3051\u3067\u3001\u691c\u8a3c\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u305d\u3046\u3057\u3066\u3044\u308b\u5185\u306b\u3001\u3082\u3063\u3068\u78ba\u5b9f\u304b\u3064\u30b7\u30f3\u30d7\u30eb\u306a\u65b9\u6cd5\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/www.geocities.jp\/keep_creating\/PC\/HDL2-A.html\" target=\"_blank\">HDL2-A4.0\u3067\u904a\u3076<\/a><\/li>\n<\/ul>\n<p>\u3053\u306e\u65b9\u306f\u3001HDL2-A4.0\u3092\u4f7f\u3063\u3066\u304a\u3089\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u30c7\u30a3\u30b9\u30af\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u69cb\u9020\u306f\u3001HDL2-A4.0\u3068\u3001HDL4-G2.0\u3067\u3001\u540c\u3058\u69d8\u3067\u3059\u3002\u60c5\u5831\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u65b9\u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u306b\u3088\u308b\u3068\u3001parted\u30b3\u30de\u30f3\u30c9\u3067\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb\u3092\u78ba\u8a8d\u3057\u3001\u7406\u8ad6\u7684\u306b\u5fc5\u8981\u306a\u90e8\u5206\u3060\u3051\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u3068\u8a00\u3046\u65b9\u6cd5\u3092\u3068\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u975e\u5e38\u306b\u30b9\u30de\u30fc\u30c8\u306a\u3084\u308a\u65b9\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u4ee5\u4e0b\u306e\u4f5c\u696d\u306b\u306f\u3001\u5916\u4ed8\u3051HDD\u30b1\u30fc\u30b9(USB-SATA\u63a5\u7d9a)\u3068\u3001Parallels\u4e0a\u306eLinux(Ubuntu 12.04)\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u5916\u4ed8\u3051HDD\u306f\u3001\/dev\/sdb\u306b\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/h3>\n<p>\u4e0a\u8a18\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u624b\u9806\u3092HDL4-G2.0\u306b\u9069\u7528\u3059\u308b\u3068\u3001\u6b21\u306e\u69d8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb\u78ba\u8a8d<\/li>\n<li>\u30b7\u30b9\u30c6\u30e0\u9818\u57df\u306e\u30c0\u30f3\u30d7<\/li>\n<li>md\u9818\u57df\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u306e\u30c0\u30f3\u30d7<\/li>\n<\/ol>\n<p>\u9806\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h4>1. \u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb\u78ba\u8a8d<\/h4>\n<p>Linux\u306eparted\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>% sudo parted -s \/dev\/sdb print\r\n\u30e2\u30c7\u30eb: Ext Hard  Disk (scsi)                                                                                                              \r\n\u30c7\u30a3\u30b9\u30af \/dev\/sdb: 500GB                                                                                                                   \r\n\u30bb\u30af\u30bf\u30b5\u30a4\u30ba (\u8ad6\u7406\/\u7269\u7406): 512B\/512B                                                                                                        \r\n\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb: msdos                                                                                                              \r\n\r\n\u756a\u53f7  \u958b\u59cb    \u7d42\u4e86    \u30b5\u30a4\u30ba  \u30bf\u30a4\u30d7    \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0  \u30d5\u30e9\u30b0\r\n 1    8225kB  222MB   214MB   primary   ext2                    \r\n 2    222MB   642MB   419MB   primary   ext3                    \r\n 3    642MB   1727MB  1086MB  primary   linux-swap(v1)          \r\n 4    1727MB  500GB   498GB   extended                          \r\n 5    1727MB  2270MB  543MB   logical   ext3                    \r\n 6    2270MB  500GB   498GB   logical<\/pre>\n<p>1\u672c500GiB\u306e\u30c7\u30a3\u30b9\u30af\u306a\u306e\u3067\u3001\u3053\u306e\u69d8\u306a\u8868\u793a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8868\u793a\u3060\u3068\u3001\u5b9f\u969b\u306e\u30bb\u30af\u30bf\u6570\u304c\u308f\u304b\u308a\u307e\u305b\u3093\u3002\u30bb\u30af\u30bf\u6570\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u65b9\u6cd5\u3067\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>% sudo parted -s \/dev\/sdb u s print\r\n\u30e2\u30c7\u30eb: Ext Hard  Disk (scsi)\r\n\u30c7\u30a3\u30b9\u30af \/dev\/sdb: 976773168s\r\n\u30bb\u30af\u30bf\u30b5\u30a4\u30ba (\u8ad6\u7406\/\u7269\u7406): 512B\/512B\r\n\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb: msdos\r\n\r\n\u756a\u53f7  \u958b\u59cb      \u7d42\u4e86        \u30b5\u30a4\u30ba      \u30bf\u30a4\u30d7    \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0  \u30d5\u30e9\u30b0\r\n 1    16065s    433754s     417690s     primary   ext2\r\n 2    433755s   1253069s    819315s     primary   ext3\r\n 3    1253070s  3373649s    2120580s    primary   linux-swap(v1)\r\n 4    3373650s  976559219s  973185570s  extended\r\n 5    3373651s  4433939s    1060289s    logical   ext3\r\n 6    4433941s  976559219s  972125279s  logical<\/pre>\n<p>\u3053\u3053\u3067\u6ce8\u610f\u3059\u308b\u306e\u306f\u30015\u756a\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u300c\u7d42\u4e86\u300d\u306e\u5024\u300c4433939\u300d\u3067\u3059\u3002<\/p>\n<h4>2. \u30b7\u30b9\u30c6\u30e0\u9818\u57df\u306e\u30c0\u30f3\u30d7<\/h4>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001\u30c0\u30f3\u30d7(dd)\u3057\u307e\u3059\u3002<\/p>\n<pre>% sudo dd if=\/dev\/sdb bs=512 count=4433941 | bzip2 -c &gt; HDL4-G20-system.img.bz2<\/pre>\n<p>\u3053\u306e\u3001count\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u6570\u5b57\u300c4433941\u300d\u306f\u3001\u5148\u307b\u3069\u306e5\u756a\u76ee\u306e\u7d42\u4e86\u30bb\u30af\u30bf\u306e\u5024\u300c4433939\u300d\u306b\u30012\u3092\u8db3\u3057\u305f\u5024\u3067\u3059\u3002\u6b21\u306e\u30da\u30fc\u30b8\u3067\u306f\u30011\u3092\u52a0\u3048\u3066\u3044\u307e\u3059\u304c\u3001\u79c1\u306e\u5834\u5408\u3060\u30682\u3092\u52a0\u3048\u306a\u3044\u3068\u3001\u3046\u307e\u304f\u884c\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/www.geocities.jp\/keep_creating\/PC\/HDL2-A.html\" target=\"_blank\">HDL2-A4.0\u3067\u904a\u3076<\/a><\/li>\n<\/ul>\n<p>\u6b21\u306e\u56f3\u3092\u53c2\u8003\u306b\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/oichinote.com\/plus\/files\/2014\/03\/20140303landisk-parted.png\" alt=\"LANDISK Home HDL4-G parted\" width=\"480\" height=\"212\" class=\"alignnone size-full wp-image-11021\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2014\/03\/20140303landisk-parted.png 480w, https:\/\/oichinote.com\/plus\/files\/2014\/03\/20140303landisk-parted-150x66.png 150w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<ul>\n<li><a href=\"http:\/\/www.geocities.jp\/keep_creating\/PC\/HDL2-A.html\" target=\"_blank\">HDL2-A4.0\u3067\u904a\u3076<\/a><\/li>\n<\/ul>\n<h4>3. md\u9818\u57df\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u306e\u30c0\u30f3\u30d7<\/h4>\n<p>linux\u306emdadm\u3067\u4f5c\u3063\u305fversion 0.90\u306emd\u306esuperblock(4kB)\u306f\u3001\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u7d42\u308f\u308a\u306e128kB\u306e\u3069\u3053\u304b(64kB\u3067\u30a2\u30e9\u30a4\u30f3\u3055\u308c\u305f\u6240)\u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/raid.wiki.kernel.org\/index.php\/RAID_superblock_formats\" target=\"_blank\">RAID superblock formats &#8211; Linux Raid Wiki<\/a><\/li>\n<\/ul>\n<p>\u306a\u306e\u3067\u3001\u6b21\u306e\u65b9\u6cd5\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>dd if=\/dev\/sdb bs=512 skip=$((976559220-128*(1024\/512))) | bzip2 -c &gt; HDL4-G20-md-metadata.img.bz2<\/pre>\n<p>\u3053\u306e\u3001skip\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u6570\u5b57\u300c976559220\u300d\u306f\u30016\u756a\u76ee\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u7d42\u4e86\u30bb\u30af\u30bf\u306b1\u3092\u52a0\u3048\u305f\u5024\u3068\u306a\u308a\u307e\u3059\u3002\u305d\u306e\u5f8c\u308d\u306e\u6570\u5b57\u3001128*1024\u306f\u3001128kB\u3092\u8868\u3057\u307e\u3059\u3002\u305d\u308c\u3092512\u3067\u5272\u3063\u3066\u3044\u308b\u306e\u306f\u30011\u30bb\u30af\u30bf(bs)\u304c512B\u3060\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u30c7\u30a3\u30b9\u30af(\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3)\u306e\u6700\u5f8c\u304b\u3089128kB\u5206\u3092\u5f15\u3044\u305f\u5206\u3060\u3051\u30b9\u30ad\u30c3\u30d7\u3057\u3066\u3001128kB\u3092\u30c0\u30f3\u30d7\u3057\u3066\u3044\u308b\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30ea\u30b9\u30c8\u30a2<\/h3>\n<p>\u30ea\u30b9\u30c8\u30a2\u306f\u3001\u6b21\u306e\u624b\u9806\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30b7\u30b9\u30c6\u30e0\u9818\u57df\u306e\u30ea\u30b9\u30c8\u30a2<\/li>\n<li>\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb\u5909\u66f4\u306eOS\u3078\u306e\u901a\u77e5<\/li>\n<li>md\u9818\u57df\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u306e\u30ea\u30b9\u30c8\u30a2<\/li>\n<\/ol>\n<p>\u9806\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h4>1. \u30b7\u30b9\u30c6\u30e0\u9818\u57df\u306e\u30ea\u30b9\u30c8\u30a2<\/h4>\n<p>\u3053\u308c\u306f\u975e\u5e38\u306b\u5358\u7d14\u3067\u3001\u30c0\u30f3\u30d7\u3057\u305f\u30c7\u30fc\u30bf\u3092\u305d\u306e\u307e\u307e\u30c7\u30a3\u30b9\u30af\u306b\u66f8\u304d\u623b\u3059\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre>% sudo bzip2 -dc HDL4-G20-system.img.bz2 &gt; \/dev\/sdb<\/pre>\n<h4>2. \u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb\u5909\u66f4\u306eOS\u3078\u306e\u901a\u77e5<\/h4>\n<p>\u3053\u306e\u307e\u307e\u3067\u306f\u3001\u30b7\u30b9\u30c6\u30e0(Linux)\u3067\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u8a8d\u8b58\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb\u3092\u8a8d\u8b58\u3055\u305b\u307e\u3059\u3002<\/p>\n<pre>% sudo partprobe \/dev\/sdb<\/pre>\n<p>\u3046\u307e\u304f\u884c\u3051\u3070\u3001parted\u30b3\u30de\u30f3\u30c9\u3067\u8868\u793a\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre>% sudo parted -s \/dev\/sdb print\r\n\u30e2\u30c7\u30eb: Ext Hard  Disk (scsi)                                                                                                              \r\n\u30c7\u30a3\u30b9\u30af \/dev\/sdb: 500GB                                                                                                                   \r\n\u30bb\u30af\u30bf\u30b5\u30a4\u30ba (\u8ad6\u7406\/\u7269\u7406): 512B\/512B                                                                                                        \r\n\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb: msdos                                                                                                              \r\n\r\n\u756a\u53f7  \u958b\u59cb    \u7d42\u4e86    \u30b5\u30a4\u30ba  \u30bf\u30a4\u30d7    \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0  \u30d5\u30e9\u30b0\r\n 1    8225kB  222MB   214MB   primary   ext2                    \r\n 2    222MB   642MB   419MB   primary   ext3                    \r\n 3    642MB   1727MB  1086MB  primary   linux-swap(v1)          \r\n 4    1727MB  500GB   498GB   extended                          \r\n 5    1727MB  2270MB  543MB   logical   ext3                    \r\n 6    2270MB  500GB   498GB   logical<\/pre>\n<ul>\n<li><a href=\"http:\/\/manpages.ubuntu.com\/manpages\/precise\/en\/man8\/partprobe.8.html\" target=\"_blank\">Ubuntu Manpage: partprobe &#8211; inform the OS of partition table changes<\/a><\/li>\n<li><a href=\"https:\/\/access.redhat.com\/site\/ja\/node\/286243\" target=\"_blank\">partprobe<\/a><\/li>\n<\/ul>\n<h4>3. md\u9818\u57df\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u306e\u30ea\u30b9\u30c8\u30a2<\/h4>\n<p>\u6700\u5f8c\u306f\u3001\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u30ea\u30b9\u30c8\u30a2\u3057\u307e\u3059\u3002<\/p>\n<pre>% bzip2 -dc HDL4-G20-md-metadata.img.bz2 | sudo dd of=\/dev\/sdb bs=512 seek=$((976559220-128*(1024\/512)))<\/pre>\n<p>seek\u306e\u6570\u5b57\u306e\u610f\u5473\u306f\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306eskip\u306e\u5024\u3068\u540c\u3058\u8003\u3048\u65b9\u3067\u3059\u3002<\/p>\n<h3>\u78ba\u8a8d<\/h3>\n<p>\u30ea\u30b9\u30c8\u30a2\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u305d\u306e\u30c9\u30e9\u30a4\u30d6\u3060\u3051HDL4-G\u306b\u523a\u3057\u3066\u3001\u8d77\u52d5\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002RAID\u5d29\u58ca\u30e2\u30fc\u30c9\u3067\u7acb\u3061\u4e0a\u304c\u308c\u3070\u6210\u529f\u3067\u3059\u3002PC(Mac)\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u3001192.168.0.1\u306a\u3069\u3001192.168.0.0\/24\u306e\u30bb\u30b0\u30e1\u30f3\u30c8\u306b\u5165\u308c\u3066\u304b\u3089\u3001http:\/\/192.168.0.200\/\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070\u3001\u8d77\u52d5\u304c\u78ba\u8a8d\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u306f\u3001\u6700\u521d\u306e\u9803\u306f\u3001\u672c\u5f53\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u30ea\u30b9\u30c8\u30a2\u304c\u3067\u304d\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3001\u4e0d\u5b89\u3067\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u65b9\u6cd5\u3067\u78ba\u8a8d\u304c\u53d6\u308c\u305f\u306e\u3082\u3001\u6b21\u306e\u6539\u9020\u306e\u304a\u304b\u3052\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2014\/02\/add-usb-serial-converter-to-landisk-home-hdl4-g.html\" rel=\"_RAclick\">LANDISK Home HDL4-G\u306b\u30b7\u30ea\u30a2\u30eb\u30b3\u30f3\u30bd\u30fc\u30eb\u4ed8\u3051\u307e\u3057\u305f: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2014\u5e742\u670825\u65e5)<\/em><\/li>\n<\/ul>\n<h3>\u81ea\u52d5\u5316<\/h3>\n<p>\u3053\u306e\u4f5c\u696d\u306e\u78ba\u8a8d\u3092\u3059\u308b\u305f\u3081\u306b\u3001\u4f55\u5ea6\u3082\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u30ea\u30b9\u30c8\u30a2\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3044\u307e\u3059\u3002\u9762\u5012\u3060\u3063\u305f\u306e\u3067\u3001bash\u30b9\u30af\u30ea\u30d7\u30c8\u5316\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u79c1\u306e\u74b0\u5883\u3067\u306f\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\u3002\u3042\u304f\u307e\u3067\u3082\u3001\u53c2\u8003\u7528\u3068\u8a00\u3046\u4e8b\u3067\u63b2\u8f09\u3057\u307e\u3059\u3002\u3046\u307e\u304f\u52d5\u304b\u306a\u304f\u3066\u3082\u3001\u4fdd\u8a3c\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>DEVICE\u3068DRIVE\u306e\u5b9a\u7fa9\u306f\u3001\u9069\u5f53\u306b\u4fee\u6b63\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<h4>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/h4>\n<pre class=\"hljs\"><code class=\"bash\">#\/ussr\/bin\/bash\r\n\r\nDEVICE=\/dev\/sdb\r\nDRIVE=HDL4-G20\r\n\r\nparted -s $DEVICE print &gt; $DRIVE.parted.size.txt\r\nparted -s $DEVICE u s print &gt; $DRIVE.parted.sec.txt\r\n\r\nNO5END=`egrep &#039;^ *5&#039; $DRIVE.parted.sec.txt | cut -d &#039;s&#039; -f 2 | sed -e &#039;s\/ \/\/g&#039;`\r\nNO5ENDCOUNT=$(($NO5END+2))\r\nNO6END=`egrep &#039;^ *6&#039; $DRIVE.parted.sec.txt | cut -d &#039;s&#039; -f 2 | sed -e &#039;s\/ \/\/g&#039;`\r\nNO6ENDSKIP=$(($NO6END-128*(1024\/512)+1))\r\n\r\necho &quot;system&quot;\r\n#echo $NO5ENDCOUNT\r\ndd if=$DEVICE bs=512 count=$NO5ENDCOUNT | bzip2 -c &gt; $DRIVE-system.img.bz2\r\necho &quot;md-metadata&quot;\r\n#echo $NO6ENDSKIP\r\ndd if=$DEVICE bs=512 skip=$NO6ENDSKIP | bzip2 -c &gt; $DRIVE-md-metadata.img.bz2\r\n<\/code><\/pre>\n<h4>\u30ea\u30b9\u30c8\u30a2<\/h4>\n<pre class=\"hljs\"><code class=\"bash\">#\/ussr\/bin\/bash\r\n\r\nDEVICE=&quot;\/dev\/sdb&quot;\r\nDRIVE=&quot;HDL4-G20&quot;\r\n\r\nparted -s $DEVICE print\r\nparted -s $DEVICE u s print\r\n\r\necho &quot;system&quot;\r\nbzip2 -dc $DRIVE-system.img.bz2 &gt; $DEVICE\r\npartprobe $DEVICE\r\nparted -s $DEVICE u s print &gt; $DRIVE.parted.sec-restore.txt\r\n\r\nNO6END=`egrep &#039;^ *6&#039; $DRIVE.parted.sec-restore.txt | cut -d &#039;s&#039; -f 2 | sed -e &#039;s\/ \/\/g&#039;`\r\nNO6ENDSKIP=$(($NO6END-128*(1024\/512)+1))\r\n\r\necho &quot;md-metadata&quot;\r\nbzip2 -dc $DRIVE-md-metadata.img.bz2 | dd of=$DEVICE bs=512 seek=$NO6ENDSKIP\r\n\r\nparted -s $DEVICE print\r\nparted -s $DEVICE u s print\r\n<\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001\u3044\u3064\u3067\u3082\u30b7\u30b9\u30c6\u30e0\u3092\u521d\u671f\u72b6\u614b\u306b\u623b\u305b\u308b\u69d8\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u3084\u308a\u305f\u3044\u653e\u984c\u3067\u3059\u3002\u3082\u3046\u4f55\u3082\u6050\u304f\u306a\u3044\u3002\u3046\u301c\u3093\u3001\u3067\u3082\u3001\u4f55\u3067\u3053\u3093\u306a\u306bLANDISK HDL4-G\u306b\u56fa\u57f7\u3059\u308b\u3093\u3060\u308d\u3046? \u307e\u3042\u3001\u982d\u306e\u4f53\u64cd\u307f\u305f\u3044\u306a\u7269\u3067\u3059\u3002\u30e1\u30ea\u30c3\u30c8\u306f\u3042\u307e\u308a\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u304b\u306a\u308a\u4ee5\u524d\u306b\u3001LANDISK Home HDL4-G\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3057\u305f\u3064\u3082\u308a\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u4e0d\u5b8c\u5168\u3067\u3057\u305f\u3002 LANDISK HDL4-G\u306btelnet[\u8ffd\u8a18\u3042\u308a]: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593 (2010\u5e745\u670829\u65e5) \u3053\u306e\u6642 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11021,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eLANDISK Home HDL4-G\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u30ea\u30b9\u30c8\u30a2\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[59,5],"tags":[],"class_list":["post-10991","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nas","category-computer"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/2014\/03\/20140303landisk-parted.png","jetpack-related-posts":[{"id":2128,"url":"https:\/\/oichinote.com\/plus\/2011\/11\/landisk-home-hd.html","url_meta":{"origin":10991,"position":0},"title":"LANDISK Home HDL4-G\u3067\u3084\u308a\u305f\u3044\u4e8b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2011\u5e7411\u67081\u65e5","format":false,"excerpt":"IODATA\u304b\u3089\u3001\u65b0\u578b\u306eNAS\u304c\u767a\u58f2\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u8ee2\u9001\u901f\u5ea6\u304c\u3001\u975e\u5e38\u306b\u9ad8\u901f\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 \u767a\u2026","rel":"","context":"netatalk","block_context":{"text":"netatalk","link":"https:\/\/oichinote.com\/plus\/category\/netatalk"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1604,"url":"https:\/\/oichinote.com\/plus\/2010\/05\/landisk-hdl4-gt-2.html","url_meta":{"origin":10991,"position":1},"title":"LANDISK HDL4-G\u306btelnet[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2010\u5e745\u670829\u65e5","format":false,"excerpt":"\u3064\u3044\u306b\u3084\u308a\u307e\u3057\u305f\u3002\u305a\u3063\u3068\u3084\u308d\u3046\u3068\u601d\u3063\u3066\u3001\u8a08\u753b\u3057\u3066\u3044\u305f\u3053\u3068\u3002\u305d\u308c\u306f\u3001LANDISK HDL4-G\u306bte\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7799,"url":"https:\/\/oichinote.com\/plus\/2013\/04\/make-a-back-of-hdl4-g2-0.html","url_meta":{"origin":10991,"position":2},"title":"HDL4-G2.0\u306e\u7a2eHDD\u30c7\u30fc\u30bf\u3092\u4f5c\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e744\u670814\u65e5","format":false,"excerpt":"IO-DATA\u306eNAS\u3001HDL4-G\u3067\u3084\u308a\u6b8b\u3057\u3066\u3044\u308b\u4e8b\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002 \u305d\u306e\u5185\u306e\u4e00\u3064\u304c\u3001HDL4\u2026","rel":"","context":"Mac","block_context":{"text":"Mac","link":"https:\/\/oichinote.com\/plus\/category\/mac"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9164,"url":"https:\/\/oichinote.com\/plus\/2013\/08\/reslut-of-using-landisk-as-rsync-server.html","url_meta":{"origin":10991,"position":3},"title":"LANDISK Home HDL4-G\u3092rsync\u30b5\u30fc\u30d0\u306b\u3057\u3088\u3046\u3068\u3057\u305f\u7d50\u679c","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e748\u670821\u65e5","format":false,"excerpt":"\u79c1\u306f\u3001IO-DATA\u306eNAS\u3001HDL4-G\u3092\u6301\u3063\u3066\u3044\u3066\u3001\u8272\u3005\u30cf\u30c3\u30af\u3057\u3066\u6d3b\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3093\u306a\u4e2d\u306e\u4e00\u3064\u2026","rel":"","context":"Mac","block_context":{"text":"Mac","link":"https:\/\/oichinote.com\/plus\/category\/mac"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2089,"url":"https:\/\/oichinote.com\/plus\/2011\/09\/iodatanashdl2-a.html","url_meta":{"origin":10991,"position":4},"title":"IODATA\u306eNAS\u300cHDL2-A\u300d\u3063\u3066\u3069\u3046? [\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2011\u5e749\u670824\u65e5","format":false,"excerpt":"10\u6708\u4e0a\u65ec\u306b\u3001IODATA\u304b\u3089\u65b0\u578b\u306eNAS\u300cLAN DISK HDL2-A\u300d\u304c\u51fa\u308b\u3088\u3046\u3067\u3059\u3002 \u30a2\u30a4\u30fb\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2042,"url":"https:\/\/oichinote.com\/plus\/2011\/08\/landisk-home-hd.html","url_meta":{"origin":10991,"position":5},"title":"LANDISK Home HDL4-G\u306f\u3001LION\u3067\u306fTimeMachine\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5148\u306b\u3067\u304d\u306a\u3044","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2011\u5e748\u67088\u65e5","format":false,"excerpt":"Mac OS X 10.6 Snow Leopard\u3067\u306f\u3001LANDISK Home HDL4-G\u3092\u3001\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/09\/20110808timemachine_error.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/09\/20110808timemachine_error.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/09\/20110808timemachine_error.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/10991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=10991"}],"version-history":[{"count":12,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/10991\/revisions"}],"predecessor-version":[{"id":11025,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/10991\/revisions\/11025"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/11021"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=10991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=10991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=10991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}