{"id":21,"date":"2015-04-25T13:58:32","date_gmt":"2015-04-25T12:58:32","guid":{"rendered":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=21"},"modified":"2017-06-10T17:51:15","modified_gmt":"2017-06-10T16:51:15","slug":"raid-devices","status":"publish","type":"post","link":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=21","title":{"rendered":"RAID"},"content":{"rendered":"<p><b>RAID-Devices<\/b><\/p>\n<ul>\n<li>\/dev\/md0\n<pre>am@hadante ~ $ sudo mdadm -Q --detail \/dev\/md0 \r\n\/dev\/md0: \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Version : 1.2 \r\n \u00a0Creation Time : Wed May 27 13:52:56 2015 \r\n \u00a0\u00a0\u00a0\u00a0Raid Level : raid5 \r\n \u00a0\u00a0\u00a0\u00a0Array Size : 1463976960 (1396.16 GiB 1499.11 GB) \r\n \u00a0Used Dev Size : 487992320 (465.39 GiB 499.70 GB) \r\n \u00a0\u00a0Raid Devices : 4 \r\n \u00a0Total Devices : 4 \r\n \u00a0\u00a0\u00a0Persistence : Superblock is persistent \r\n \r\n \u00a0Intent Bitmap : Internal \r\n \r\n \u00a0\u00a0\u00a0Update Time : Sat Jun 10 15:26:28 2017 \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0State : clean \u00a0\r\n Active Devices : 4 \r\nWorking Devices : 4 \r\n Failed Devices : 0 \r\n \u00a0Spare Devices : 0 \r\n \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Layout : left-symmetric \r\n \u00a0\u00a0\u00a0\u00a0Chunk Size : 512K \r\n \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Name : archiso:0 \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0UUID : 6d795529:03e05967:c4d50bcf:5dd604b7 \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Events : 3136 \r\n \r\n \u00a0\u00a0\u00a0Number \u00a0\u00a0Major \u00a0\u00a0Minor \u00a0\u00a0RaidDevice State \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a08 \u00a0\u00a0\u00a0\u00a0\u00a0130 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0active sync \u00a0\u00a0\/dev\/sdi2 \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a01 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a08 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a018 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01 \u00a0\u00a0\u00a0\u00a0\u00a0active sync \u00a0\u00a0\/dev\/sdb2 \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a02 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a08 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a02 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a02 \u00a0\u00a0\u00a0\u00a0\u00a0active sync \u00a0\u00a0\/dev\/sda2 \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a04 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a08 \u00a0\u00a0\u00a0\u00a0\u00a0146 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a03 \u00a0\u00a0\u00a0\u00a0\u00a0active sync \u00a0\u00a0\/dev\/sdj2<\/pre>\n<\/li>\n<li>\/dev\/md1<\/li>\n<\/ul>\n<pre>am@hadante ~ $ sudo mdadm -Q --detail \/dev\/md1 \r\n\/dev\/md1: \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Version : 1.2 \r\n \u00a0Creation Time : Thu May \u00a02 18:08:00 2013 \r\n \u00a0\u00a0\u00a0\u00a0Raid Level : raid5 \r\n \u00a0\u00a0\u00a0\u00a0Array Size : 8790405120 (8383.18 GiB 9001.37 GB) \r\n \u00a0Used Dev Size : 2930135040 (2794.39 GiB 3000.46 GB) \r\n \u00a0\u00a0Raid Devices : 4 \r\n \u00a0Total Devices : 4 \r\n \u00a0\u00a0\u00a0Persistence : Superblock is persistent \r\n \r\n \u00a0\u00a0\u00a0Update Time : Sat Jun 10 15:26:58 2017 \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0State : clean \u00a0\r\n Active Devices : 4 \r\nWorking Devices : 4 \r\n Failed Devices : 0 \r\n \u00a0Spare Devices : 0 \r\n \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Layout : left-symmetric \r\n \u00a0\u00a0\u00a0\u00a0Chunk Size : 512K \r\n \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Name : hadante:1 \u00a0(local to host hadante) \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0UUID : 0227c805:00c429e6:231a9f6f:168e5a4a \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Events : 587869 \r\n \r\n \u00a0\u00a0\u00a0Number \u00a0\u00a0Major \u00a0\u00a0Minor \u00a0\u00a0RaidDevice State \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a07 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a08 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a064 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 \u00a0\u00a0\u00a0\u00a0\u00a0active sync \u00a0\u00a0\/dev\/sde \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a05 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a08 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a080 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01 \u00a0\u00a0\u00a0\u00a0\u00a0active sync \u00a0\u00a0\/dev\/sdf \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a06 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a08 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a096 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a02 \u00a0\u00a0\u00a0\u00a0\u00a0active sync \u00a0\u00a0\/dev\/sdg \r\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a04 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a08 \u00a0\u00a0\u00a0\u00a0\u00a0112 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a03 \u00a0\u00a0\u00a0\u00a0\u00a0active sync \u00a0\u00a0\/dev\/sdh<\/pre>\n<h3>Order in external casing<\/h3>\n<p>From top to bottom:<\/p>\n<ol>\n<li>ST3000DM001-1ER166, Serial\u00a0W501VAJY<\/li>\n<li>ST3000DM001-1CH166, Serial\u00a0Z1F58T6T<\/li>\n<li>HGST HDN724040ALE640, Serial\u00a0P4HU954B<\/li>\n<li>ST3000DM001-1CH166, Serial\u00a0Z1F1JTDT<\/li>\n<\/ol>\n<h3>Slot History<\/h3>\n<ol>\n<li>Original -&gt; replaced by a recertified drive (Z1F2X130 &#8211; 2015\/04\/25) -&gt; replaced by \u00a0a defective HGST 4TB that didn&#8217;t even start up on 2017\/06\/09 -&gt; replaced by another SEAGATE 3TB drive in stock the same day (W501VAJY &#8211; delivered 2016\/10\/18)<\/li>\n<li>Original? (no history available)<\/li>\n<li>Original -&gt; replaced by recertified drive (W1F2L184) -&gt; replaced by\u00a0Z1F142XH on 2016\/08\/26 (in stock, delivered 2016\/06\/26), which turned out to be defective and out of warranty (returned to sender, the replacement is in slot 1 now) -&gt; replaced by\u00a0HGST 4 TB (Serial: P4HU954B) on 2016\/09\/03. Read the whole story\u00a0<a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=196\">here<\/a>&#8230;<\/li>\n<li>Original? (no history available)<\/li>\n<\/ol>\n<h3>Remarks<\/h3>\n<ul>\n<li><strong>[2017\/06\/10]<\/strong> I&#8217;m not really sure about the history of slot 3. A previous version said that it was slot 4, but the Amazon history says otherwise.<\/li>\n<li><strong>[2017\/06\/10]<\/strong> Despite still having a SEAGATE 3TB drive in stock I ordered a new HGST 4TB on Whitsunday 2016\/06\/04, delivered as promised on 2016\/06\/07. Unfortunately I couldn&#8217;t get my hands on it until Friday 2016\/06\/09, because the neighbor accepting the parcel wasn&#8217;t around when I was. Not at 3pm, 6pm nor 9pm (Wednesday and Thursday), so I took an early lunch break on Friday at about 11:15am and rode home to pick it up, yay! Much to my dismay the drive was defective. Instead of spinning up it made clicking, scratching sounds and didn&#8217;t show up in \/dev, so I eventually replaced it with the 3TB SEAGATE drive, because I didn&#8217;t trust the still working, but failing drive any more. After a hard crash on Wednesday hadante kicked the (healthy) HGST drive out of the array, so I had to rebuild with the failing drive. About 24 hours later the rebuild finished, lucky me! I&#8217;m gonna return the HGST drive to the sender next week instead of voiding my warranty.<\/li>\n<\/ul>\n<pre># journalctl -k | grep md1 \r\nJun 09 15:25:31 hadante kernel: md: md1 stopped. \r\nJun 09 15:25:31 hadante kernel: md\/raid:md1: device sdf operational as raid disk 1 \r\nJun 09 15:25:31 hadante kernel: md\/raid:md1: device sdh operational as raid disk 3 \r\nJun 09 15:25:31 hadante kernel: md\/raid:md1: device sdg operational as raid disk 2 \r\nJun 09 15:25:31 hadante kernel: md\/raid:md1: raid level 5 active with 3 out of 4 devices, algorithm 2 \r\nJun 09 15:25:31 hadante kernel: md1: detected capacity change from 0 to 9001374842880 \r\nJun 09 15:27:46 hadante kernel: md: recovery of RAID array md1 \r\nJun 10 13:44:01 hadante kernel: md: md1: recovery done.<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RAID-Devices \/dev\/md0 am@hadante ~ $ sudo mdadm -Q &#8211;detail \/dev\/md0 \/dev\/md0: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Version : 1.2 \u00a0Creation Time : Wed May 27 13:52:56 2015 \u00a0\u00a0\u00a0\u00a0Raid Level : raid5 \u00a0\u00a0\u00a0\u00a0Array Size : 1463976960 (1396.16 GiB 1499.11 GB) \u00a0Used Dev Size : 487992320 (465.39 GiB 499.70 GB) \u00a0\u00a0Raid Devices : 4 \u00a0Total Devices : 4 \u00a0\u00a0\u00a0Persistence : Superblock is &hellip; <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=21\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">RAID<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79,77],"tags":[12,11],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-hardware","category-linux","tag-hadante","tag-raid"],"_links":{"self":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21"}],"version-history":[{"count":11,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":323,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions\/323"}],"wp:attachment":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}