{"id":124,"date":"2013-10-07T20:13:00","date_gmt":"2013-10-07T20:13:00","guid":{"rendered":"http:\/\/268@jodohost.com\/\/blog\/"},"modified":"2013-10-07T20:13:00","modified_gmt":"2013-10-07T20:13:00","slug":"how-to-find-block-device-attributes-in-linux","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2013\/10\/07\/how-to-find-block-device-attributes-in-linux\/","title":{"rendered":"How to find block device attributes in Linux"},"content":{"rendered":"<p>There is a useful command-line utility called &#8220;blkid&#8221; to locate\/print block device attributes.<\/p>\n<p>Its syntax is:-<\/p>\n<p># blkid<\/p>\n<p>command output example :-<\/p>\n<p># blkid<br \/>\/dev\/sda1: UUID=&#8221;12229e12-62cb-4f8f-adab-b2ad274bc834&#8243; TYPE=&#8221;ext4&#8243;<br \/>\/dev\/sda2: UUID=&#8221;8a9d58de-5f3d-4a12-8b41-bfd0216fab60&#8243; TYPE=&#8221;ext4&#8243;<br \/>\/dev\/sda3: UUID=&#8221;4d1bfd9e-fca9-4097-86a1-48268660167a&#8221; TYPE=&#8221;swap&#8221;<br \/>\/dev\/sda5: UUID=&#8221;eeb23385-7cff-4abf-a6e4-e9b407d5211d&#8221; TYPE=&#8221;ext4&#8243;<br \/>\/dev\/sda6: UUID=&#8221;qNHpFl-swWF-VSe6-3oZv-R5i3-2lxw-ERDWs9&#8243; TYPE=&#8221;LVM2_member&#8221;<br \/>\/dev\/mapper\/vg_linplsksh1-LogVol00: UUID=&#8221;c3d46a77-4CV8-4b6e-b622-2d6d4996abc2&#8243; TYPE=&#8221;ext4&#8243;<br \/>\/dev\/sdb1: UUID=&#8221;RY1sWc-ySNv-TTEV-EXHn-bDqR-xY5X-a6PYAh&#8221; TYPE=&#8221;LVM2_member&#8221;<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is a useful command-line utility called &#8220;blkid&#8221; to locate\/print block device attributes. Its syntax is:- # blkid command output example :- # blkid\/dev\/sda1: UUID=&#8221;12229e12-62cb-4f8f-adab-b2ad274bc834&#8243; TYPE=&#8221;ext4&#8243;\/dev\/sda2: UUID=&#8221;8a9d58de-5f3d-4a12-8b41-bfd0216fab60&#8243; TYPE=&#8221;ext4&#8243;\/dev\/sda3: UUID=&#8221;4d1bfd9e-fca9-4097-86a1-48268660167a&#8221; TYPE=&#8221;swap&#8221;\/dev\/sda5: UUID=&#8221;eeb23385-7cff-4abf-a6e4-e9b407d5211d&#8221; TYPE=&#8221;ext4&#8243;\/dev\/sda6: UUID=&#8221;qNHpFl-swWF-VSe6-3oZv-R5i3-2lxw-ERDWs9&#8243; TYPE=&#8221;LVM2_member&#8221;\/dev\/mapper\/vg_linplsksh1-LogVol00: UUID=&#8221;c3d46a77-4CV8-4b6e-b622-2d6d4996abc2&#8243; TYPE=&#8221;ext4&#8243;\/dev\/sdb1: UUID=&#8221;RY1sWc-ySNv-TTEV-EXHn-bDqR-xY5X-a6PYAh&#8221; TYPE=&#8221;LVM2_member&#8221; ]]&gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/124"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=124"}],"version-history":[{"count":0,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/124\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}