{"id":11206,"date":"2025-07-30T10:37:29","date_gmt":"2025-07-30T14:37:29","guid":{"rendered":"https:\/\/labs.icahn.mssm.edu\/minervalab\/?page_id=11206"},"modified":"2025-11-13T14:56:38","modified_gmt":"2025-11-13T19:56:38","slug":"access-tsm-with-command-line","status":"publish","type":"page","link":"https:\/\/labs.icahn.mssm.edu\/minervalab\/documentation\/access-tsm-with-command-line\/","title":{"rendered":"Long-Term Data Archive: TSM"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; fullwidth=&#8221;on&#8221; admin_label=&#8221;Section&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221;][et_pb_fullwidth_menu menu_id=&#8221;15&#8243; menu_style=&#8221;centered&#8221; fullwidth_menu=&#8221;on&#8221; active_link_color=&#8221;#d80b8c&#8221; dropdown_menu_line_color=&#8221;#221f72&#8243; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; menu_font=&#8221;|600|||||||&#8221; menu_text_color=&#8221;#FFFFFF&#8221; menu_font_size=&#8221;16px&#8221; background_color=&#8221;#221f72&#8243; background_layout=&#8221;dark&#8221; sticky_position=&#8221;top&#8221;][\/et_pb_fullwidth_menu][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.0&#8243; custom_padding=&#8221;0px||0px||false|false&#8221;][et_pb_row _builder_version=&#8221;4.9.0&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_padding=&#8221;||0px||false|false&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Breadcrumb&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p><a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/scientific-computing-and-data\/\">Scientific Computing and Data<\/a> \/ <a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/\">High Performance Computing<\/a> \/ <a title=\"Documentation\" href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/documentation\/\">Documentation<\/a> \/ Long-Term Data Archive: TSM<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;]<\/p>\n<h1>Long-Term Data Archive: TSM<\/h1>\n<h3><b><span style=\"color: #221f72\">Contents<\/span><\/b><br \/> <a href=\"#archiving\">Archiving Data<\/a><br \/> <a href=\"#gui\">Access TSM with GUI<\/a><br \/> <a href=\"#command\">Access TSM with Command Line<\/a><br \/> <a href=\"#files\">Access Archived Files<\/a><br \/> <a href=\"#faq\">Frequently Asked Questions<\/a><\/h3>\n<h1><a id=\"archiving\"><\/a>Archiving Data<\/h1>\n<p>Important data stored on Minerva can be protected by archiving the data in the IBM Tivoli Storage Management (TSM) system (renamed as Spectrum Protect after v8.1.21.0) installed on a Minerva server.<\/p>\n<p>The TSM system will create two long-term tape copies of your data. One copy will be stored in the IBM tape library that is part of the Minerva complex and be available for rapid recall; the second copy will be stored off-site in a secure data vault for disaster protection. Data on both copies will be encrypted to deter unauthorized access.<\/p>\n<p><span style=\"font-size: 14px\"><\/span><\/p>\n<p><span style=\"font-size: 14px\">\u00a0<\/span><\/p>\n<h1><strong>Minerva Archival Storage Policy <\/strong><\/h1>\n<p><span style=\"font-size: 14px\">Please review the\u00a0Minerva TSM Archival Policy V1 before your TSM activities <a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-content\/uploads\/sites\/342\/2024\/08\/Minerva-TSM-PolicyV1_Aug2024.pdf\">click here<\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"color: #221f72\">Data Retention Policy<\/span><\/h2>\n<p><strong>The archived data will have a retention time of 6 years and will then be deleted, please check the expiration date of your archived files.\u00a0 This is the responsibility of the user!<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"color: #1f2272\">How to Access TSM<\/span><\/h2>\n<p>TSM client or Spectrum Protect client v8.1.21.0 is installed on all login nodes.<\/p>\n<p>In the TSM system, archived data is organized by nodes. A node is a logical abstraction and may correspond to various physical entities. On Minerva, each user is treated as a separate node, and the node identity is defined by the user&#8217;s ID (userid).<\/p>\n<p>The TSM system can be accessed via either a GUI or the command line. The command line mode is particularly useful when archiving large datasets in that it can be issued using the screen command. The screen can then be detached and the command can run unattended for the hours it may take to archive the data.<\/p>\n<p><a href=\"#gui\">Access TSM with GUI<\/a><br \/> <a href=\"#command\">Access TSM with Command Line (recommended)<\/a><\/p>\n<p><span style=\"text-decoration: underline\"><strong>General suggestions<\/strong><\/span><\/p>\n<p><strong>Tar small files before archive.<\/strong><\/p>\n<p style=\"padding-left: 30px\">Because all the files that are archived are entered into a database, to prevent overflowing this database we ask that you first use the tar command to create a unix tar archive of bundles of small files and then archive the tar file to TSM.\u00a0For information about tar, see the man pages (man tar) on Minerva or check out this\u00a0<a href=\"https:\/\/www.thegeekstuff.com\/2010\/04\/unix-tar-command-examples\">link<\/a>.<\/p>\n<p><strong>Command Line and Screen is recommended for large data archiving or retrieval.<\/strong><\/p>\n<p style=\"padding-left: 30px\">Using the graphical interface for large data archiving or retrieval is not recommended, as it requires keeping the interactive session open until the process completes. Instead, it is advisable to start a <code>screen<\/code> session and use command-line tools to perform the archiving. This allows you to safely detach from the session while the operation continues in the background.<\/p>\n<p><strong>Long retrieval time is expected.<\/strong><\/p>\n<p style=\"padding-left: 30px\">Due to the large volume of archived data and limited tape slots in the TSM library, most tapes are stored in cabinets rather than loaded in the library. When you issue a retrieval request, our operators are notified by email and will manually locate and load the requested tape into the library. This manual process typically takes up to 1.5 hours, during which the request may appear as &#8220;[ &#8211; ]&#8221; with no visible progress.<\/p>\n<p style=\"padding-left: 30px\">Once the tape is loaded, the TSM library will automatically mount it and begin data transfer, which proceeds at a reasonably fast rate.<\/p>\n<p style=\"padding-left: 30px\">Please note that tape check-in errors may occur when multiple retrieval requests are processed simultaneously. If you receive an error such as &#8220;data is unavailable,&#8221; submit a support ticket and we\u2019ll assist you promptly.<\/p>\n<p><strong>Warning: If you choose to automatically delete files after archiving and later delete the corresponding archive object from TSM, the data will be permanently lost and cannot be recovered. Use this option with extreme caution.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h1><a id=\"gui\"><\/a>Access TSM with GUI<\/h1>\n<p>To access the system via the X-Windows GUI, enter the <strong>dsmj<\/strong> command.\u00a0 <strong>dsmj<\/strong> requires java, so the java module will need to be loaded:<\/p>\n<blockquote>\n<pre><code> $ module load java\r\n $ dsmj -se=<span style=\"font-style: italic\">userid<\/span>\r\n<\/code><\/pre>\n<\/blockquote>\n<p>The following window will be displayed:<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/scpublic.dmz.hpc.mssm.edu\/HPC\/tsm\/tsm_gui.png&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; width=&#8221;60%&#8221; max_width=&#8221;60%&#8221; module_alignment=&#8221;center&#8221; custom_margin=&#8221;10px||20px||false|false&#8221; custom_padding=&#8221;10px||20px||false|false&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;10px||||false|false&#8221; custom_padding=&#8221;10px||||false|false&#8221;]<\/p>\n<h2><span style=\"color: #221f72\">Archive by GUI<\/span><\/h2>\n<p>We are not supporting backup so ignore the top panel of the display.\u00a0 If you click on &#8220;<strong>Archive<\/strong>&#8220;, the following screen will appear.\u00a0Files are displayed in the standard descending tree format and you can drill down to any sub-directory or file.\u00a0 When you get to the last directory, you click on the &#8220;<strong>folder<\/strong>&#8221; icon to expand the list of files.<\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/scpublic.dmz.hpc.mssm.edu\/HPC\/tsm\/tsm_gui_archive.png&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; width=&#8221;80%&#8221; max_width=&#8221;80%&#8221; module_alignment=&#8221;center&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;20px||20px||false|false&#8221; custom_padding=&#8221;20px||20px||false|false&#8221;]<\/p>\n<p>To select files to be archived, click the box nest to the file name.\u00a0 To select the entire sub-directory, click on the box next to the sub-directory you wish to archive.\u00a0 (the boxes next to each file will automatically be filled in).<\/p>\n<p>You can set the &#8220;<strong>description<\/strong>&#8221; of the archive package by entering your description into the text box at the top of the screen.<\/p>\n<p>Once files are selected and you have annotated your archive by means of the &#8220;<strong>description<\/strong>&#8221; text box, click on the &#8220;<strong>archive<\/strong>&#8221; button and the operation will commence.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;]<\/p>\n<h2><span style=\"color: #221f72\">Retrieval by GUI<\/span><\/h2>\n<p>To retrieve files, the operation is the same except that you would click on <strong>Retrieve<\/strong>. Note that instead of the hierarchical display being by file, the display will be by &#8220;<strong>description<\/strong>&#8220;.\u00a0 Drilling down on one of the archive packages will display the file structure of what was archived.<\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/scpublic.dmz.hpc.mssm.edu\/HPC\/tsm\/tsm_gui_retrieve.png&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; width=&#8221;80%&#8221; max_width=&#8221;80%&#8221; module_alignment=&#8221;center&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;20px||20px||false|false&#8221; custom_padding=&#8221;20px||20px||false|false&#8221;]Select the files and click the &#8220;<strong>Options<\/strong>&#8221; button to select the options you want for the Retrieve.[\/et_pb_text][et_pb_image src=&#8221;https:\/\/scpublic.dmz.hpc.mssm.edu\/HPC\/tsm\/tsm_gui_retrieve_options.png&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; width=&#8221;80%&#8221; max_width=&#8221;80%&#8221; module_alignment=&#8221;center&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;20px||20px||false|false&#8221; custom_padding=&#8221;20px||20px||false|false&#8221;]<\/p>\n<p>Then click &#8220;<strong>retrieve<\/strong>&#8221; to continue.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;10px||20px||false|false&#8221; custom_padding=&#8221;10px||20px||false|false&#8221;]<\/p>\n<h2><span style=\"color: #221f72\">Delete Archive by GUI<\/span><\/h2>\n<p>From the main screen, select Utilities &gt; Delete Archive Data:[\/et_pb_text][et_pb_image src=&#8221;https:\/\/scpublic.dmz.hpc.mssm.edu\/HPC\/tsm\/tsm_delete.png&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; width=&#8221;60%&#8221; max_width=&#8221;60%&#8221; module_alignment=&#8221;center&#8221; custom_margin=&#8221;10px||20px||false|false&#8221; custom_padding=&#8221;10px||20px||false|false&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;10px||20px||false|false&#8221; custom_padding=&#8221;10px||20px||false|false&#8221;]<\/p>\n<p>&nbsp;<\/p>\n<p>The hierarchical display of the archive data will appear as in Retrieve, but the option will be only to delete.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;10px||20px||false|false&#8221; custom_padding=&#8221;10px||20px||false|false&#8221;]<\/p>\n<h2><a id=\"command\"><\/a>Access TSM with Command Line<\/h2>\n<p>The command to access the TSM system is:\u00a0<code>dsmc<\/code>.\u00a0 The option needed to specify your node name is:\u00a0<code>-se=userid<\/code>. You must always indicate your node (user name) on the command line or the command will fail.<\/p>\n<p>You can either issue the command through your login shell, for example:<\/p>\n<blockquote>\n<pre><code>$ dsmc q archive -se= userid \/home\/proj1\/ -sub=yes <\/code><\/pre>\n<\/blockquote>\n<p><strong>or<\/strong> you can launch the spectrum protect (TSM) shell and issue the command there:<\/p>\n<blockquote>\n<pre><code>$ dsmc -se= userid \r\nProtect&gt; q archive \/home\/proj1\/ -sub=yes \r\n<\/code><\/pre>\n<\/blockquote>\n<p><em><span style=\"color: #000000\"><strong>Caution:<\/strong><\/span><\/em><br \/> By default, the <code>dsmc<\/code> command operates only within the current file system. For example, if you are in the home file system (<code>\/hpc\/users<\/code>), wildcard patterns will not match files in the scratch file system, and vice versa. To access files in a different file system, you must explicitly specify the full path to the desired directory.<\/p>\n<p><em><span style=\"text-decoration: underline\">Example:<\/span><\/em><br \/> Assume these files exist:<\/p>\n<p style=\"padding-left: 30px\"><code>\/hpc\/users\/minerva_user\/a.file<\/code><br \/> <code>\/hpc\/users\/minerva_user\/b.file<\/code><\/p>\n<p style=\"padding-left: 30px\"><code>\/sc\/arion\/scratch\/minerva_user\/c.file<\/code><br \/> <code>\/sc\/arion\/scratch\/minerva_user\/d.file<\/code><\/p>\n<p>If one is in their home directory and specifies the file name as <code>*<\/code>, only file <code>a.file<\/code> and <code>b.file<\/code> will be seen.<br \/> If one is in the scratch directory and specifies the file name as <code>\"\/hpc\/users\/minerva_user\/*\"<\/code>, again, only <code>a.file<\/code> and <code>b.file<\/code> will be seen.<\/p>\n<p><em><span style=\"color: #000000\"><strong>Caution:<\/strong><\/span><\/em><br \/> TSM distinguishes between treating a directory file as a directory or treating it as a file. When a file is archived, the parent directory file is also archived.<br \/> In general, if a directory is to be considered a directory, then a slash should follow the name.\u00a0 E.g.:<\/p>\n<p style=\"padding-left: 30px\"><code>\/hpc\/users\/m_user\/all_my_data<\/code> is the file all_my_data.\u00a0 Whether it is a directory or not it will be treated as a simple file.<br \/> <code>\/hpc\/users\/m_user\/all_my_data\/<\/code> is the directory all_my_data and all the files in the directory.<\/p>\n<p>This makes a difference when you ask the <code>dsmc<\/code> commands to work with all the files below the directory with the <code>-sub<\/code> option. In the case with no slash, <code>-sub<\/code> has no effect since you are talking about the file; with the slash, <code>-sub<\/code> will act on the files below the directory name.<strong>\u00a0<\/strong><a href=\"#slash_no_slash\"><span style=\"text-decoration: underline\"><span style=\"color: #00aeef;text-decoration: underline\">See example below<\/span><\/span>.<\/a><\/p>\n<p>The various commands to the system are introduced below by way of examples for<span style=\"color: #00aeef\"><strong>\u00a0<\/strong><\/span><a href=\"#ScreenExamples\"><span style=\"text-decoration: underline\"><span style=\"color: #00aeef;text-decoration: underline\">screen<\/span><\/span><span style=\"color: #808080\">,<\/span>\u00a0<\/a><a href=\"#Archive_Commands\"><span style=\"text-decoration: underline\"><span style=\"color: #00aeef;text-decoration: underline\">archive<\/span><\/span><span style=\"color: #808080\">,<\/span><\/a>\u00a0<span style=\"text-decoration: underline\"><span style=\"color: #00aeef;text-decoration: underline\"><a style=\"color: #00aeef;text-decoration: underline\" href=\"#Query_Commands\">query<\/a><\/span><\/span>,\u00a0<span style=\"text-decoration: underline\"><span style=\"color: #d80b8c;text-decoration: underline\"><a style=\"color: #00aeef;text-decoration: underline\" href=\"#Retrieve_Commands\">retrieve<\/a><\/span><\/span>,<a href=\"#Deleting_Archive_Files\">\u00a0<span style=\"text-decoration: underline\"><span style=\"color: #00aeef;text-decoration: underline\">delete<\/span><\/span><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a id=\"ScreenExamples\" name=\"ScreenExamples\"><\/a><strong><span style=\"color: #221f72\">Screen Commands<\/span><\/strong><\/p>\n<p>The\u00a0<code>screen<\/code>\u00a0command is particularly useful here when archiving large files. For information on how to use the screen command check the man page (<code>man screen<\/code>).<\/p>\n<p>Some simple, elementary examples:<\/p>\n<blockquote>\n<pre><code> screen dsmc archive -se=<em>userid<\/em> big_directory -sub=yes -description=\"Irreplaceable data 1 Apr 2012\" <\/code><\/pre>\n<\/blockquote>\n<p>After starting a new screen session, you can run the desired command\u2014whether it begins executing immediately or is momentarily blocked by TSM while waiting for resources. To detach from the session and let the process continue in the background, press <code>Ctrl-a<\/code> followed by <code>d<\/code>. You can then continue working or log out entirely.<\/p>\n<p>Alternatively, you can start a screen session by simply typing screen, which opens an interactive shell. From there, you might run a few setup commands before launching <code>dsmc<\/code>. As before, press <code>Ctrl-a d<\/code> to detach the session.<\/p>\n<p>To reattach to the screen session later, use <code>screen -r<\/code>.<\/p>\n<p>&nbsp;<\/p>\n<p><a id=\"Archive_Commands\" name=\"Archive_Commands\"><\/a><strong><span style=\"color: #221f72\">Archive Commands<\/span><\/strong><\/p>\n<p><strong>1.<\/strong> Archive (1) file in <code>\/home\/proj1<\/code> directory called <code>file1.txt<\/code><\/p>\n<blockquote>\n<pre><code>dsmc archive -se=userid\u00a0\"\/home\/proj1\/file1.txt\"<\/code><\/pre>\n<\/blockquote>\n<p><strong>2.<\/strong> Archive file <code>file2.txt<\/code> in <code>\/home\/proj1<\/code><\/p>\n<blockquote>\n<pre><code>dsmc archive -se=userid\u00a0\"\/home\/proj1\/file2.txt\"<\/code><\/pre>\n<\/blockquote>\n<p><strong>3.<\/strong> Archive all files that end with <code>txt<\/code> in directory called <code>\/home\/proj1<\/code><\/p>\n<blockquote>\n<pre><code>dsmc archive -se=userid\u00a0\/home\/proj1\/*.txt<\/code><\/pre>\n<\/blockquote>\n<p><strong>Note:<\/strong> <span style=\"color: #0000ff\">quotes are necessary only if there is white space in the name of <code>directory\/file<\/code>. <code>*<\/code> is a wildcard<\/span><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><a id=\"slash_no_slash\" name=\"slash_no_slash\"><\/a><strong>4.<\/strong> Archive all files and subdirectories in the directory <code>\/home\/proj1\/<\/code> by using a single command:<\/p>\n<blockquote>\n<pre><code>dsmc archive -se=userid\u00a0\/home\/proj1\/ -sub=yes<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><strong>Note:\u00a0<\/strong><span style=\"color: #0000ff\">The command <code>dsmc archive -se=userid \/home\/proj1 -sub=yes<\/code> will archive only the directory entry for <code>\/home\/proj1<\/code>\u2014not its contents\u2014because it lacks a trailing slash. Without the slash, TSM treats <code>\/home\/proj1<\/code> as a file rather than a directory.<\/span><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><strong>5.<\/strong>\u00a0To invoke TSM client in foreground:<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<p style=\"padding-left: 30px\">(cd to &#8220;\/home\/proj1&#8221; directory first)<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code>LINUX&gt; cd \/home\/proj1<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<p style=\"padding-left: 30px\">(invoke TSM client)<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code>LINUX\/home\/proj1&gt; dsmc -se=userid<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<p style=\"padding-left: 30px\">(issue a TSM command: will archive file <code>file1.txt<\/code> from the current directory <code>\/home\/proj1<\/code>)<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code>Tsm&gt; archive file1.txt<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<p style=\"padding-left: 30px\">(quit TSM)<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code>Tsm&gt; quit<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><strong>6.<\/strong> Archive file \u201cfile1.txt\u201d then automatically delete it from your directory<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code>dsmc archive -se=userid\u00a0\/home\/proj1\/file1.txt -deletefiles<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><strong>7.<\/strong> Archive file \u201cfile1.txt\u201d and assign a description\/annotation to the archive<\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code>dsmc archive -se=userid\u00a0\/home\/proj1\/file1.txt -description=\u201dProject 1 file June EOM\u201d<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><strong>Note:<\/strong>\u00a0<span style=\"color: #0000ff\">Default description is: <code>Archive Date:current_date<\/code><\/span><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><a id=\"Query_Commands\" name=\"Query_Commands\"><\/a><strong><span style=\"color: #221f72\">Query Commands<\/span><\/strong><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code>The output of queries will be similar to the following format:<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code> Size  Archive Date - Time    File - Expires on - Description \r\n          ----  -------------------    -------------------------------\r\n 32,768  B  09\/26\/12  09:27:56  \/gs01\/scratch\/fludee01\/eclipse 09\/27\/17  Archive Date: 09\/26\/12\r\n 32,768  B  09\/26\/12  14:39:50  \/gs01\/scratch\/fludee01\/charyprob 09\/27\/17  Archive Date: 9\/26\/12\r\n 32,768  B  09\/26\/12  10:56:05  \/gs01\/scratch\/fludee01\/zhangtest 09\/27\/17  test2\r\n 32,768  B  09\/26\/12  11:00:57  \/gs01\/scratch\/fludee01\/packages 09\/27\/17  packages as of : 09\/26\/12 \r\n 32,768  B  09\/27\/12  11:37:27  \/gs01\/scratch\/fludee01\/packages 09\/28\/17  Archive Date: 09\/27\/12\r\n<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code>Spaces separate the Size, Date, Time, File-name (possibly truncated to the next highest directory), Expiry, Description.<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><em><u>Query Examples:<\/u><\/em><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><strong>1.<\/strong> Query archives from directory(and subdirectories) <code>\/home\/proj1\/<\/code><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code> dsmc q archive -se= userid \/home\/proj1\/ -sub=yes <\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><strong>2.<\/strong> Query if file <code>file1.txt<\/code> has been archived<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code> dsmc q archive -se=userid \/home\/proj1\/file1.txt  <\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><strong>3.<\/strong> Query files satisfying a particular description:<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code> dsmc q archive -se=userid -description=\"Important test*\" \"*\"<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><a id=\"Retrieve_Commands\" name=\"Retrieve_Commands\"><\/a><strong><span style=\"color: #221f72\">Retrieve Commands<\/span><\/strong><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code>When retrieving large amounts of data, use of the\u00a0<span style=\"text-decoration: underline\"><span style=\"color: #d80b8c;text-decoration: underline\"><a style=\"color: #00aeef;text-decoration: underline\" href=\"#ScreenExamples\">screen command<\/a><\/span><\/span>\u00a0is recommended.<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><em><u>Retrieve examples:<\/u><\/em><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><strong>1.<\/strong> Retrieve file <code>file1.txt<\/code> from directory <code>\/home\/proj1<\/code> and stored it in its original location.<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code> dsmc retrieve -se=userid \/home\/proj1\/file1.txt <\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code>If file1.txt exists, you will get the following dialog (E.g., enter 1 to overwrite the existing file):<\/p>\n<blockquote>\n<pre><code> Select an appropriate action \r\n        1. Replace this object \r\n        2. Replace all objects that already exist\r\n        3. Skip this object \r\n        4. Skip all objects that already exist \r\n        A. Abort this operation \r\n Action [1,2,3,4,A] : 1                                    \r\n Retrieving             8    \/usr\/local\/bin\/file1.txt [Done]\r\n<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><strong>2.<\/strong> Retrieve file <code>file1.txt<\/code> from directory <code>\/home\/proj1<\/code> and save to a different directory <code>\/home\/proj2<\/code> with different file name <code>file2.txt<\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code> dsmc retrieve -se=userid \/home\/proj1\/file1.txt   \/home\/proj2\/file2.txt<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><code><code><code><\/code><\/code><\/code><strong>3.<\/strong> Retrieve files from a &#8220;described&#8221; archive:<\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre><code> dsmc retrieve -se=userid -description=\"Important test45\"  \"*\" -sub=yes <\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><code><code><code><\/code><\/code><\/code><strong>4.<\/strong> Retrieve all the files from directory <code>\/home\/proj1<\/code> and save to a different directory <code>\/home\/proj2<\/code><\/p>\n<blockquote>\n<pre><code> dsmc retrieve -se=userid \/home\/proj1\/   \/home\/proj2\/ -sub=yes<\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><code><code><code><\/code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><code><code><code><\/code><\/code><\/code><a id=\"Deleting_Archive_Files\" name=\"Deleting_Archive_Files\"><\/a><strong><span style=\"color: #221f72\">Deleting Archive Files<\/span><\/strong><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><code><code><code><\/code><\/code><\/code><strong>1.<\/strong> Delete <code>file1.txt<\/code><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><code><code><code><\/code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre style=\"padding-left: 30px\"><code>dsmc delete archive -se=userid \"\/home\/proj1\/file1.txt\" <\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><code><code><code><\/code><\/code><\/code><strong>2.<\/strong> Delete all files below a specified directory<\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre style=\"padding-left: 30px\"><code>dsmc delete archive -se=userid \"home\/proj1\/\" -sub=yes <\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><code><code><code><\/code><\/code><\/code><strong>3.<\/strong> Delete all files in a described archive package<\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><code><code><code><\/code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><\/p>\n<p><code><code><\/code><\/code><\/p>\n<blockquote>\n<pre style=\"padding-left: 30px\"><code>dsmc delete archive -se=userid -description=\"not-so-important study\" \"*\" -sub=yes <\/code><\/pre>\n<\/blockquote>\n<p><code><code><\/code><\/code><code><code><\/code><\/code><code><code><code><\/code><\/code><\/code><strong>Note:<\/strong>\u00a0<span style=\"color: #0000ff\"><code>dsmc delete archive -se=userid\u00a0-description=\"not-so-important study\" \"*\"\u00a0<\/code>will delete nothing.<\/span><span style=\"font-family: 'Courier New', monospace;font-size: 14px\"><\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;10px||20px||false|false&#8221; custom_padding=&#8221;10px||20px||false|false&#8221;]<\/p>\n<h2><a id=\"files\"><\/a>Access Archived Files<\/h2>\n<h3><span style=\"color: #221f72\">Table of Contents:<\/span><\/h3>\n<h4><span style=\"text-decoration: underline;color: #d80b8c\"><a style=\"color: #d80b8c;text-decoration: underline\" href=\"#GUI_grant\">Grant access to other user using GUI<\/a><\/span><\/h4>\n<h4><span style=\"text-decoration: underline;color: #d80b8c\"><a style=\"color: #d80b8c;text-decoration: underline\" href=\"#GUI_access\">Access other user&#8217;s data using GUI<\/a><\/span><\/h4>\n<h4><span style=\"text-decoration: underline;color: #d80b8c\"><a style=\"color: #d80b8c;text-decoration: underline\" href=\"#CL_grant\">Grant archive access to other user(s) using the Command Line<\/a><\/span><\/h4>\n<h4><span style=\"text-decoration: underline;color: #d80b8c\"><a style=\"color: #d80b8c;text-decoration: underline\" href=\"#CL_access\">Access other users&#8217; archived files using Command Line<\/a><\/span><\/h4>\n<h4><a id=\"GUI_grant\" name=\"GUI_grant\"><\/a><\/h4>\n<h4><span style=\"text-decoration: underline;color: #d80b8c\">Grant Access To Other User Using GUI<\/span><\/h4>\n<p>Once on a login node, enter the following commands.<\/p>\n<blockquote>\n<pre><code>$ module load java\r\n$ dsmj -se=userid\r\n<\/code><\/pre>\n<\/blockquote>\n<p>On the main page, go to\u00a0<strong>Utilities<\/strong>\u00a0,\u00a0<strong>Node Access List<\/strong>, it will open up a window which shows you who has the access privileges to your node.<\/p>\n<p>To add new users to your access list, click\u00a0<strong>Add<\/strong>\u00a0on the right hand side of the panel. Select\u00a0<strong>Archived Objects<\/strong>\u00a0on\u00a0<strong>Permit Access to<\/strong>. Add the userid to the column\u00a0<strong>Grant Access to Node<\/strong>\u00a0and leave\u00a0<span style=\"color: #0000ff\"><strong>*<\/strong><\/span>\u00a0on the\u00a0<strong>User<\/strong>\u00a0column. If you only want to grant the access of some certain files\/directories, you can select that file\/directory on the\u00a0<strong>Filespace and Directory<\/strong>\u00a0column, or fill in the\u00a0<strong>Filename<\/strong>\u00a0and\u00a0<strong>Include subdirectories<\/strong>\u00a0part.[\/et_pb_text][et_pb_image src=&#8221;https:\/\/scpublic.dmz.hpc.mssm.edu\/HPC\/tsm\/tsm_grant_access.png&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; width=&#8221;80%&#8221; max_width=&#8221;80%&#8221; module_alignment=&#8221;center&#8221; custom_margin=&#8221;10px||20px||false|false&#8221; custom_padding=&#8221;10px||20px||false|false&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;10px||20px||false|false&#8221; custom_padding=&#8221;10px||20px||false|false&#8221;]Click\u00a0<strong>OK<\/strong>\u00a0to submit the rule.<br \/>\nYou can view\/change\/delete these access rules on the\u00a0<strong>Node Access List<\/strong>\u00a0window.<\/p>\n<p>&nbsp;<\/p>\n<h3><span style=\"color: #d80b8c\"><u>Access Other User&#8217;s Data Using GUI<\/u><\/span><\/h3>\n<p>After you launched the GUI of TSM (see above), on the main window, go to\u00a0<strong>Utilities<\/strong>,\u00a0<strong>Access Other Node<\/strong>.<\/p>\n<p>On the popped-up window, enter\u00a0userid\u00a0that you would like to access on both column\u00a0<strong>Node Name<\/strong>\u00a0and\u00a0<strong>User Name<\/strong>. Click\u00a0<strong>Set<\/strong>\u00a0and you can navigate and retrieve as normal.[\/et_pb_text][et_pb_image src=&#8221;https:\/\/scpublic.dmz.hpc.mssm.edu\/HPC\/tsm\/tsm_access_others.png&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; width=&#8221;60%&#8221; max_width=&#8221;60%&#8221; module_alignment=&#8221;center&#8221; custom_margin=&#8221;10px||20px||false|false&#8221; custom_padding=&#8221;10px||20px||false|false&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.9.0&#8243; header_font=&#8221;|600|||||||&#8221; header_text_color=&#8221;#221f72&#8243; header_2_text_color=&#8221;#221f62&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_margin=&#8221;10px||20px||false|false&#8221; custom_padding=&#8221;10px||20px||false|false&#8221;]<\/p>\n<h3><span style=\"color: #d80b8c\"><u>Grant Archive Access To Other User(s) Using the Command Line<\/u><\/span><\/h3>\n<p>The TSM command to grant access to your files is &#8220;<code>set access<\/code>&#8220;.\u00a0 The syntax for &#8220;<code>set access<\/code>&#8221; is:<\/p>\n<blockquote>\n<pre><code> Set Access Archive\/Backup $filespect $nodename $userid <\/code><\/pre>\n<\/blockquote>\n<p>If the parameter <code>$userid<\/code> is omitted, by default it points to all users (<code>*<\/code>).<\/p>\n<p>To grant\u00a0<b>user2<\/b>\u00a0access to your archived files:<\/p>\n<blockquote>\n<pre><code>$ dsmc -se=my_userid\r\nProtect&gt; set access archive * user2\r\nANS1148I 'Set Access' command successfully completed\r\n<\/code><\/pre>\n<\/blockquote>\n<p>To grant\u00a0<b>user2<\/b>\u00a0access to some of your archived files:<\/p>\n<blockquote>\n<pre><code>$ dsmc -se=my_userid\r\nProtect&gt; set access archive path-to-file user2<\/code><\/pre>\n<\/blockquote>\n<p>To query who can access your files:<\/p>\n<blockquote>\n<pre><code>$ dsmc q access -se=my_userid \r\nType     Node        User        Path\r\n----     ----------------------------\r\nArchive  user2       *           *\r\n<\/code><\/pre>\n<\/blockquote>\n<p>To delete the access rules, for example:<\/p>\n<blockquote>\n<pre><code>$ dsmc delete access -se=jiangd03 \r\nIndex Type     Node        User        Path\r\n----- ----     ----------------------------\r\n  1   Archive  THAKUB02    thakub02    \/hpc\/users\/jiangd03\/*\/*\r\n  2   Archive  THAKUB01    *           \/hpc\/users\/jiangd03\/find-active-user-mail\/*\r\n  3   Archive  THAKUB01    *           \/hpc\/users\/jiangd03\/find-active-user-mail\/*\/*\r\nEnter Index of rule(s) to delete, or quit to cancel:\r\n<\/code><\/pre>\n<\/blockquote>\n<p>This command will list all the access rules by index. You can enter the index number if you want to delete that rule.<\/p>\n<p><a id=\"CL_access\" name=\"CL_access\"><\/a><\/p>\n<h3><span style=\"color: #d80b8c\"><u>Access other user&#8217;s archived files using command line<\/u><\/span><\/h3>\n<p>After the access is granted by\u00a0<b>user1<\/b>, you can query and retrieve\u00a0<b>user1<\/b>&#8216;s\u00a0archived file:<\/p>\n<blockquote>\n<pre><code>$ dsmc q archive -se=my_userid -fromnode=user1 -fromowner=user1 path-to-file\r\n\r\n$ dsmc retrieve -se=my_userid -fromnode=user1 -fromowner=user1 path-to-file path-to-my-dir\r\n<\/code><\/pre>\n<\/blockquote>\n<p><strong>Note:<\/strong> <span style=\"color: #d80b8c\">After retrieval, the owner and group of the retrieved file will automatically changed to be the same as retriever.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2><a id=\"faq\"><\/a><span style=\"color: #221f72\">Frequently Asked Questions<\/span><\/h2>\n<p>&nbsp;<\/p>\n<h3><span style=\"color: #d60b8c\"><u><a href=\"#TSMBackup\">Can I use TSM for backup<\/a><\/u><\/span><\/h3>\n<h3><span style=\"color: #d60b8c\"><u><a href=\"#HowToUseOtherArchive\">How to access other users&#8217; archived files<\/a><\/u><\/span><\/h3>\n<h3><span style=\"color: #d60b8c\"><u><a href=\"#PermissionDenied\">Error message with Permission Denied<\/a><\/u><\/span><\/h3>\n<h3><span style=\"color: #d60b8c\"><u><a href=\"#ErrorFileUnavailable\">Error message with file currently unavailable on server<\/a><\/u><\/span><\/h3>\n<h3><span style=\"color: #d60b8c\"><u><a href=\"#ErrorRetrieveDisk\">Error message with file write protected and unable to retrieve to the disk<\/a><\/u><\/span><\/h3>\n<h3><span style=\"color: #d60b8c\"><u><a href=\"#ErrorMaxPoints\">Error message with exceeded maximum number of mount points<\/a><\/u><\/span><\/h3>\n<h3><span style=\"color: #d60b8c\"><u><a href=\"#ArchiveRetention\">Can I keep my archived data over the\u00a06 years&#8217; retention time?<\/a><\/u><\/span><\/h3>\n<p>For a more extensive discussion of using TSM, see <a href=\"https:\/\/www.ibm.com\/docs\/en\/storage-protect\/8.1.21?topic=clients-archive-retrieve-your-data-unix-linux\">IBM Spectrum Protect Manual<\/a><\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"TSMBackup\"><span style=\"color: #d60b8c\">Can I use TSM for backup<\/span><\/h3>\n<p>We don&#8217;t recommend users to use TSM for Backup unless it is really really needed for your work. TSM archive can meet the needs of most users, to keep copies for the data that is not needed for a while. Please use TSM archive when you can. If you do have important files constantly changing and you really need to backup them, please complete the<a href=\"https:\/\/redcap.mountsinai.org\/redcap\/surveys\/?s=8448MW9YAC\"> Minerva TSM Backup Request Form<\/a>. We will contact you to discuss it. Otherwise, if you run TSM backup without making a request, the process will be killed.<\/p>\n<hr \/>\n<h3 id=\"HowToUseOtherArchive\"><span style=\"color: #d60b8c\">How to access other users&#8217; archived files<\/span><\/h3>\n<p><a href=\"https:\/\/labs.icahn.mssm.edu\/minervalab\/documentation\/how-to-access-other-users-archived-files\/\">Follow this link for more information.<\/a><\/p>\n<hr \/>\n<h3 id=\"PermissionDenied\"><span style=\"color: #d60b8c\">What to do if you receive Permission Denied<\/span><\/h3>\n<p>During retrieval you may encounter the following error message: ANS1590W I\/O error writing file attribute: security.selinux for: \/dir-to-file\/file. errno = 13, Permission denied.<\/p>\n<p>This error is due to TSM failed to write some extended security information for your file. We have that feature turned off. Same error message may also appear from untarring tarballs that you imported from another installation. Despite this error message that TSM throws, the retrieval will continue and the data will not be impacted.<\/p>\n<hr \/>\n<h3 id=\"ErrorFileUnavailable\"><span style=\"color: #d60b8c\">Error message with file currently unavailable on server<\/span><\/h3>\n<p>Users are able to query the archived file, but the retrieve fails with error message:<\/p>\n<blockquote><p>11\/14\/17\u00a0\u00a0 18:03:31 ANS4035W File &#8216;filename&#8217; currently unavailable on server.<\/p><\/blockquote>\n<p>This is due to either the tape information is not correct or it did not load into the Library correctly, please send in a ticket and we will fix it for you.<\/p>\n<hr \/>\n<h3 id=\"ErrorRetrieveDisk\"><span style=\"color: #d60b8c\">Error message with file write protected and unable to retrieve to the disk<\/span><\/h3>\n<p>Users retrieving a file but get error message stating that the file is \u201c<span style=\"color: #ff0000\">write protected<\/span>\u201d and the file is unable to write to the designated directory. TSM may ask for options, but choice with &#8220;Force an overwrite for this object&#8221; does not work. User may also specify a different destination directory for retrieval, which the user have the write permission, but same error exits.<\/p>\n<p>This normally happens due to the write permission bit is taken away for the file when it is archived. Normally, this kind of file can be written to \/hpc and \/tmp, but not GPFS file systems such as \/sc\/hydra since GPFS has high security settings on the top layer. It is not possible to change the file permission once it is archived but we can provide workaround.<\/p>\n<p>If the file is small in size, please check the space in your home dir (\/hpc\/users\/userid), or \/tmp directory on the login nodes (use \u201cdf -h\u201d and look for available size in \u201c\/\u201d dir). Retrieve to these two directories first and move out to your desired directory. Please constantly monitor the size of the \/tmp and do not use over 70%.<\/p>\n<p>If you have a large size of file to retrieve and can not fit in these two directories, please send in a ticket and the admins will retrieve for you.<\/p>\n<hr \/>\n<h3 id=\"ErrorMaxPoints\"><span style=\"color: #d60b8c\">Error message with exceeded maximum number of mount points<\/span><\/h3>\n<p>Users may get following error using TSM:<\/p>\n<blockquote><p>ANS0326E This node has exceeded its maximum number of mount points<\/p><\/blockquote>\n<p>This is due to that a maximum of 4 TSM connections are allowed at a time for each node\/user. Both dsmc and dmsj commands counts for the TSM connection.\u00a0 Please limit your concurrent TSM connection to 4 and the error will go away.\u00a0 You may also want to check whether there is orphan TSM process from your earlier tsm activities. Terminate this orphan process will also free up more TSM connections.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h3 id=\"ArchiveRetention\"><span lang=\"en-US\" style=\"color: #d80b8c\">Can I keep my archived data over the\u00a06 years&#8217; retention time?<\/span><\/h3>\n<div>The 6 years&#8217; retention time is a global policy. It is defined when your tsm node is registered, its unmodifiable\u00a0 afterwards, and applies to all your archived files. There is no\u00a0command to change the &#8220;archived date&#8221; of your archived file, therefore the &#8220;expiration\u00a0date&#8221; cannot be changed.<\/div>\n<p>For files needed past their expiration date, we suggest you retrieve those files and archive them again. This is good practice for two reasons:<\/p>\n<div>1. We already have more than 10PB of data stored on tape, and we would like to free up\u00a0the data that users no longer need. &gt;<\/div>\n<div>2. Tape is\u00a0a magnetic storage media that\u00a0degrades over time. Re-archiving the data provides an opportunity to\u00a0refresh the tape.<\/div>\n<p>&nbsp;[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scientific Computing and Data \/ High Performance Computing \/ Documentation \/ Long-Term Data Archive: TSMLong-Term Data Archive: TSM Contents Archiving Data Access TSM with GUI Access TSM with Command Line Access Archived Files Frequently Asked Questions Archiving Data Important data stored on Minerva can be protected by archiving the data in the IBM Tivoli Storage [&hellip;]<\/p>\n","protected":false},"author":624,"featured_media":0,"parent":35,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-11206","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/11206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/users\/624"}],"replies":[{"embeddable":true,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/comments?post=11206"}],"version-history":[{"count":28,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/11206\/revisions"}],"predecessor-version":[{"id":12771,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/11206\/revisions\/12771"}],"up":[{"embeddable":true,"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/pages\/35"}],"wp:attachment":[{"href":"https:\/\/labs.icahn.mssm.edu\/minervalab\/wp-json\/wp\/v2\/media?parent=11206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}