{"id":722,"date":"2015-10-18T16:15:00","date_gmt":"2015-10-18T08:15:00","guid":{"rendered":"http:\/\/note.systw.net\/note\/?p=722"},"modified":"2023-11-04T16:28:56","modified_gmt":"2023-11-04T08:28:56","slug":"hard-disk","status":"publish","type":"post","link":"https:\/\/systw.net\/note\/archives\/722","title":{"rendered":"Hard Disk"},"content":{"rendered":"\n<p><strong>storage media<\/strong><br>optical storage media<br>magnetic storage media<\/p>\n\n\n\n<p>&#8230;<\/p>\n\n\n\n<p><strong>common magnetic storage media as below<\/strong><br>hard disk drive: \u63a1\u8b49\u5bb9\u6613\uff0cformat\u5f8c\u9084\u6709\u8cc7\u6599<br>floppy disks<br>SSD(solid-state drive): \u63a1\u8b49\u8f03\u96e3\uff0cformat\u5f8c\u5c31\u6c92\u8cc7\u6599\u4e86<br>ps:<br>it can be wiped out by large magnet<\/p>\n\n\n\n<p>&#8230;.<\/p>\n\n\n\n<p><strong>structure of Hard Disk<\/strong><br>cylinder(\u78c1\u67f1): from the tracks composed<br>tracks(\u78c1\u8ecc): a portion of a cylinder,&nbsp;Track&#8217;s ID is 0(\u5916\u5708)~1023(\u5167\u5708)<br>sector(\u78c1\u5340): disk block portion of a track<br>refer<br>http:\/\/www.active-undelete.com\/hdd_basic.htm<\/p>\n\n\n\n<p><strong>sector<\/strong><br>smallest physical storage unit on a hard drive<br>it is usually 512 byte<br>ps:<br>\u82e5data\u70ba700byte,\u5c31\u6703\u4f54\u75282\u500bsector<br>ps:<br>advanced format sector is 4096byte<\/p>\n\n\n\n<p><strong>bad sector<\/strong><br>Damaged portions of a disk<\/p>\n\n\n\n<p>&#8230;<\/p>\n\n\n\n<p><strong>hard disk addressing<\/strong><br>a method of allotting addresses to each physical block of data on a hard disk<br>\u4e3b\u8981\u6709\u4ee5\u4e0b\u5169\u7a2e<br>CHS(cylinder-head-sector):<br>LBA(logical block address):<\/p>\n\n\n\n<p><strong>CHS:<\/strong><br>\u5340\u584a\u5fc5\u9808\u4ee5\u786c\u789f\u4e0a\u67d0\u500b\u78c1\u67f1\u3001\u78c1\u982d\u3001\u78c1\u5340\u7684\u786c\u9ad4\u4f4d\u7f6e\u6240\u5408\u6210\u7684\u4f4d\u5740\u4f86\u6307\u5b9a<br>\u5e38\u88ab\u7528\u5728IDE device<\/p>\n\n\n\n<p><strong>LBA:<\/strong><br>\u5f9e0\u958b\u59cb\u7de8\u865f\u4f86\u5b9a\u4f4d\u5340\u584a\uff0c\u7b2c\u4e00sector LBA=0\uff0c\u7b2c\u4e8csector LBA=1<br>\u5e38\u88ab\u7528\u5728SCSI\u548cenhanced IDE device<br><br>ex:<br>disk capacity by CHS<br>22164 cylinders\/disk<br>80 head\/cylinder<br>63 sectors\/track<br>512 byte\/sectors<br>capacity=22164*80*63*512=57193758720byte<br>GiB for real capacity(capacity\/1024^3)=53.26GiB<br>GB for manufacturers(capacity\/1000^3)=57.19GB<br>ps<br>GB and GiB,&nbsp;GB is 1000^3 ; GiB is 1024^3<br>https:\/\/en.wikipedia.org\/wiki\/Gibibyte<\/p>\n\n\n\n<p>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<\/p>\n\n\n\n<p>ps:<br><strong>common optical storage media as below<\/strong><br>DVD: single-layer,4GB<br>HD-DVD: single-layer, 15 GB<br>DVD-18:15GB<br>Blu-Ray single-layer: 25 GB<br>Blu-Ray dual-layer: 50 GB<br>ps<br>preventing data is changed, recommendation using media that data only can be written once<br>ex:DVD+R<\/p>\n\n\n\n<p>ps:<br>Windows\u652f\u63f4\u5169\u7a2eCD ROM\u8ddfDVD\u7684\u683c\u5f0f<br>CDFS<br>UDF<\/p>\n\n\n\n<p>refer<br>https:\/\/en.wikipedia.org\/wiki\/Blu-ray<br>https:\/\/en.wikipedia.org\/wiki\/DVD<br>http:\/\/wenku.baidu.com\/view\/da7fbcd0360cba1aa811da11.html?re=view<\/p>\n","protected":false},"excerpt":{"rendered":"<p>storage mediaoptical storage m &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"","fifu_image_alt":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","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":[23],"tags":[],"class_list":["post-722","post","type-post","status-publish","format-standard","hentry","category-computerarchitecture"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts\/722","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/comments?post=722"}],"version-history":[{"count":0,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts\/722\/revisions"}],"wp:attachment":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/media?parent=722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/categories?post=722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/tags?post=722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}