{"id":978,"date":"2012-11-15T21:26:28","date_gmt":"2012-11-16T03:26:28","guid":{"rendered":"http:\/\/blografia.net\/vicm3\/?p=978"},"modified":"2012-11-16T22:46:39","modified_gmt":"2012-11-17T04:46:39","slug":"about-new-disks","status":"publish","type":"post","link":"https:\/\/blografia.net\/vicm3\/2012\/11\/about-new-disks\/","title":{"rendered":"About new disks"},"content":{"rendered":"<p>I have the bad habit to put to test my new disks for 2 months before moving the original disk to storage and only after another 2 months move\/sell\/retire the old ones. Recently I buy 2 Seagate Barracuda ST2000DM001 @7200RPM, one is going directly to warranty as never can finish even format, &#8216;cause <a href=\"https:\/\/blografia.net\/vicm3\/2012\/11\/seatools-boot-from-usb-stick\/\">of bad sector count and UDMA timeouts<\/a>.<\/p>\n<p>Well as the primary use for this two disk where to replace two older IDE Seagate Disks ST3320620A 320GB @7200RPM, after copying all the old data, I had a lot of free space to test, and after the fiasco with the first disk I wanted to stress this one.<\/p>\n<p>I searched for tools to test the I\/O and stress disk, found <a href=\"http:\/\/spew.berlios.de\/\">spew<\/a> and <a href=\"http:\/\/www.iozone.org\/\">iozone<\/a> both very useful, by the way if you want nice graphs and benchmarks go for iozone, but I needed to create arbitrary files of random data and test write and read accuracy, so I tried spew, first filling what free space was left on each partition of the drive&#8230; but as you maybe guessing that after the first test is the same pattern and wanted also to try with smaller files, ended making a small script<\/p>\n<pre>#!\/bin\/bash\r\nfor a in $(seq 20);\r\ndo\r\nfor i in $(seq 1 100);\r\ndo\r\nspew  --raw -d -o 1m -b 16m 1g \/home\/D\/spew\/bigfile$i\r\nspew  --raw -d -o 1m -b 16m 1g \/home\/E\/spew\/bigfile$i\r\necho $i\r\ndone\r\nrm \/home\/E\/spew\/bigfile*\r\nrm \/home\/D\/spew\/bigfile*\r\ndone\r\nexit 0<\/pre>\n<p>Also as I&#8217;m lazy i running it on screen to let it run for a while and let munin to the graphs and systat to collect I\/O usage, also I&#8217;m running with the next line:<\/p>\n<pre>time sh testdisk.sh 2&amp;&gt;1 &gt;&gt; test.log<\/pre>\n<p>So it creates 100GB of files one by one, 20 times&#8230; the first run not finished as we had a power outage, but I going to try this for a week or at least until next tuesday that is when I have time to send the other disk to warranty, and if this one fails<a href=\"http:\/\/research.google.com\/pubs\/pub32774.html\"> google&#8217;s paper<\/a> says is going to be sooner than later (at least I hope so).<\/p>\n<p>And by first hand experience a burn test (stress test) serves to show bad components earlier&#8230;<\/p>\n<p>Update 15\/11\/2012<br \/>\nWhy change the behavior of spew and not only create a BIG files?, well I wanted sustained stress, and with the cycle, of writing the big file, then checking then deleting I was not what I wanted, so the change of creating\u00bbsmaller\u00bb files, to create sustained activity.<\/p>\n<p><a href=\"https:\/\/blografia.net\/vicm3\/wp-content\/uploads\/2012\/11\/sdd-week.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-979\" title=\"sdd-week\" src=\"https:\/\/blografia.net\/vicm3\/wp-content\/uploads\/2012\/11\/sdd-week.png\" alt=\"\" width=\"497\" height=\"316\" srcset=\"https:\/\/blografia.net\/vicm3\/wp-content\/uploads\/2012\/11\/sdd-week.png 497w, https:\/\/blografia.net\/vicm3\/wp-content\/uploads\/2012\/11\/sdd-week-300x190.png 300w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/a>On the image you can see 13-14 the workload of creating, checking and delete big files. 15, the new pattern of smaller files until power outage. And since last night the new pattern, more like I was attempting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have the bad habit to put to test my new disks for 2 months before moving the original disk to storage and only after another 2 months move\/sell\/retire the old ones. Recently I buy 2 Seagate Barracuda ST2000DM001 @7200RPM, &hellip; <a href=\"https:\/\/blografia.net\/vicm3\/2012\/11\/about-new-disks\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":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":"About new disks http:\/\/blografia.net\/vicm3\/?p=978","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},"jetpack_post_was_ever_published":false},"categories":[5,3,10,8,7],"tags":[],"class_list":["post-978","post","type-post","status-publish","format-standard","hentry","category-debraye","category-general","category-planetalinux","category-sysadmin","category-web"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":987,"url":"https:\/\/blografia.net\/vicm3\/2012\/12\/on-new-hard-disk-continued\/","url_meta":{"origin":978,"position":0},"title":"On new hard disk continued","author":"vicm3","date":"2 diciembre, 2012","format":false,"excerpt":"Previously I wrote about getting and testing new disk one of the two ordered was sent to warranty the other was subject to stress test, well last Friday the faulty one was replaced with a new one from seller and begun stress test as this one replace one with less\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blografia.net\/vicm3\/wp-content\/uploads\/2012\/12\/df-day.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":973,"url":"https:\/\/blografia.net\/vicm3\/2012\/11\/seatools-boot-from-usb-stick\/","url_meta":{"origin":978,"position":1},"title":"How To Create Bootable USB Disk For Seagate SeaTools","author":"vicm3","date":"3 noviembre, 2012","format":false,"excerpt":"This entry originally was named \"Seatools boot from usb stick\", but as I searched on google, results with bad to worse methods to create bootable usb sticks are up in place, so I changed the name in hope that gets more visibility on the net. Recently I need to use\u2026","rel":"","context":"En \u00abGeneral\u00bb","block_context":{"text":"General","link":"https:\/\/blografia.net\/vicm3\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":726,"url":"https:\/\/blografia.net\/vicm3\/2010\/05\/nunca\/","url_meta":{"origin":978,"position":2},"title":"Nunca","author":"vicm3","date":"7 mayo, 2010","format":false,"excerpt":"Me hab\u00eda preguntado entre la diferencia de hacer formato r\u00e1pido o normal en NTFS... del man de mkntfs -f, --fast, -Q, --quick Perform quick (fast) format. This will skip both zeroing of the volume and bad sector checking. DE hecho seg\u00fan el KB de MS When you choose to run\u2026","rel":"","context":"En \u00abSin categor\u00eda\u00bb","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/blografia.net\/vicm3\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1104,"url":"https:\/\/blografia.net\/vicm3\/2013\/09\/svn-and-its-new-sqlite-format-again\/","url_meta":{"origin":978,"position":3},"title":"SVN and its new sqlite format again","author":"vicm3","date":"10 septiembre, 2013","format":false,"excerpt":"I been a user of svn for a quite long time now, and had to work around certain \"features\", like berkeley.db locking on multiuser home directories, the migration to FS logs, and problems working with multi platform environments, most of it its documented on this blog. Yeah, git is sexy,\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1824,"url":"https:\/\/blografia.net\/vicm3\/2017\/12\/visualizacion-de-trabajo-distribuido\/","url_meta":{"origin":978,"position":4},"title":"Visualizaci\u00f3n de trabajo distribuido","author":"vicm3","date":"5 diciembre, 2017","format":false,"excerpt":"Hace mucho tiempo vi una visualizaci\u00f3n de como se desarrolla Moodle [0], lo cual es muy interesante, de hecho me pareci\u00f3 tan interesante que le dedique un rato a eso y cree un par de visualizaciones de proyectos en los que estaba trabajando o a los que tenia acceso con\u2026","rel":"","context":"En \u00abGeneral\u00bb","block_context":{"text":"General","link":"https:\/\/blografia.net\/vicm3\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/kwA-yfVXnuk\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":77,"url":"https:\/\/blografia.net\/vicm3\/2005\/04\/variaciones_de_voltaje\/","url_meta":{"origin":978,"position":5},"title":"Variaciones de voltaje","author":"vicm3","date":"2 abril, 2005","format":false,"excerpt":"Leyendo a Gunnar y el como murio la alimentacion de su maquinita en casa, transcribo algo sobre mi experiencia con variaciones de voltaje en esta zona de la ciudad... que me recordaron algunas cosas interesantes... desafortunadamente el comentario original esta en ingles, ya que me tome un rato para practicarlo\u2026","rel":"","context":"En \u00abGeneral\u00bb","block_context":{"text":"General","link":"https:\/\/blografia.net\/vicm3\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/comments?post=978"}],"version-history":[{"count":0,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/978\/revisions"}],"wp:attachment":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/media?parent=978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/categories?post=978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/tags?post=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}