{"id":431,"date":"2011-11-19T17:19:21","date_gmt":"2011-11-19T22:19:21","guid":{"rendered":"http:\/\/blog.alanporter.com\/?p=431"},"modified":"2011-11-19T17:19:21","modified_gmt":"2011-11-19T22:19:21","slug":"chrome-and-lvm-snapshots","status":"publish","type":"post","link":"https:\/\/alanporter.com\/blog\/2011\/11\/19\/chrome-and-lvm-snapshots\/","title":{"rendered":"Chrome and LVM snapshots"},"content":{"rendered":"<p>This is crazy.<\/p>\n<p>I was trying to make an LVM snapshot of my home directory, and I kept getting this error:<\/p>\n<pre>\n$ lvcreate -s \/dev\/vg1\/home --name=h2 --size=20G\n\/dev\/mapper\/vg1-h2: open failed: No such file or directory\n\/dev\/vg1\/h2: not found: device not cleared\nAborting. Failed to wipe snapshot exception store.\nUnable to deactivate open vg1-h2 (254:12)\nUnable to deactivate failed new LV. Manual intervention required.\n<\/pre>\n<p>I did some Googling around, and I saw a <a href=\"http:\/\/http:\/\/www.spinics.net\/lists\/lvm\/msg20851.html\">post from a guy at Red Hat<\/a> that says this error had to do with &#8220;namespaces&#8221;.  And by the way, Google Chrome uses namespaces, too.  Followed by the strangest question&#8230;<\/p>\n<blockquote style=\"white-space:pre-wrap; p { padding: 0 0.75em 0 0.75em; }\"><p>\nI see:<\/p>\n<p>&#8220;Uevent not generated! Calling udev_complete internally to avoid process lock-up.&#8221;<\/p>\n<p>in the log. This looks like a problem we&#8217;ve discovered recently. See also:<\/p>\n<p>http:\/\/www.redhat.com\/archives\/dm-devel\/2011-August\/msg00075.html<\/p>\n<p>That happens when namespaces are in play. This was also found while using the Chrome web browser (which makes use of the namespaces for sandboxing).<\/p>\n<p>Do you use Chrome web browser?<\/p>\n<p>Peter\n<\/p><\/blockquote>\n<p>This makes no sense to me.  I am trying to make a disk partition, and my <strong>browser<\/strong> is interfering with it?<\/p>\n<p>Sure enough, I exited chrome, and the snapshot worked.<\/p>\n<pre>\n$ lvcreate -s \/dev\/vg1\/home --name=h2 --size=20G\n  Logical volume \"h2\" created\n<\/pre>\n<p>This is just so weird, I figured I should share it here.  Maybe it&#8217;ll help if someone else runs across this bug.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is crazy. I was trying to make an LVM snapshot of my home directory, and I kept getting this error: $ lvcreate -s \/dev\/vg1\/home &#8211;name=h2 &#8211;size=20G \/dev\/mapper\/vg1-h2: open failed: No such file or directory \/dev\/vg1\/h2: not found: device not cleared Aborting. Failed to wipe snapshot exception store. Unable to deactivate open vg1-h2 (254:12) Unable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,8],"tags":[],"class_list":["post-431","post","type-post","status-publish","format-standard","hentry","category-software","category-madness","count-0","even alt","author-alan","last"],"_links":{"self":[{"href":"https:\/\/alanporter.com\/blog\/wp-json\/wp\/v2\/posts\/431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alanporter.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alanporter.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alanporter.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alanporter.com\/blog\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":0,"href":"https:\/\/alanporter.com\/blog\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"wp:attachment":[{"href":"https:\/\/alanporter.com\/blog\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alanporter.com\/blog\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alanporter.com\/blog\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}