{"id":691,"date":"2012-09-21T18:01:10","date_gmt":"2012-09-21T16:01:10","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=691"},"modified":"2012-09-21T18:01:10","modified_gmt":"2012-09-21T16:01:10","slug":"installing-my-3tb-hard-drive-on-debian-linux-step-by-step","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2012\/09\/21\/installing-my-3tb-hard-drive-on-debian-linux-step-by-step\/","title":{"rendered":"Installing my 3TB hard drive on Debian linux step by step"},"content":{"rendered":"<p>Original: http:\/\/www.buildingcubes.com\/2012\/07\/25\/installing-my-3tb-hard-drive-on-debian-linux-step-by-step\/<\/p>\n<p>You can format it EXT4, but ext2 and ext3 are also OK ! ext2 and ext3 allow up to 16TB disks, and file sizes of up to 2TB, ext4 allows much more.<\/p>\n<p>Any linux kernel newer than 2.6.31 should work just fine with \u201cAdvanced format\u201d drives using the exact same steps in this article.<\/p>\n<p>MBR only supports 2TB drives, you need GPT, so let us get started<\/p>\n<p>1- apt-get update<br \/>\n2- apt get install parted<br \/>\n3- parted \/dev\/sdc<br \/>\n4- mklabel gpt<br \/>\n5- Answer yes to: Warning: The existing disk label on \/dev\/sdb will be destroyed and all data on this disk will be lost. Do you want to continue?<br \/>\nYes\/No? yes<br \/>\n6- mkpart primary ext4 0% 100% (to make a partition as big as the disk (will occupy starting from first megabyte (for alignment) to the end of disk))<br \/>\n7- quit<\/p>\n<p>Now to formating the drive<\/p>\n<p>mkfs.ext4 \/dev\/sdc1<\/p>\n<p>And there we are, Now we need to mount it at boot time by adding it to fstab, to do that, we will need the disk\u2019s unique ID !<\/p>\n<p>8- Now executing the following command will give you the unique ID of this new partition for use with fstab (The disk list we will edit below in step 10)<br \/>\nblkid \/dev\/sdc1<br \/>\n9- create the directory where you want to mount your hard disk, for example<br \/>\nmkdir \/hds<br \/>\nmkdir \/hds\/3tb<br \/>\n10- Now, we add the following line to fstab<\/p>\n<pre>UUID=b7a491b1-a690-468f-882f-fbb4ac0a3b53       \/hds\/3tb            ext2     defaults,noatime                0       1<\/pre>\n<p>11- Now execute<br \/>\nmount -a<\/p>\n<p>You are done,. if you execute<br \/>\ndf -h<br \/>\nYou should see your 2+TB hard drive in there !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Original: http:\/\/www.buildingcubes.com\/2012\/07\/25\/installing-my-3tb-hard-drive-on-debian-linux-step-by-step\/ You can format it EXT4, but ext2 and ext3 are also OK ! ext2 and ext3 allow up to 16TB disks, and file sizes of up to 2TB, ext4 allows much more. Any linux kernel newer than 2.6.31 should work just fine with \u201cAdvanced format\u201d drives using the exact same steps in this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-691","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=691"}],"version-history":[{"count":1,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/691\/revisions"}],"predecessor-version":[{"id":692,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/691\/revisions\/692"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}