{"id":426,"date":"2012-09-11T09:33:53","date_gmt":"2012-09-11T09:33:53","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=426"},"modified":"2012-09-11T09:33:53","modified_gmt":"2012-09-11T09:33:53","slug":"fedora-17-simple-things-made-complex","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=426","title":{"rendered":"Fedora 17 &#8211; Simple Things made Complex.."},"content":{"rendered":"<p>Running Fedora 17, you expect certain features to be a bit &#8216;bleeding edge&#8217;, but sometimes it seems things are getting more difficult, rather than &#8211; as it should be &#8211; easier?<br \/>\nAn example in point.. Why on earth did someone decide good old <strong>eth0<\/strong> was not good enough?\u00a0 Now I have &#8216;<strong>p20p1<\/strong>&#8216; instead!<\/p>\n<p>I used to think adding a disk drive to the system was a no-brainer, and now they have changed fstab to use those heiroglyphic UUIDs..<\/p>\n<p>So, instead of <strong>\/dev\/sda1<\/strong>&#8230;, or even <strong>LABEL=SDA1<\/strong>&#8230;., we have <strong>UUID=eft456-fgt7y-6756<\/strong>&#8230;.etc..<\/p>\n<p>As I am always running out of disk space (and shooting HD video does eat up the bytes&#8230;) I had to add another disk..\u00a0\u00a0\u00a0 The last time I did this, I used LABEL=SDxn&#8230;, but now fstab is all UUIDs..\u00a0\u00a0 So, for those who face a similar conundrum, this is how I did it:<\/p>\n<p>Format the disk the usual <em>fdisk<\/em> way&#8230;\u00a0 Create the filesystem on it (I am still using <em>ext3<\/em>..) the usual way.<br \/>\nThe system will then &#8216;automagically&#8217; assign the UUID to the disk, even though it isn&#8217;t mounted yet..\u00a0<strong> # dmesg<\/strong> will show you the device id in \/<em>dev<\/em>, after you have created the filesystem..<\/p>\n<p>To add the appropriate entry to fstab, just do<br \/>\n#<strong> ll \/dev\/disk\/by-uuid |grep sd<\/strong>xn &#8211; where <strong>sd<\/strong>xn is the new disk you want to add..<br \/>\nOn my system, I got:<br \/>\n<strong># ll \/dev\/disk\/by-uuid |grep sdh1<\/strong><br \/>\n<strong>lrwxrwxrwx 1 root root 10 Sep 11 09:53 ec4df8fb-19df-4cf8-af1f-2bc47f765fa6 -&gt; ..\/..\/sdh1<\/strong><br \/>\n(FYI, this isn&#8217;t the real UUID!)<br \/>\nNow, you just have to add the necessary details to \/etc\/fstab, and cut\/paste the UUID..\u00a0\u00a0 In my case, I added:<\/p>\n<p><strong>UUID=ec4df8fb-19df-4cf8-af1f-2bc47f765fa6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/data8\u00a0\u00a0\u00a0 ext3\u00a0\u00a0\u00a0 defaults\u00a0\u00a0 1 2<\/strong><\/p>\n<p>You &#8211; of course &#8211; will need to use whatever mount point and filesystem you need..<\/p>\n<p>And then (as root) just <strong># mount \/data8<\/strong>,\u00a0 and the disk is ready &#8211; to start filling up with yet more valuable &#8216;data&#8217;&#8230;.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Running Fedora 17, you expect certain features to be a bit &#8216;bleeding edge&#8217;, but sometimes it seems things are getting more difficult, rather than &#8211; as it should be &#8211; easier? An example in point.. Why on earth did someone decide good old eth0 was not good enough?\u00a0 Now I have &#8216;p20p1&#8216; instead! I used to think <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=426\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,11,19,20],"tags":[76,156,171,191,392],"class_list":["post-426","post","type-post","status-publish","format-standard","hentry","category-fedora","category-hacks","category-opinion","category-performance-2","tag-add-new-disk","tag-fedora-17","tag-fstab","tag-howto","tag-uuid"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=426"}],"version-history":[{"count":0,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/426\/revisions"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}