{"id":1365,"date":"2009-11-26T13:35:53","date_gmt":"2009-11-26T12:35:53","guid":{"rendered":"http:\/\/blog.it4sport.de\/?p=1365"},"modified":"2009-11-26T13:35:53","modified_gmt":"2009-11-26T12:35:53","slug":"uuid-von-partitionen-ermitteln","status":"publish","type":"post","link":"https:\/\/gmbd.de\/wordpress\/index.php\/2009\/11\/26\/uuid-von-partitionen-ermitteln\/","title":{"rendered":"UUID von Partitionen ermitteln"},"content":{"rendered":"<p>\t\t\t\tMittlerweile ist es g\u00e4ngige Praxis nicht mehr das Device in die <em>fstab<\/em> einzutragen sondern besser die UUID der Partition. Nachdem ich nicht st\u00e4ndig neue Partitionen anlege habe ich mir bis jetzt nie gemerkt, wie ich die UUID einer Partition heraus suche. Daher hier der Merker:<\/p>\n<pre lang=\"bash\">\nls -l \/dev\/disk\/by-uuid\/ \n<\/pre>\n<p>Das liefert sowas wie:<\/p>\n<pre lang=\"bash\">\n# ls -l \/dev\/disk\/by-uuid\/ \ninsgesamt 0\nlrwxrwxrwx 1 root root 10 2009-11-24 10:50 d321dda3-bc1f-4d24-a56f-a86d66002b1c -> ..\/..\/sda5\nlrwxrwxrwx 1 root root 10 2009-11-24 10:50 e916f1d1-44fe-4def-8bf6-5b9eacbe13a6 -> ..\/..\/sda1\nlrwxrwxrwx 1 root root 10 2009-11-24 10:50 FAFC5F30FC5EE703 -> ..\/..\/sda3\n<\/pre>\n<p> Dann tr\u00e4gt man einfach die entsprechenden UUID in fstab wie folgt ein:<\/p>\n<pre lang=\"ini\">\nUUID=d321dda3-bc1f-4d24-a56f-a86d66002b1c \/wohin-auch-immer               ext3    defaults  0       0\n<\/pre>\n<p>Und h\u00e4ngt die neue Partition ein:<\/p>\n<pre lang=\"bash\">\nmount -a\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Mittlerweile ist es g\u00e4ngige Praxis nicht mehr das Device in die fstab einzutragen sondern besser die UUID der Partition. Nachdem ich nicht st\u00e4ndig neue Partitionen anlege habe ich mir bis jetzt nie gemerkt, wie ich die UUID einer Partition heraus suche. Daher hier der Merker: ls -l \/dev\/disk\/by-uuid\/ Das liefert sowas wie: # ls -l\u2026 <span class=\"read-more\"><a href=\"https:\/\/gmbd.de\/wordpress\/index.php\/2009\/11\/26\/uuid-von-partitionen-ermitteln\/\">Weiterlesen &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[238,373],"_links":{"self":[{"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1365"}],"collection":[{"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=1365"}],"version-history":[{"count":0,"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1365\/revisions"}],"wp:attachment":[{"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=1365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=1365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=1365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}