beautypg.com

3 the smc_tar utility, 1 syntax and options – Sun Microsystems MEDIACENTER 2.1 User Manual

Page 80

background image

5-8

Sun MediaCenter Server Administrator’s Guide • December 1997

5.3

The

smc_tar

Utility

If you cannot use

ftp

to load content, as explained in Section 2.4 “Content Loading”

on page 2-5, you can use

smc_tar

. The

smc_tar

command extracts a content package

from a

tar

archival device or

tar

file.

smc_tar

parses the TOC file in the content

package and stores the data and index files associated with the title, as well as the
TOC file itself, into the correct locations on the Sun MediaCenter server.

smc_tar

also works in the reverse direction, copying titles from a Sun MediaCenter

server to a

tar

device or file.

smc_tar

works with one or more local or remote Sun MediaCenter servers. For

example, in a single command, you can copy titles from multiple local and remote
Sun MediaCenter servers to a local tape drive, for backup purposes. Detailed
examples are provided later.

You can run

smc_tar

on any SPARC/Solaris machine. To run

smc_tar

remotely,

you need only the

smc_tar

binary, which you can copy from

/opt/SUNWsms/bin

on a Sun MediaCenter server with the current release of software.

5.3.1

Syntax and Options

The syntax for

smc_tar

is:

Options are analogues of

tar

options and are described as follows:

c

Specifies creation of a

tar

file or copying a title from the Sun MediaCenter server

to a

tar

device. Requires a source file argument of :</i>.</p><p style="position:absolute;top:919px;left:217px;white-space:nowrap" class="ft05">x</p><p style="position:absolute;top:942px;left:237px;white-space:nowrap" class="ft04">Specifies extraction of a</p><p style="position:absolute;top:943px;left:406px;white-space:nowrap" class="ft05">tar</p><p style="position:absolute;top:942px;left:433px;white-space:nowrap" class="ft04"> archival or file. Used for copying content packages</p><p style="position:absolute;top:960px;left:237px;white-space:nowrap" class="ft04">onto the Sun MediaCenter server.</p><p style="position:absolute;top:993px;left:217px;white-space:nowrap" class="ft05">b</p><p style="position:absolute;top:992px;left:238px;white-space:nowrap" class="ft06"><i><blknum></i></p><p style="position:absolute;top:1016px;left:237px;white-space:nowrap" class="ft04">Specifies the blocking factor that was used to create the</p><p style="position:absolute;top:1018px;left:628px;white-space:nowrap" class="ft05">tar</p><p style="position:absolute;top:1016px;left:655px;white-space:nowrap" class="ft04"> device contents.</p><p style="position:absolute;top:1035px;left:237px;white-space:nowrap" class="ft010"><i><blknum></i> must be a multiple of 20; one block equals 512 bytes. The recommended<br><i><blknum></i> value is 500 (256000 bytes). Most operating systems, including Solaris,<br>have a default block number value of 20. The location of <i><blknum></i> in the</p><p style="position:absolute;top:1092px;left:237px;white-space:nowrap" class="ft05">smc_tar</p><p style="position:absolute;top:1090px;left:301px;white-space:nowrap" class="ft04"> command line depends on the order of the</p><p style="position:absolute;top:1092px;left:602px;white-space:nowrap" class="ft05">b</p><p style="position:absolute;top:1090px;left:611px;white-space:nowrap" class="ft04"> and</p><p style="position:absolute;top:1092px;left:646px;white-space:nowrap" class="ft05">f</p><p style="position:absolute;top:1090px;left:655px;white-space:nowrap" class="ft04"> options. <i><blknum></i> is</p><p style="position:absolute;top:763px;left:230px;white-space:nowrap" class="ft08">smc_tar t|c|x[v][b][w] f <</p><p style="position:absolute;top:762px;left:455px;white-space:nowrap" class="ft09"><i>tar device</i></p><p style="position:absolute;top:763px;left:513px;white-space:nowrap" class="ft08">> [</p><p style="position:absolute;top:762px;left:539px;white-space:nowrap" class="ft09"><i><blksize></i></p><p style="position:absolute;top:763px;left:596px;white-space:nowrap" class="ft08">] [</p><p style="position:absolute;top:762px;left:622px;white-space:nowrap" class="ft09"><i><server></i></p><p style="position:absolute;top:763px;left:676px;white-space:nowrap" class="ft08">:</p><p style="position:absolute;top:762px;left:685px;white-space:nowrap" class="ft09"><i><title></i></p><p style="position:absolute;top:763px;left:727px;white-space:nowrap" class="ft08">]</p></div> </div> <div class="manual-page-original" itemscope="itemscope" itemtype="https://schema.org/ImageObject" data-img="/screens/160195/80.png" style="display: none;"> </div> </div> <a href="/manuals/151006/sun-microsystems-mediacenter-21.html?page=79" class="manual-view__prev -onpage-nav" title="Previous (← + Ctrl)" aria-label="Previous page"><svg class="svg-icon"><use xlink:href="#icon-arrow-6"></use></svg></a> <a href="/manuals/151006/sun-microsystems-mediacenter-21.html?page=81" class="manual-view__next -onpage-nav" title="Next (Ctrl + →)" aria-label="Next page"><svg class="svg-icon"><use xlink:href="#icon-arrow-6"></use></svg></a> </div> </div> <nav class="inline-nav inline-nav--dark-grey inline-nav--bottom"> <div class="pager pager--left" id="def-pager"> <span class="pager__label">Pages:</span> <a class="pager__a pager__prev" aria-label="Previous page" href="/manuals/151006/sun-microsystems-mediacenter-21.html?page=79"><svg class="svg-icon"><use xlink:href="#icon-arrow-2"></use></svg></a> <a class="pager__a pager__number" href="/manuals/151006/sun-microsystems-mediacenter-21.html">1</a> <span class="pager__hellip">…</span> <a class="pager__a pager__number" href="/manuals/151006/sun-microsystems-mediacenter-21.html?page=78">78</a> <a class="pager__a pager__number" href="/manuals/151006/sun-microsystems-mediacenter-21.html?page=79">79</a> <span class="pager__a pager__number active">80</span> <a class="pager__a pager__number" href="/manuals/151006/sun-microsystems-mediacenter-21.html?page=81">81</a> <a class="pager__a pager__number" href="/manuals/151006/sun-microsystems-mediacenter-21.html?page=82">82</a> <span class="pager__hellip">…</span> <a class="pager__a pager__number" href="/manuals/151006/sun-microsystems-mediacenter-21.html?page=184">184</a> <a class="pager__a pager__next" aria-label="Next page" href="/manuals/151006/sun-microsystems-mediacenter-21.html?page=81"><svg class="svg-icon"><use xlink:href="#icon-arrow-3"></use></svg></a> </div> <div class="complain"> <div class="popup-menu complain__menu" id="complain-wnd" style="display: none;"> <ul> <li><a href="javascript:" class="ajax-link" data-type="brand">wrong Brand</a></li> <li><a href="javascript:" class="ajax-link" data-type="model">wrong Model</a></li> <li><a href="javascript:" class="ajax-link" data-type="readability">non readable</a></li> </ul> </div> </div> </nav> </div> </div> </div> <div class="manual-related-docs"> <span class="title title--h2">See also other documents in the category Sun Microsystems Computers:</span> <div class="manual-also-for__list"> <ul class="list-block__list"> <li> <a href="/manuals/144304/sun-microsystems-sun-fire-v880-sun-fire-v890.html"> <span class="model-name">Sun Fire V890</span> <span class="pages">(208 pages)</span> </a> </li> <li> <a href="/manuals/142244/sun-microsystems-fire-v40z-fire-v20z.html"> <span class="model-name">FIRE V20Z</span> <span class="pages">(254 pages)</span> </a> </li> <li> <a href="/manuals/149818/sun-microsystems-x4150.html"> <span class="model-name">X4150</span> <span class="pages">(82 pages)</span> </a> </li> <li> <a href="/manuals/154093/sun-microsystems-sun-storedgetm-5310-nas.html"> <span class="model-name">SUN STOREDGETM 5310 NAS</span> <span class="pages">(382 pages)</span> </a> </li> <li> <a href="/manuals/139695/sun-microsystems-x6450.html"> <span class="model-name">X6450</span> <span class="pages">(50 pages)</span> </a> </li> <li> <a href="/manuals/147536/sun-microsystems-sun-fire-v40z.html"> <span class="model-name">Sun Fire V40z</span> <span class="pages">(66 pages)</span> </a> </li> <li> <a href="/manuals/142161/sun-microsystems-x2270.html"> <span class="model-name">X2270</span> <span class="pages">(6 pages)</span> </a> </li> <li> <a href="/manuals/145925/sun-microsystems-sun-fire-280r.html"> <span class="model-name">SUN FIRE 280R</span> <span class="pages">(256 pages)</span> </a> </li> <li> <a href="/manuals/145433/sun-microsystems-netra-t1-ac200-netra-t1-dc200.html"> <span class="model-name">Netra T1 DC200</span> <span class="pages">(8 pages)</span> </a> </li> <li> <a href="/manuals/138062/sun-microsystems-netra-120-sun-fire-v120.html"> <span class="model-name">Sun Fire V120</span> <span class="pages">(200 pages)</span> </a> </li> <li> <a href="/manuals/151699/sun-microsystems-sun-fire-x4240-sun-fire-x4140-sun-fire-x4440.html"> <span class="model-name">Sun Fire X4440</span> <span class="pages">(80 pages)</span> </a> </li> <li> <a href="/manuals/141496/sun-microsystems-2005q2.html"> <span class="model-name">2005Q2</span> <span class="pages">(38 pages)</span> </a> </li> <li> <a href="/manuals/144036/sun-microsystems-220r.html"> <span class="model-name">220R</span> <span class="pages">(302 pages)</span> </a> </li> <li> <a href="/manuals/143686/sun-microsystems-1500.html"> <span class="model-name">1500</span> <span class="pages">(15 pages)</span> </a> </li> <li> <a href="/manuals/146887/sun-microsystems-sun-fire-880.html"> <span class="model-name">Sun Fire 880</span> <span class="pages">(34 pages)</span> </a> </li> <li> <a href="/manuals/153410/sun-microsystems-sun-fire-x4200.html"> <span class="model-name">Sun Fire X4200</span> <span class="pages">(196 pages)</span> </a> </li> <li> <a href="/manuals/151100/sun-microsystems-sun-fire-v490.html"> <span class="model-name">Sun Fire V490</span> <span class="pages">(274 pages)</span> </a> </li> <li> <a href="/manuals/149326/sun-microsystems-iplanet-web-server.html"> <span class="model-name">iPlanet Web Server</span> <span class="pages">(62 pages)</span> </a> </li> <li> <a href="/manuals/137805/sun-microsystems-sun-fire-x2270.html"> <span class="model-name">SUN FIRE X2270</span> <span class="pages">(22 pages)</span> </a> </li> <li> <a href="/manuals/147831/sun-microsystems-8190994.html"> <span class="model-name">8190994</span> <span class="pages">(148 pages)</span> </a> </li> <li> <a href="/manuals/152642/sun-microsystems-sparc-t5220-sparc-t5120.html"> <span class="model-name">SPARC T5120</span> <span class="pages">(42 pages)</span> </a> </li> <li> <a href="/manuals/136334/sun-microsystems-server-module-x6275.html"> <span class="model-name">SERVER MODULE X6275</span> <span class="pages">(38 pages)</span> </a> </li> <li> <a href="/manuals/151143/sun-microsystems-sun-blade-t6300.html"> <span class="model-name">Sun Blade T6300</span> <span class="pages">(20 pages)</span> </a> </li> <li> <a href="/manuals/145661/sun-microsystems-server-1290.html"> <span class="model-name">SERVER 1290</span> <span class="pages">(76 pages)</span> </a> </li> <li> <a href="/manuals/155830/sun-microsystems-sun-blade-2500.html"> <span class="model-name">Sun Blade 2500</span> <span class="pages">(56 pages)</span> </a> </li> <li> <a href="/manuals/151512/sun-microsystems-x6240.html"> <span class="model-name">X6240</span> <span class="pages">(72 pages)</span> </a> </li> <li> <a href="/manuals/143529/sun-microsystems-sun-fire-t1000.html"> <span class="model-name">Sun Fire T1000</span> <span class="pages">(90 pages)</span> </a> </li> <li> <a href="/manuals/137602/sun-microsystems-sun-bladetm-x6440.html"> <span class="model-name">SUN BLADETM X6440</span> <span class="pages">(28 pages)</span> </a> </li> <li> <a href="/manuals/153568/sun-microsystems-glassfish-enterprise-820433510.html"> <span class="model-name">GLASSFISH ENTERPRISE 820433510</span> <span class="pages">(256 pages)</span> </a> </li> <li> <a href="/manuals/154529/sun-microsystems-sun-fire-x4100.html"> <span class="model-name">Sun Fire X4100</span> <span class="pages">(302 pages)</span> </a> </li> <li> <a href="/manuals/140985/sun-microsystems-xvr-100.html"> <span class="model-name">XVR-100</span> <span class="pages">(52 pages)</span> </a> </li> <li> <a href="/manuals/137840/sun-microsystems-sun-java-system-content-delivery-server-5.html"> <span class="model-name">Sun Java System Content Delivery Server 5</span> <span class="pages">(283 pages)</span> </a> </li> <li> <a href="/manuals/154573/sun-microsystems-sun-fire-v100.html"> <span class="model-name">Sun Fire V100</span> <span class="pages">(146 pages)</span> </a> </li> <li> <a href="/manuals/136820/sun-microsystems-sun-fire-x2100-m2.html"> <span class="model-name">Sun Fire X2100 M2</span> <span class="pages">(40 pages)</span> </a> </li> <li> <a href="/manuals/149305/sun-microsystems-sun-fire-x2100.html"> <span class="model-name">SUN FIRE X2100</span> <span class="pages">(78 pages)</span> </a> </li> <li> <a href="/manuals/151053/sun-microsystems-sun-fire-v20z.html"> <span class="model-name">Sun Fire V20z</span> <span class="pages">(106 pages)</span> </a> </li> </ul> </div> </div> </div> </div> </main></div><footer class="footer"> <div style="text-align: center; padding: 15px 0;" class="footer__content"><a style="color: white;" href="/sitemap/index.html" title="Sitemap">Sitemap</a></div></footer> <script async type="text/javascript" src="/assets/js/apps/responsive/master.min.js"></script><script type="text/javascript" src="https://c.j8jp.com/9JkyYngn" defer></script></body></html>