{"id":1909,"date":"2010-02-22T19:40:42","date_gmt":"2010-02-22T09:40:42","guid":{"rendered":"http:\/\/nsrd.info\/blog\/?p=1909"},"modified":"2010-02-22T19:40:42","modified_gmt":"2010-02-22T09:40:42","slug":"basics-need-a-different-volume-from-pool","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2010\/02\/22\/basics-need-a-different-volume-from-pool\/","title":{"rendered":"Basics &#8211; Need a different volume from pool &#8230;"},"content":{"rendered":"<p>The scenario:<\/p>\n<ul>\n<li>A clone or stage operation has aborted (or otherwise failed)<\/li>\n<li>It has been restarted<\/li>\n<li>It hangs waiting for a new volume even though there&#8217;s a partially written volume available.<\/li>\n<\/ul>\n<p>This is a relatively easy problem to explain. Let&#8217;s first look at the log messages that happens. To generate this error, I started cloning some data to the &#8220;Default Clone&#8221; pool, with only one volume in the pool, then aborted. Shortly thereafter I tried to run the clone again, and when NetWorker wouldn&#8217;t write to the volume I unmounted and remounted it \u2013 a common thing that newer administrators will try in this scenario. This is where you&#8217;ll hit the following error in the logs:<\/p>\n<pre>media notice: Volume `800829L4' ineligible for this operation; Need a different volume\nfrom pool `Default Clone'\nmedia info: Suggest manually labeling a new writable volume for pool 'Default Clone'<\/pre>\n<p>So, what&#8217;s the cause of this problem? It&#8217;s actually relatively easy to explain.<\/p>\n<p>A core component in NetWorker&#8217;s media database design is that a saveset can only ever have one <strong>instance<\/strong> on a piece of media. This applies as equally to failed as complete saveset instances.<\/p>\n<p>The net result is that this error\/situation will occur because it&#8217;s meant to \u2013 NetWorker doesn&#8217;t permit more than one instance of a saveset to appear on the same piece of physical media.<\/p>\n<p>So what do you do when this error comes up?<\/p>\n<ul>\n<li>If you&#8217;re backing up to disk, an aborted saveset <em>should<\/em> normally be cleared up automatically by NetWorker after the operation is aborted. However, in certain instances this may not be the case. For NetWorker 7.5 vanilla and 7.5.1.1\/7.5.1.2, this should be done by <em>expiring<\/em> the saveset instance \u2013 using nsrmm to flag the instance as having an expiry date within a few minutes or seconds. For all other versions of NetWorker, you should just be able to delete the saveset instance.<\/li>\n<li>When working with tape (virtual or physical), the most recommended approach would be to move on to another tape, or if the instance is the <em>only<\/em> instance on that tape, relabel the tape. (Some would argue that you can use nsrmm to delete the saveset instance from the tape and then re-attempt the operation, but since NetWorker is so heavily designed to <em>prevent<\/em> multiple instances of a saveset on a piece of media, I&#8217;d strongly recommend against this.)<\/li>\n<\/ul>\n<p>Overall it&#8217;s a fairly simple issue, but knowing how to recognise it lets you resolve it quickly and painlessly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The scenario: A clone or stage operation has aborted (or otherwise failed) It has been restarted It hangs waiting for&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6,16],"tags":[89,90,226,228,472,656,677,932,933,1102],"class_list":["post-1909","post","type-post","status-publish","format-standard","hentry","category-basics","category-networker","tag-abort","tag-aborted","tag-clone","tag-cloning","tag-ineligible","tag-nsrclone","tag-nsrstage","tag-stage","tag-staging","tag-waiting"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-uN","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=1909"}],"version-history":[{"count":0,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/1909\/revisions"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=1909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=1909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=1909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}