109 lines
6.9 KiB
HTML
109 lines
6.9 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2005" />
|
|
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="task" />
|
|
<meta name="DC.Title" content="Transferring control of a tape drive from Linux to i5/OS" />
|
|
<meta name="abstract" content="This topic discusses how to transfer control of a tape drive from Linux to i5/OS." />
|
|
<meta name="description" content="This topic discusses how to transfer control of a tape drive from Linux to i5/OS." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzau9linuxbackup.htm" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzau9tranztapos400" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Transferring control of a tape drive from Linux to i5/OS</title>
|
|
</head>
|
|
<body id="rzau9tranztapos400"><a name="rzau9tranztapos400"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Transferring control of a tape drive from Linux to <span class="keyword">i5/OS</span></h1>
|
|
<div><p>This topic discusses how to transfer control of a tape drive from Linux<sup>®</sup> to <span class="keyword">i5/OS™</span>.</p>
|
|
<div class="section"><p>To hand control of the tape drive back to <span class="keyword">i5/OS</span>,
|
|
unlock it on the Linux side and then make it available on the <span class="keyword">i5/OS</span> side. This procedure is simply
|
|
the reverse of the process you used to pass control of the tape drive to Linux. </p>
|
|
<p>Note
|
|
that if you shut down the integrated Linux server, or the Linux server
|
|
fails before you unlock the tape drive, it unlocks automatically. However,
|
|
it is still in an unavailable state in <span class="keyword">i5/OS</span>.</p>
|
|
<p>To
|
|
transfer control of a tape drive from Linux to <span class="keyword">i5/OS</span>,
|
|
use one of the following methods:</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzau9linuxbackup.htm" title="This topic introduces the techniques you can use to perform Linux-centric backup and recovery on an Integrated xSeries Server or Integrated xSeries Adapter running Linux.">Linux-centric backup and recovery</a></div>
|
|
</div>
|
|
</div><div class="nested1" xml:lang="en-us" id="rzau9tranztapos400linux"><a name="rzau9tranztapos400linux"><!-- --></a><h2 class="topictitle2">Transfer control of a tape drive with Linux commands</h2>
|
|
<div><div class="section"><p>To transfer control of an iSeries™ tape drive back to <span class="keyword">i5/OS</span> from Linux with Linux commands,
|
|
complete the following steps:</p>
|
|
</div>
|
|
<ol><li class="stepexpand"><span>To unlock the tape drive from Linux, start a Linux terminal session and log in as root.</span></li>
|
|
<li class="stepexpand"><span>At the command prompt enter the ixsdev command and press <span class="uicontrol">Enter</span>.
|
|
The syntax is:</span> <pre>ixsdev [-list] | [[-lock | -unlock] device name]</pre>
|
|
<p>To
|
|
unlock TAP02 from Linux you would enter the following command:</p>
|
|
<pre>ixsdev -unlock TAP02</pre>
|
|
<p>You
|
|
could also use the Linux name:</p>
|
|
<pre>ixsdev -unlock /dev/st1</pre>
|
|
<div class="note"><span class="notetitle">Note:</span> In Linux,
|
|
commands are case sensitive. Make sure you use the same case as in our examples,
|
|
for example, use TAP02 not tap02.</div>
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div class="nested1" xml:lang="en-us" id="rzau9tranztapos400inav"><a name="rzau9tranztapos400inav"><!-- --></a><h2 class="topictitle2">Transfer control of a tape drive with iSeries Navigator</h2>
|
|
<div><div class="section"><p>To transfer control of an iSeries tape drive back to <span class="keyword">i5/OS</span> with
|
|
the iSeries Navigator,
|
|
complete the following steps:</p>
|
|
</div>
|
|
<ol><li><span>From an iSeries Navigator window, expand the <span class="keyword">i5/OS</span> partition
|
|
you are working with.</span></li>
|
|
<li><span>Click <span class="menucascade"><span class="uicontrol">Configuration and Service</span> > <span class="uicontrol">Hardware</span> > <span class="uicontrol">Tape Devices</span></span>.</span></li>
|
|
<li><span>Click <span class="uicontrol">Stand-Alone Devices</span> and then right-click
|
|
the tape device you want to transfer control of to <span class="keyword">i5/OS</span>.
|
|
Select <span class="uicontrol">Make Available</span>.</span></li>
|
|
<li><span>If the tape device is also a tape library, click <span class="uicontrol">Tape
|
|
Libraries</span> and then right-click the tape library you want to transfer
|
|
control of to <span class="keyword">i5/OS</span>. Select <span class="uicontrol">Make
|
|
Available</span>.</span></li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div class="nested1" xml:lang="en-us" id="rzau9tranztapos400cl"><a name="rzau9tranztapos400cl"><!-- --></a><h2 class="topictitle2">Transfer control of a tape drive with CL commands</h2>
|
|
<div><div class="section"><p>To transfer control of an iSeries tape drive back
|
|
to <span class="keyword">i5/OS</span> with CL commands,
|
|
complete the following steps:</p>
|
|
</div>
|
|
<ol><li class="stepexpand"><span>On an <span class="keyword">i5/OS</span> command
|
|
line, use the following command to vary on the tape device:</span> <pre>WRKCFGSTS *DEV *TAP</pre>
|
|
</li>
|
|
<li class="stepexpand"><span>On the Work with Configuration Status display, find the tape device
|
|
you want to transfer control of to <span class="keyword">i5/OS</span>.
|
|
Type <kbd class="userinput">1</kbd> next to the device and press <span class="uicontrol">Enter</span>.</span></li>
|
|
<li class="stepexpand"><span>If the tape device is also configured as a tape library, enter
|
|
the following command:</span> <pre>WRKCFGSTS *DEV *TAPMLB</pre>
|
|
</li>
|
|
<li class="stepexpand"><span>On the Work with Configuration Status display, find the tape library
|
|
you want to transfer control of to <span class="keyword">i5/OS</span>.
|
|
Type <kbd class="userinput">1</kbd> next to the library and press <span class="uicontrol">Enter</span>.</span></li>
|
|
</ol>
|
|
<div class="section">You can now use the tape drive from <span class="keyword">i5/OS</span>.</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |