{"id":4595,"date":"2009-01-25T05:59:37","date_gmt":"2009-01-25T05:59:37","guid":{"rendered":"http:\/\/nsrd.wordpress.com\/?p=7"},"modified":"2018-12-12T16:39:13","modified_gmt":"2018-12-12T06:39:13","slug":"how-old-is-your-media","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2009\/01\/25\/how-old-is-your-media\/","title":{"rendered":"How old is your media?"},"content":{"rendered":"<p><span>There are several components to determining media \u2018age\u2019. These are:<\/span><\/p>\n<ul>\n<li>Usage count \u2013 the more times a tape is used, the more wear that tape experiences.<\/li>\n<li>Operating and storage environment \u2013&nbsp;temperature <em>and<\/em> humidity play an important role.<\/li>\n<li>Elapsed time from manufacture date.<\/li>\n<\/ul>\n<p>Keeping track of operating\/storage temperature and humidity is a physical process requiring specific procedures and rules \u2013&nbsp;e.g., ensuring that media is transported between the off-site vault and the on-site storage in appropriately protective pouches or boxes. The amount of protection will depend on the overall environment \u2013&nbsp;in many cities this will require little protection, but in areas around the tropics, for instance, humidity issues can strike media moving over distances as small as fifty metres.<\/p>\n<p>Luckily, NetWorker allows you to track:<\/p>\n<ul>\n<li>How many times a volume has been labelled\/recycled.<\/li>\n<li>When a volume was first labelled.<\/li>\n<li>How many times a volume has been mounted.<\/li>\n<\/ul>\n<p>This is as simple as the following command:<\/p>\n<pre style=\"text-align:left;\"># <strong>mminfo -q \u201cfamily=tape\u201d -r volume,olabel,labeled,mounts,recycled<\/strong><\/pre>\n<p>For example, on a lab server I get the following output:<\/p>\n<pre>[root@nox ~]# <strong>mminfo -q \"family=tape\" -r volume,olabel,labeled,mounts,recycled<\/strong><\/pre>\n<pre><span>&nbsp;volume&nbsp; &nbsp; &nbsp; &nbsp; orig lbl&nbsp; labeled mounts rcyc<\/span><\/pre>\n<pre><span>800840D &nbsp; &nbsp; &nbsp; 11\/07\/2006 07\/05\/2008&nbsp; 97&nbsp; 30<\/span><\/pre>\n<pre><span>800841D &nbsp; &nbsp; &nbsp; 11\/08\/2006 07\/16\/2008 115&nbsp; 35<\/span><\/pre>\n<pre><span>800842D &nbsp; &nbsp; &nbsp; 04\/05\/2007 06\/06\/2008&nbsp; 44 &nbsp; 6<\/span><\/pre>\n<pre><span>800843D &nbsp; &nbsp; &nbsp; 03\/29\/2008 05\/30\/2008&nbsp; 14 &nbsp; 3<\/span><\/pre>\n<pre><span>800844D &nbsp; &nbsp; &nbsp; 03\/29\/2008 05\/29\/2008&nbsp; 13 &nbsp; 4<\/span><\/pre>\n<pre><span>800845D &nbsp; &nbsp; &nbsp; 11\/08\/2006 06\/09\/2008 122&nbsp; 40<\/span><\/pre>\n<p>This is a little messy &#8211; one way to clean it up is to force the inclusion of the timestamp for each of olabel and labeled, which makes the output somewhat easier to read:<\/p>\n<pre>[root@nox ~]# <strong>mminfo -q \"family=tape\" -r \"volume,olabel(25),labeled(25),mounts,recycled\"<\/strong><\/pre>\n<pre><span>&nbsp;volume&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; orig lbl&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; labeled &nbsp; &nbsp; &nbsp; &nbsp; mounts rcyc<\/span><\/pre>\n<pre><span>800840D &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 11\/07\/2006 12:19:46 PM &nbsp; 07\/05\/2008 11:41:01 AM&nbsp; &nbsp; 97&nbsp; 30<\/span><\/pre>\n<pre><span>800841D &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 11\/08\/2006 02:30:07 PM &nbsp; 07\/16\/2008 01:24:55 AM &nbsp; 115&nbsp; 35<\/span><\/pre>\n<pre><span>800842D &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 04\/05\/2007 09:23:31 AM &nbsp; 06\/06\/2008 03:46:06 PM&nbsp; &nbsp; 44 &nbsp; 6<\/span><\/pre>\n<pre><span>800843D &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 03\/29\/2008 04:49:28 PM &nbsp; 05\/30\/2008 12:42:32 PM&nbsp; &nbsp; 14 &nbsp; 3<\/span><\/pre>\n<pre><span>800844D &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 03\/29\/2008 10:08:52 AM &nbsp; 05\/29\/2008 11:26:32 AM&nbsp; &nbsp; 13 &nbsp; 4<\/span><\/pre>\n<pre><span>800845D &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 11\/08\/2006 02:42:40 PM &nbsp; 06\/09\/2008 07:13:35 AM &nbsp; 122&nbsp; 40<\/span><\/pre>\n<p><span>Obviously, you can also run this command with the option \u201c-xml\u201d (or \u201c-xm\u201d) to output in XML format \u2013&nbsp;I prefer to use \u201c-xml\u201d rather than \u201c-xm\u201d simply because it serves as a reminder of what the output is going to be, or in CSV format &#8211; \u201c-xc,\u201d. CSV format would look like the following:<\/span><\/p>\n<pre style=\"text-align:left;\"><span>[root@nox ~]# <strong>mminfo -q \"family=tape\" -r \"volume,olabel(25),labeled(25),mounts,recycled\"\n-xc,<\/strong><\/span><\/pre>\n<pre style=\"text-align:left;\"><span>volume,orig-label,labeled,mounts,recycled<\/span><\/pre>\n<pre style=\"text-align:left;\"><span>800840D,11\/07\/2006 12:19:46 PM,07\/05\/2008 11:41:01 AM,97,30<\/span><\/pre>\n<pre style=\"text-align:left;\"><span>800841D,11\/08\/2006 02:30:07 PM,07\/16\/2008 01:24:55 AM,115,35<\/span><\/pre>\n<pre style=\"text-align:left;\"><span>800842D,04\/05\/2007 09:23:31 AM,06\/06\/2008 03:46:06 PM,44,6<\/span><\/pre>\n<pre style=\"text-align:left;\"><span>800843D,03\/29\/2008 04:49:28 PM,05\/30\/2008 12:42:32 PM,14,3<\/span><\/pre>\n<pre style=\"text-align:left;\"><span>800844D,03\/29\/2008 10:08:52 AM,05\/29\/2008 11:26:32 AM,13,4<\/span><\/pre>\n<pre style=\"text-align:left;\"><span>800845D,11\/08\/2006 02:42:40 PM,06\/09\/2008 07:13:35 AM,122,40<\/span><\/pre>\n<p><span>The amount of usage or age you\u2019ll tolerate on your media before replacing is dependent on the following factors:<\/span><\/p>\n<ul>\n<li> Vendor stated usage factors<\/li>\n<li> Your level of tolerance to age of media<\/li>\n<li> Any failures that may occur during periodic testing<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>There are several components to determining media \u2018age\u2019. These are: Usage count \u2013 the more times a tape is used,&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":[16,17],"tags":[],"class_list":["post-4595","post","type-post","status-publish","format-standard","hentry","category-networker","category-policies"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-1c7","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/4595","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=4595"}],"version-history":[{"count":1,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/4595\/revisions"}],"predecessor-version":[{"id":7703,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/4595\/revisions\/7703"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=4595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=4595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=4595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}