Chat now with support
Chat with Support

NetVault 11.4.5 - CLI Reference Guide

Introduction Getting started Using the command-line utilities Using the nvreport utility

nvloadmedia

Use this command to load specific media items to a drive to read the media header or continue using the media from the CLI or from within a script. You can use nvdeviceeject command to return the media item to a home slot.

nvmakemedia

Increases the capacity of a Virtual Tape Library (VTL) by creating additional media files.

A VTL contains the following directories and files:

To add a media item, use the following steps:

2
In the slots directory, create a subdirectory which is one number larger than the existing largest numbered virtual slot directory.
3
Copy the “.media” file from one of the virtual slot directories to the virtual slot directory created in the previous step.
4
Modify the “.media” file in the newly created virtual slot directory from “1Y2NY00*” to “1Y2NY00X”, where X represents the new virtual media number.
5
Use the nvmakemedia command to create the media file.
Table 41. nvmakemedia

<file-size> poplib <library>

This form of the command verifies all media reference files within the specified <library>, and offers to create the file if the corresponding media data file does not exist. Enter “Y” or “y” to confirm media file creation.

<file-size>: File size can be an integer value followed by “k” for kilobytes, “m” for megabytes, “g” for gigabytes, or “t” for terabytes. For example, 102400k, 50m, 4g, 2t. The minimum file size allowed is 50m.
<library>: Full path to the target VTL name.

Example:

nvmakemedia 50M poplib c:\tst-vtl

<file-size> mediafiles <filename>

This form of the command creates a media file of the specified size.

<file-size>: File size can be an integer value followed by “k” for KB, “m” for MB, “g” for GB, or “t” for TB (for example, 102400k, 50m, 4g, 2t). The minimum file size allowed is 50m.
<filename>: Full path to the new media file. The filename is used as the barcode for the media item.

Example:

nvmakemedia 50M mediafiles c:\tst-vtl\1Y2NY006

nvmediadetails

Displays details pertaining to media items and media groups.

nvremovemedia

Deletes all information about a piece of media from NetVault Database.

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating