{"id":7178,"date":"2018-01-24T09:16:41","date_gmt":"2018-01-24T01:16:41","guid":{"rendered":"http:\/\/rmohan.com\/?p=7178"},"modified":"2018-01-24T09:16:41","modified_gmt":"2018-01-24T01:16:41","slug":"xfs-filesystem-has-duplicate-uuid-problem","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=7178","title":{"rendered":"XFS Filesystem has duplicate UUID problem"},"content":{"rendered":"<p>If you can not mount your XFS partition with classical wrong fs type, bad superblock etc. error and you see a message in kernel logs (dmesg) like that:<\/p>\n<pre><code>XFS: Filesystem sdb7 has duplicate UUID - can't mount\r\n<\/code><\/pre>\n<p>you can still mount the filesystem with nouuid options as below:<\/p>\n<pre><code>mount -o nouuid \/dev\/sdb7 disk-7\r\n<\/code><\/pre>\n<p>But every mount, you have to provide <code>nouuid<\/code> option. So, for exact solution you have to generate a new UUID for this partition with <code>xfs_admin<\/code> utility:<\/p>\n<pre><code>xfs_admin -U generate \/dev\/sdb7\r\nClearing log and setting UUID\r\nwriting all SBs\r\nnew UUID = 01fbb5f2-1ee0-4cce-94fc-024efb3cd3a4\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you can not mount your XFS partition with classical wrong fs type, bad superblock etc. error and you see a message in kernel logs (dmesg) like that:<\/p>\n<p> XFS: Filesystem sdb7 has duplicate UUID &#8211; can&#8217;t mount <\/p>\n<p>you can still mount the filesystem with nouuid options as below:<\/p>\n<p> mount -o nouuid \/dev\/sdb7 disk-7 <\/p>\n<p>But every [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7178"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7178"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7178\/revisions"}],"predecessor-version":[{"id":7179,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7178\/revisions\/7179"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}