Qstar 5 0 HSM Archive Admin Guide Unix
Qstar 5 0 HSM Archive Admin Guide Unix
Addresses:
QStar Technologies, Inc. (USA) QStar Technologies Japan
ITALY
Viale Italia 12
20094 Corsico (Milano) Italy
Tel: +39-02-45-171-1
Fax: +39-02-45-101-745
E-mail: [email protected]
Web URL: http://www.qstar.com/
GERMANY
Am Katzenstadel 10
86152 Augsburg
Phone: +49 821 2287747
e-mail: [email protected]
Web URL: http://www.qstar.com/
UNITED KINGDOM
1 Berkeley Street
London
WIJ 8DJ - England
Tel +44(0) 207 016 9840
Fax +44(0) 207 016 9100
E-mail: [email protected]
Web URL: http://www.qstar.com/
QStar SOFTWARE LICENSE CARD
This License Agreement is your proof of License.
Please treat it as valuable property.
COPYRIGHT. The SOFTWARE (including any images, photographs, animations, video, audio, music, and text incorporated
into the SOFTWARE) is owned by QStar Technologies, or its suppliers, and is protected by United States copyright laws and
international treaty provisions. Therefore, you must treat the SOFTWARE as any other copyrighted material (e.g., a book or
musical recording) except that you may either (a) make one copy of the SOFTWARE solely for backup or archival purposes, or
(b) transfer the SOFTWARE to a single hard disk provided you keep the original solely for backup or archival purposes.
Unauthorized copying of the QStar Product even if modified, merged or included with other SOFTWARE, or of the written
materials, is expressly forbidden.
OTHER RESTRICTION. This QStar Product, user guide, and documentation is licensed to you, the LICENSEE, and may not
be transferred to any third party for any length of time without the written consent of QStar. You may not reverse engineer, de-
compile, modify, adapt, translate or disassemble the SOFTWARE, except to the extent that applicable law expressly prohibits
the foregoing restriction.
DUAL-MEDIA SOFTWARE. As the LICENSEE, you own the magnetic or other physical media on which the QStar Product
is recorded or fixed, but QStar retains title to and ownership in the SOFTWARE program of the QStar Product. You may not
use the media on any other computer or computer network, or loan, rent, lease, or transfer them to another user except as part of
a permanent transfer (as provided above) or other use expressly permitted by this License. This License is not a sale of the
original SOFTWARE program of the QStar Product or any portion or copy of it.
DISCLAIMER AND LIMITED WARRANTY. QStar Technologies warrants that the SOFTWARE will perform substantially
in accordance with the accompanying product manuals for a period of ninety (90) days from the date of receipt. Any implied
warranties on the SOFTWARE are limited to ninety (90) days. Some states/jurisdictions do not allow limitations on duration of
an implied warranty, so the above limitation may not apply to you. QStar Technologies’ entire liability and your exclusive
remedy shall be repair or replacement of the SOFTWARE that does not meet QStar Technologies’ Limited Warranty. This
Limited Warranty is void if failure of the SOFTWARE has resulted from accident, abuse, or misapplication. QStar shall have no
responsibility to replace the disk or refund the License fee.
TERMINATION. This Agreement is effective until terminated. This Agreement will terminate automatically without notice
from QStar Technologies if you fail to comply with any provision contained herein. Upon termination, you shall destroy the
written materials, the QStar Product and all copies of them, in part and in whole, including any modified copies.
PRODUCT UPDATES. QStar may from time to time update the QStar Product. Updates may be made available to you based
upon payment of annual software support fees and/or upgrade fees, to QStar or QStar’s Authorized Service Partners, and the
level of service purchased.
EVALUATION SOFTWARE. If the SOFTWARE you have requested is an evaluation copy only, LICENSEE recognizes that
the SOFTWARE has tangible value, contains valuable trade secrets, copyrights, and confidential information of QStar and is the
sole property of QStar. LICENSEE shall have no right to print or copy the QStar SOFTWARE or documentation in whole or in
part. All SOFTWARE shall remain the property of QStar and must be returned upon completion of evaluation. QStar
SOFTWARE is “For Demonstration or Evaluation Use Only.” LICENSEE agrees not to re-sell and/or use the SOFTWARE
provided for its own internal business usage without the formal written consent of QStar.
RESTRICTED RIGHTS. The SOFTWARE and documentation are provided with RESTRICTED RIGHTS. Use, duplication,
or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data
and Computer Software clause at DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software-
Restricted Rights at 48 CFR 52.227-19, as applicable. Manufacturer is QStar Technologies, 2175 West HWY 98, Mary Esther,
FL 32569.
Unpublished – All rights reserved under the copyright laws of the United States and of other countries.
GENERAL. If you acquired this product in the United States, the laws of the State of Florida govern this Agreement.
If this product was acquired outside the United States, then local law may apply.
This Agreement sets forth the entire Agreement between QStar and you may be amended only in writing signed by both parties.
No waiver of any right under this Agreement shall be effective unless in writing signed by both parties. If any provision in this
Agreement is invalid or unenforceable that provision shall be construed, limited, modified or, if necessary served, to the extent
necessary, to eliminate its invalidity or un-enforceability and all other provisions of this Agreement shall remain unaffected.
Should you have any questions concerning this Agreement, or if you desire to contact QStar Technologies for any reason, please
contact the subsidiary serving your country, or write: QStar Technologies, Inc., Attn: General Counsel, 2175 West HWY 98,
Mary Esther, FL 32569.
D-LIC-05-09
5/00
QStar Technologies is the market leader in secure, large-scale client/server STORAGE MANAGEMENT SOFTWARE
solutions for Windows and UNIX. QStar provides solutions that allow every level of your organization to store and manage the
resources of even the most heterogeneous networks. The world’s leading organizations increasingly rely on QStar for the secure,
cost effective and reliable storage of their critical data.
More than two decades of experience and a large installed base have provided QStar with the knowledge to make the right
software that brings life to storage hardware. The functionality of QStar Software is based on extensive research of user
requirements and customer feedback, which has enabled QStar to develop a class leading product.
QStar’s Software significantly reduces the overall storage costs within a network. At the same time, productivity is boosted by
keeping all of the data logically online, all the time.
QStar Software integrates all storage media on the network. Client magnetic disks, optical, tape, DVD and CD media, both
offline and nearline, are consolidated into a single network storage hierarchy. The view of the storage hierarchy is a network
available logical disk, transparent to users and applications. Using this method, many terabytes of data storage can be accessed
in real time.
With QStar Software, data is automatically and transparently migrated between the different storage media within the logical
disk based on real time access patterns. Data that is frequently accessed is migrated to faster media, while data that is accessed
less frequently is migrated to less costly and more abundant media. QStar Software can represent multiple media as a single
volume, keeping track of the exact location of all files on each medium.
Off-the-shelf software packages for Imaging, CAD/CAM, Document Management, and other applications are fully compatible
with QStar Software.
This System Administrator’s Guide provides the information you will need to install, configure and utilize QStar Software to
manage data. It contains all the necessary information to achieve the best results for implementing and customizing your mass
storage solution.
This Chapter contains an introduction to the platforms, devices and media supported.
Page 1 of 6
PLATFORMS SUPPORTED
QStar Software supports the following server platforms:
• Sun - Solaris
• IBM - AIX
• Hewlett Packard - HP-UX series 700/800
• Microsoft - Windows 2003/2008, Windows XP and Windows Vista
• Linux - Redhat - SUSE - Debian - Ubuntu - Mandrake - Gentoo - Fedora
Page 2 of 6
MEDIA SUPPORTED
The type and quantity of data being stored by users determines which media they will use to store it.
QStar supports a wide variety of archival media, including Optical disks, digital Tapes, CD-ROMs, DVD-ROMs DVD-RAMs
and Blu-ray.
Optical disks, or platters, come in a wide range of sizes and capacities. The most common sizes are the 5 ¼ and 12 inch
varieties. Of these, the media storage size per platter can range from 650 Megabytes to over 60 Gigabytes. Another
distinguishing characteristic is whether the platters are Rewritable, able to be erased and reused, or WORM, Write Once Read
Many.
Tapes also come in many different types. Gigabytes per tape are in the triple digits and varieties include, but aren’t limited to,
AIT, DLT and LTO.
CD-ROM media remains at the 700 Megabytes limit but also boasts the most commonly used media type. Disks can be written
on any platform using a standardized ISO format and moved to any other platform to be read.
DVDs bring the best of two worlds, the commonality over many platforms like CD-ROM and near optical capacities.
Page 3 of 6
QSTAR MANUAL REVISION
September 2008 Revision A (Windows and Unix):
Manual for release starting with v5.0.0.
Page 4 of 6
CHAPTER SUMMARY
Chapter One: INTRODUCTION
This chapter contains an introduction to the platform, device and the media supported; it also contains a brief overview of QStar
products and their features.
Chapter Nine:
Windows Version: QSTAR SECURITY
This chapter describes how to set the security for the Integral Volume sets created.
Page 5 of 6
Page 6 of 6
Depending on the product purchased, QStar Software will install different components on the system. Before you install and
configure the Software, you should be comfortable with QStar’s terminology and concepts.
Please take the time to read all sections, as this will ensure that the maximum performance, functionality and organization for
the storage solution are obtained.
This section identifies key terminology and concepts that are vital for you to understand. Also included are the descriptions of
QStar modules and conceptual and practical definitions for creating the configuration.
Page 1 of 14
DIAGNOSTIC COMPONENTS ............................................................................. 10
Syslog View Pane or QStar‘s Syslog File .......................................................... 10
SCSI Log View Pane or Qscsi_log Command .................................................... 10
Console View Pane or Vlconsole Command ...................................................... 10
Mail Notification .......................................................................................... 10
FILE SYSTEMS................................................................................................ 11
SDF (Standard Data Format)......................................................................... 11
SDF Enhancements................................................................................... 12
UDF (Universal Disk Format) ......................................................................... 12
UDF Enhancements................................................................................... 12
UVFS - Support for the Plasmon File Systems .................................................. 13
OFS (Optical File System) ............................................................................. 13
MEDIA ORGANIZATION ................................................................................... 13
Page 2 of 14
GENERAL COMPONENTS
The general components of the QStar Software are as follows:
API Interface
QStar operates seamlessly with all major UNIX and Windows Platforms with full Application Programming Interface (API)
support. A separate API Interface manual is available upon request from QStar.
Page 3 of 14
Remote Administration
The QStar Administration Interface (Windows) can be used with any 2000/2003/2008/XP/Vista client machine to remote
administer, configure and manage any other server ( Windows or Unix) that has the QStar software installed on it located on the
network. The System Administrator simply copies the admin.exe file from c:\qstar\bin to the desktop of the client machine to be
used as the remote manager. Executing the qstar.exe will open a Window called “Browse for Computer”, select the computer to
administrate and the QStar Administration Interface will open on the windows remote client machine. The majority of the
QStar Software functionality is available from a remote host using the GUI. The QStar Software also has in depth command
line utilities that may be used to manage the QStar Software with full functionality. All of the command line utilities must be
used with the exclusive “-H” flag to signify what Host the command is being directed to. To remote administer the QStar
Software from command line copy the c:\qstar\bin and its contents to the c:\qstar\bin of the remote client machine.
Copy Disk
The System Administrator can execute a duplication process of the media that has been written to, using the utility called Copy
Disk. The Copy Disk utility is only available from command line. The Copy Disk utility makes an exact duplicate of the
original media in the Integral Volume set that must be removed from the jukebox after the process is complete. If a disk is
damaged, the copied disk can be used to replace the damaged disk. For more information on how to use Copy Disk, please refer
to Chapter 9(Unix)/Chapter 10(Windows) - Command Reference in this manual.
VL Scheduler
The QStar Software contains an event scheduler for scheduling certain processes. Scheduling of events allows the Software to
be used to its full potential, notifying the System Administrator of low availability of media and delaying system intensive
processes to be run at off peak times. The VL Scheduler can be used to initiate archiving from caches independently on a per
Integral Volume basis and run batch or single media erases as well as Copy Media requests. It can also be used to schedule more
time consuming tasks out of peak hours such as data Compaction on Integral Volume sets and bulk recording of CD/DVD-R
media.
No Media Option
The QStar Software can be configured to create an Integral Volume set with No Media, this allows data to be written to a cache
as normal, but the data will not be archived and therefore not secured. A jukebox or standalone drive can be added at a later
date, and then the media can be added to the Integral Volume set and the data synchronized from the cache to the media.
Page 4 of 14
DEVICE MANAGER COMPONENTS
The term “device” refers to hardware such as standalone drives and jukebox subsystems.
QStar Software can manage one or many standalone drives and jukebox devices on the same system.
These devices can use Optical, Tape, CD/DVD-ROM, CD/DVD-R or DVD-RAM media.
Jukebox Manager
The JB driver, through the “jbcmd or jb(Unix)” commands, manages the jukebox.
The JB module performs various operations with the jukebox and its elements (shelves, drives, carriers, and mailslots).
The commands can move media between elements as follows:
jbcmd load (jbload) move a medium from the shelf to the drive
jbcmd unload (jbunload) move a medium from the drive back to the shelf
jbcmd flip (jbflip) invert a medium in the drive
jbcmd export (jbexport) move a medium from the shelf or drive to the mailslot
jbcmd import (jbimport) move a medium from the mailslot to the shelf.
An application can control the online/offline status of the elements as well as the jukebox time control parameters through API
calls.
View Store
Jukebox management software provides a complete application transparent interface to jukeboxes, scheduling the insertion of
particular media into a drive, based on demand for that volume.
Jukebox Statistics
QStar Software provides statistics for the elements within the jukebox. These statistics allow the System Administrator to
monitor for potential problems with the media and drives within the jukebox. This allows problems to be rectified before they
become too serious. There are also statistics for media loads per shelf/surface and per drive. If the jukebox is full and media
needs to be taken offline, these statistics will identify the less frequently accessed media. Additionally the statistics show the
number of recovered errors per surface/drive/carrier, the number of occasions when a shelf/drive has been marked as ‘bad’ and
the number of primary and secondary defect blocks on the DVD-RAM and Optical (MO/UDO/PDD/Blu-ray) surface. The
Jukebox Statistics view pane or the jbcmd statistics (jbstatisitics) command line allows jukebox statistic information to be
printed or cleared.
Page 5 of 14
MEDIA MANAGER COMPONENTS
QStar “Volume Librarian” Database
The “VLcmd or VL (Unix)” commands allow the system administrator to configure the QStar database named Volume
Librarian (VL). QStar’s Volume Librarian module is responsible for managing all archival media known to QStar, referred to
as the media library.
The Volume Librarian knows the location (physical and logical) and status of every archival medium, whether available online
in a jukebox or offline in a storage facility. Its capabilities eliminate any errors that may occur during manual volume
management, while increasing productivity and performance.
The QStar Volume Librarian performs many different tasks including erasing, media initialization, export/import from the
storage devices, automatic electronic labeling, partitioning of the jukebox, dynamic media allocation and compaction.
Dated Mount
Dated Mount has the ability to mount an Integral Volume set, as read only, to a previous date and time. This feature is specific
to the SDF file system. Dated Mount allows multiple simultaneous mounts on different dates and times, while the production
mount continues to satisfy user requests. This allows the System Administrator to recover a previous version of a file or recover
a file that has been deleted from the file system. Please refer to the Chapter 6 - The Migration Manager for more details.
Data Compaction
The Data Compaction utility is available for use with the SDF file system, and is used for migrating live data from one piece of
media to the current write surface of the Integral Volume set. The Data Compaction feature lets the operator fully reclaim
media blocks after modifying or removing files on rewritable Optical media or Tape. This feature is managed under the control
of the VL database. This feature is available on all Integral Volume sets, or just selected ones. Once a piece of media has been
compacted and erased, the System Administrator has the option of adding the erased media to the same Integral Volume set or
removing it from the Integral Volume set entirely.
Page 6 of 14
Simulated Disk/Tape Jukeboxes
The QStar Software offers two types of Simulated Jukeboxes, Simulated Disk Jukebox (SDJ) and Simulated Tape Jukebox
(STJ). The Simulated Jukebox configuration extends the ability of the QStar Software to mount an Integral Volume set utilizing
magnetic disk space (RAID, Centera, SAN or hard drive) as simulated Optical disk or Tape media. This configuration allows
the use of physical disk space available on a hard drive to be used as media for an Integral Volume set. The hard drive may be
partitioned into simulated virtual shelves and allows full use of import and export commands. The media may be manually
configured to any size, or pre-configured media types such as UDO or Blu-ray. Integral Volume sets can then be created with
any media configuration QStar supports, such as SDF or UDF. It is possible to configure a conventional jukebox, with media
such as Tape or Optical in conjunction with a Simulated Jukebox and mirror the data between the two devices. For this,
configure the Simulated Jukebox media to the same capacity and type as the media in the conventional jukebox containing real
media, then using the Data Director product and QStar’s SDF file system, mirror the data between a hard disk (SDJ or STJ) and
an Optical or Tape Jukebox. This configuration allows real time mirroring between a hard disk and an optical or tape jukebox.
The Simulated Jukeboxes configuration may be useful for demonstrating or integration testing with the QStar product or API
when a jukebox is not available.
VL Copy Media
The QStar Software can manually or automatically execute a duplication process of the media (Disk or Tape) that has been
completely written. With a properly configured Integral Volume set, the Automatic Copy Media command will run every time
the Integral Volume set reaches the point of dynamically allocating another piece of media to the Integral Volume set. With the
VL Copy Media the source and destination media may be selected and copied at the System Administrators convenience. The
copied media is an exact duplicate of the original media in the Integral Volume set. If a media is damaged, the copied media
can be used to replace the damaged media. For more information on how to enable the VL Copy Media, please refer to
Chapter 5 - The Volume Librarian in this manual.
Page 7 of 14
MIGRATION MANAGER COMPONENTS
Migration Manager
Migration is the movement of data between the magnetic disk partition and the archival media. The Migration Manager was
designed to provide a Hierarchical Storage Management (HSM) system view of a collection of diverse types of storage media.
This includes magnetic disks, RAID, Optical, CD, DVD, Blu-ray, Tape drives and jukeboxes. The job of the Migration Manager
is to combine all of these technologies into a Virtual File System called an Integral Volume set. An Integral Volume set looks
and feels to the user like a standard magnetic disk. This means that all standard applications, including network-based
applications, can work with the Integral Volume set without modification and in the same manner that they would work with a
normal magnetic disk.
Cache
QStar Software uses server magnetic disk to temporarily store files to improve system performance.
Caching provides the ability to place frequently accessed files on magnetic disk or RAID for quicker access. Different
configurations of caching and cache logic provide instant access to the most recent and most active data without delays or a
need for special commands.
Cache Enhancements
The cache (Magnetic Cache File System) has been completely redesigned. The format of the cache now allows moving the
cache files between different operating systems and the cache formatter is no longer needed. The limitation of the cache per
Integral Volume set size of 500 GB has been removed and better system resource utilization has been made. Multi threading has
been enhanced, increasing the performance of Read/Write operations. A new mmcmd admin (mmadmin) command allows the
ability to easily save all primary pages from the cache in case of disaster recovery.
File Migration
File Migration is defined as the movement of data from one storage medium to another. This includes archiving files to the
secondary storage media and replicating files back to the magnetic cache to service read requests.
In the case of archiving data to an Integral Volume set from the cache, there are several archiving policies that can be utilized to
maximize the efficiency of the archiving process. Automatic data migration to the Integral Volume set, or demand archiving
forces an archiving cycle when a pre-arranged watermark, High Primary Capacity, is reached. Archiving can also be started by
the System Administrator at any given time or scheduled in a timed interval using the VL Scheduler.
Page 8 of 14
Retention Period
The Retention Period feature can be used alone or in conjunction with the Grace Period feature. Both Grace Period and
Retention Period start from the last modification time. The Retention period specifies a file can be removed only once the
Retention period has expired. The benefit to this feature is the ability to lock a file to read only status for the time the file is
required to remain available within corporate guidelines. This feature goes further than the standard UNIX, or Windows read
only flag, as even the System Administrator cannot remove the read only flag for files under Retention Period management.
Enabling this feature provides a WORM file system, even with rewritable media ideal for corporate data archiving compliance
requirement. Once a file has reached a point in time after the Retention Period, the file may then be modified or deleted from the
file system. If both the Retention and Grace Periods are specified, a file can only be modified or deleted either before the Grace
Period begins or after the Retention Period expires.
This feature is configurable on an Integral Volume set basis and can be set by seconds, minutes, hours, days and years. Please
refer to the vlcmd cache (vlcache) command in Chapter 9(Unix)/Chapter 10(Windows) - Command Reference for more
details.
NFS Mount
This option allows mounting a QStar file system from a Windows platform to a UNIX platform via NFS. With this option, there
is no third party software required to mount the QStar file system from Windows to a UNIX platform. With this added
functionality, System Administrators will have greater flexibility in managing and integrating the QStar Software. Please refer
to the Chapter 6 - The Migration Manager for more details.
Virtual Disk
QStar Software consolidates all of the physical mass storage subsystems on a network-magnetic disk, Optical, CD-ROM, DVD-
ROM, DVD-RAM or Tape - into a single, hierarchically managed resource, or Virtual Disk, treated as one logical entity. Using
QStar’s caching technology, the most recently used data is available on the magnetic disk, providing fast access for users. Less
recently used data is stored on optical media or other archival media, via the Volume Librarian (VL) and is automatically moved
to the magnetic disk if a user accesses it. This is a function of the Migration Manager. The moving of data between the magnetic
disk and the archival media is transparent to end-users. QStar Software’s automatic storage management provides the benefit of
virtually unlimited storage capacity without sacrificing access time to critical data.
Page 9 of 14
DIAGNOSTIC COMPONENTS
QStar Software provides different diagnostic components that can help the System Administrator monitor events, warnings and
errors within the system.
Mail Notification
The System Administrator can receive mail notification about abnormal events in the QStar software. An abnormal event can
be, for example, a drive/jukebox failure, an unrecoverable write error, a request for additional medium (no more space in the
Integral Volume set), a request for medium that is currently offline. For more detailed information, please refer to Chapter 3 -
Installing and Configuring QStar Software in this manual.
Page 10 of 14
FILE SYSTEMS
A File System is an interface for saving and retrieving files on storage media.
The file system controls all aspects of media management, including directory/file structures, data layout, and data transfers.
The file system allows data to be written out to the storage device in the file format that is acceptable to the application.
QStar Software supports different types of standard file systems such as UFS, NTFS, FAT, UDF and ISO.
In addition, QStar Software supports two file system types that have data layouts suitable to the media QStar controls. These
appear as standard file systems and give optimal performance for the storage and retrieval of data.
QStar media format manager stores information about the data on the surface of the media, thus providing the template for the
data written to the archival media. All archival media sets are self-contained, with file directory information, data, and indexes
on the same Optical media, DVD-RAM or Tape. The volume format is optimized to ensure maximum performance and
transportability between Optical, DVD-RAM or Tape jukeboxes and file servers.
• Flexibility. - Media format describes the contents of a single archival media allowing it to be used as part of a logical group,
or media set. As part of a set, file and directory information is not restricted to a single piece of media; it may span several
platters or tapes, giving contiguous space for large files.
• Disaster recovery. - Making all archival media self-contained provides the means for disaster prevention and recovery. Any
magnetic disk cache in the storage hierarchy can be completely rebuilt from the archival media, thus preventing catastrophic
data loss.
QStar stores file databases on a stacking file system. The first time a file is written to storage, it creates a baseline copy of the
file. Subsequent changes to the file only cover the portions of the file that have been modified. The original file and each
subsequent change are simply overlaid by more recent file segments. This method provides true incremental changes to the file
without consuming excessive storage space. Similarly, changes made to directories are also stacked. Therefore, if a user
removes a file, the directory is simply rewritten without the name of the deleted file. The file, however, still exists physically on
the media.
This file system also supports SCSI Tape devices, specifically, Digital Linear Tape (DLT), SDLT, AIT, SAIT and LTO. The
files are stored contiguously from the beginning to the end of each tape.
The SDF file system is best suited for applications that will generate relatively small sized files.
Page 11 of 14
SDF Enhancements
Shredding support for UDO Compliance WORM media and Rewritable Optical media has been added. The support is available
with HSM and Data Director (Mirroring) configurations.
A new approach of saving the SDF database has been created, allowing the SDF database to be saved to a dedicated, separate
media. The System Administrator can still use the old approach which stores the SDF database to the beginning of each media.
In addition the SDF database can be stored on Hard Disk as the primary location or as a mirror location if the primary location is
the media. The database save procedure is triggered during rollover of media or can be initiated per GB of data written in the file
system. This new approach allows the user to have two different threads in the SDF migrator, one for writing data and one for
saving the database in two different media, removing the delay of archiving of data during the saving of the database. This
feature is available also on Mirroring configurations where two different Hot Sync procedures have been developed. One called
“Off Line Asynchronous Hot Sync” that is used to synchronize Database Media and all non current write surfaces and one
called “On Line Synchronous Hot Sync” that is used to synchronize the current write surface, this allows Hot Sync to run in
parallel with read/write operations.
UDF Enhancements
The following new UDF Versions and file system have been supported:
• Version 2.5
• Version 2.6
• Plasmon UDF
• ISO 9660 File System
Note: CD File System (ISO 9660 File System) has been removed and the support for the ISO 9660 standard with Rock Ridge
and Microsoft extensions has been incorporated in the UDF file system. ISO and UDF media can coexist in the same file system
using Automout Intechange Level.
The UDF file system also supports the shredding operation offered with UDO Compliance WORM media.
A new version of the UDF spanning database has been introduced for spanning configurations that also contain directory
entries. This modification requires less access to the media when a user is browsing the file system and provides a faster mount
procedure in the case of rebuilding of the cache and media databases.
The floc command is now supported on UDF and can be used to list the files on an individual media.
Page 12 of 14
UVFS - Support for the Plasmon File Systems
This file system supports WORM and rewriteable (MO/UDO) Optical, DVD-ROM and DVD-RAM media on Linux and
Windows platforms. Using the UVFS file system QStar supports, Read Only access to the following three Plasmon file
systems:
• PFS - A simplified version of UDF, based on an older UDF implementation by HP
• AFS-1 - Archive File System, specifically developed for WORM
• AFS-2 - Improved version on AFS-1, optimized for speed and media usage
The UVFS file system supports the following three Interchange Levels:
MEDIA ORGANIZATION
The number of storage media in a system can run into thousands.
System configurations can range in size from a 1.3 GB personal archive systems to multi-terabyte storage solutions.
QStar can configure the jukebox (es) to be seen as one or multiple Virtual Disks.
This partitioning allows a multi-platter jukebox to be logically divided so that the jukebox can appear as multiple standard
virtual hard drives allocated to different applications. In addition, partitioning allows the user to predetermine where and when
files are written. This allows data to be written to a specific set of platters, thereby simplifying back-up and optimizing
performance.
Creating ten partitions, each with one piece of media, is comparable to creating a single partition with ten pieces of media, each
with its own directory.
The main difference between these implementations is data organization.
QStar offers configuration, media paths, and write paths in the virtual file system to provide the most flexible data organization
available. When deciding between multiple partitions and/or media paths, consider the objective of the entire storage solution.
QStar Software allows for both standalone drives and jukeboxes in the following configuration of data sets:
Note: For more detailed information please, refer to Chapter 7 - Media Configurations in this manual.
Page 13 of 14
Page 14 of 14
This chapter describes how to get the system up and running.
The Installation program guides you through every step of the process.
Before installing QStar Software however, certain system components should be checked, such as the system, connection of
storage devices and server configuration. This ensures that the QStar Software installation will run smoothly and minimize the
time it takes to set up the system.
This chapter contains instructions on how to verify these components, as well as information on completing the set-up of the
QStar Software.
Page 1 of 54
DE-INSTALLING QSTAR SOFTWARE ...................................................................... 51
PRIVILEGED USERS ............................................................................................ 53
SEND EMAIL NOTIFICATION................................................................................. 53
START OR STOP QSTAR SERVERS......................................................................... 54
Page 2 of 54
SYSTEM REQUIREMENTS
Below is the minimum configuration required on the host computer before installing QStar products and reconfiguring the
system kernel (only for some platforms).
Software Requirements
Listed below are the minimum system requirements for installing QStar Software on your host.
Note: The space in the /root partition is required to store multiple copies of the kernel image which is created during the
installation of the QStar Software.
Note1: The space on /usr partition is required to accommodate some commands for the QStar Software products.
To achieve the best possible performance from the System that the QStar Software is installed on, the following are
suggested:
Page 3 of 54
Amount of Available RAM
Memory is the fastest and cheapest way to improve performance on the Server, the QStar Software is installed on. Maximizing
the RAM on the Server, will significantly improve the System and the QStar Software performance.
The following will affect the performance of the QStar file system:
• High and Low Primary capacities
• The total number of files per directory in the QStar file system
Expected Behaviors
Because the file system that QStar usually manages is removable and a multi-surfaced file system, there are some expected
behaviors that need to be addressed when creating the file system.
Creating a directory structure on removable media that is extremely deep and has a small number of files and a small file size
in each directory will offer poor space utilization on the media and should be avoided.
Exceeding the 3000 files on removable media per directory recommendation will cause degradation of performance to the file
system. This decrease in performance will manifest itself when a user tries to browse the directory and will increase with the
number of files in the directory. For example, with 5000 files in a directory the impact on the user will be slight. However,
with 50,000 files in a directory the impact will be more significant and could have an effect on other users trying to access the
file system. In extreme situations, this decrease in performance can cause extremely slow or no access to the mount point of
the QStar file system.
The number of files in the directory structure will have the most impact in a disaster recovery situation or if the cache files have
to be rebuilt. In this situation, the mount point may not be accessible for several hours depending on the number of files in the
directory structure.
If direct access to a file by an application is used, the number of files in a directory can be increased and there will be no impact
on performance under these circumstances. However, it must be understood that direct access will not remove degradation of
performance when browsing the directory or during a disaster recovery situation.
Page 4 of 54
Protecting Against Data Loss
QStar copies the data out to the media during the archiving process automatically based on the High Primary Capacity (HPC)
value by default. To ensure that all data in the QStar file system is protected against system failure (including hard disk
failure); QStar offers several utilities to protect the data from loss or corruption. Using one or more of these utilities is highly
recommended.
Scheduled Archives
It is recommended that you periodically archive the data without waiting for the HPC to begin archiving. A daily archive is
beneficial to most users who maintain a large cache with a defaulted HPC value. Archiving can be scheduled to start
automatically every day using the Cron tab.
Media Redundancy
QStar recommends the use of media redundancy for the Integral Volume sets (i.e. Copy Media), if the data is mission-critical.
Disaster recovery time for the QStar file system can be significantly reduced if media redundancy is used. However, further
redundancy can be achieved utilizing QStar’s Data Director product, in which all information is mirrored to an identical
Integral Volume set. In the event the primary server goes down, the primary server can be “swapped” and the secondary mirror
can become the primary file server in a matter of minutes.
Installation Considerations
Before installing the QStar Software, it may be advantageous to consider the overall storage needs for the system.
Some organizations have existing file storage systems, and may have already decided upon an optimum arrangement for the
file server.
Each Integral Volume set must be sized separately. Calculating overhead space in addition to cache size will help determine the
hardware requirements for the QStar file system.
As a general rule of thumb, 1,000,000 files will require 500 Megabytes of hard drive space over and above the cache size for
metadata overhead. However, this rule should only be used for an approximate estimate of the required drive size.
Page 5 of 54
Hardware and SCSI Requirements
The jukebox or standalone drive that will be connected to your computer via a SCSI (Small Computer System Interface) bus
must comply with these requirements.
1) Every device attached to the SCSI bus must be assigned a unique SCSI ID or “address”.
2) You must determine the combined internal and external length of your cables from your host computer to the end of the
SCSI bus. The combined length of all SCSI cables, including the integration of the QStar subsystem, must not exceed 6 meters
(approximately 18 feet) for a single-ended SCSI bus. If the cable exceeds 6 meters, operational problems such as device errors
or system failures could occur.
We recommend that the length of the SCSI cable from the host computer to the jukebox or standalone drive be no longer than 3
meters. The operating environment (noise and/or high voltage power supply) could also have an effect on the optimal cable
length. Ensure that the SCSI bus is terminated correctly using an active terminator.
3) The number of SCSI IDs that you will need for your storage subsystem depends on the type of device that you are installing.
Ensure you know which drive number in the jukebox corresponds with each SCSI ID.
In the Installation Steps section, we will explain how to find your current SCSI configuration for each platform.
When you have determined what devices are currently attached to your SCSI bus, you can fill in the worksheet in Appendix
“A” and then decide which available SCSI IDs you will use for your jukebox or standalone drive.
In addition, before you begin the installation make sure that you have the following:
• The hardware manual for your particular storage device.
• SCSI Cable(s) and active terminators for connecting the jukebox or standalone drive.
Page 6 of 54
QSTAR SOFTWARE DIRECTORIES
QStar Software is installed in the /opt/QStar directory. Here you can find the following files and directories:
* /opt/QStar/man should be added to the Administrator's default man page search path environment variable (MANPATH)
** /opt/QStar/bin and /opt/QStar/etc should be added to the Administrator's default execute path environment variable (PATH)
*** Only on LINUX and HP-UX.
Page 7 of 54
UPGRADING YOUR CURRENT VERSION OF QSTAR
SOFTWARE
To de-install the QStar Software in order to install an upgrade, install system patches, or in preparation for moving to another
host, follow the steps below:
Step valid for release version 4.40.x.
2) Unmount all Integral Volume sets and stop all jukebox schedulers.
umount /mount_point For each media set or Integral Volume set mounted.
umountiv /mount_point For the Linux and HP-UX platforms.
Note: For safety, QStar suggests saving the information of device and Integral Volume sets database by running the
vllsdev device_name and vllsset -va commands and redirect the output into a file.
jbshut jb For each jbscheduler running.
cd /opt/QStar
./INSTALL
Enter item number or ? for help: 5 Select #5 to uninstall the QStar Software.
Enter y for Yes or n for No.
Do you really want to uninstall [n]: y
Enter y for Yes or n for No.
Do you want to save the QStar databases [y]: y
QStar databases saved to /var/tmp/qs_db_saved.tar.Z
QStar Software uninstalled
Page 8 of 54
QStar Software Installation Main Menu
1) Install QStar HSM
2) Install QStar CD/DVD-ROM Axxess
3) Install QStar CD/DVD-R Master
4) Install QStar Data Director
5) Uninstall QStar Software
6) Reconfigure QStar Software
8) Upgrade QStar Software
9) Exit
Enter item number or ? for help: 9 Select #9 to exit from the installation program.
rm -r /opt/QStar/*
7) Install the upgrade version of the QStar Software as described in the “Installation Steps” section of this manual.
Note: The VL configuration file /opt/QStar/vl/files/conf will not be valid. When the installation is complete and the QStar
Databases are restored, exit from the installation, the QStar daemons should be stopped and the VL configuration file
deleted. If the file is deleted, a new file will be created when the QStar daemons are started and this file will need to be
edited as required, as default values will be set in the new file. The format of the cache files in version 5.x are incompatible
with the cache files for all 4.x versions, so the System Administrator will be forced to mount all Integral Volume sets with
clean cache after the upgrade. For DVD jukeboxes after the uninstall procedure remove the file
c:\qstar\jb\files\jb_param_*.
2) Unmount all Integral Volume sets and stop all jukebox schedulers.
umount /mount_point For each media set or Integral Volume set mounted.
umountiv /mount_point For the Linux and HP-UX platforms.
jbshut jb For each jbscheduler running.
cd /opt/QStar
Page 9 of 54
4) Run the installation program by entering:
./INSTALL
Enter item number or ? for help: 8 Select #8 to upgrade the QStar Software.
Note: Never copy the files used for upgrade into /opt/QStar, because the upgrade will fail.
QStar Software version:5/12/08 5.0.12.690 Linux 2.6 ix86 was installed at Mon Dec 8 16:12:34 CET 2008
It was upgraded to: 12/01/09 5.0.13.709 Linux 2.6 ix86 at Mon Dec 12 15:04:16 CET 2009
Enter item number or ? for help: 9 Select #9 to exit from the installation program.
Note: The upgrade option will be not available on AIX platforms if /opt/QStar is a symbolic link and not a real directory, in
this case follow the procedure valid for a release before version 4.40.x.
Page 10 of 54
INSTALLATION STEPS
For the correct installation procedure of the QStar Software for each platform you must follow these steps in the order shown in
the diagram below:
UPGRADE
STEP 6
Restoring or
Upgrading
the
QStar
Databases
Page 11 of 54
STEP 1: HARDWARE INSTALLATION AND SETUP OF
DEVICES
Step1.1) Determining Available SCSI IDs and Setup of the
Storage Device(s)
Installed on: Sun Solaris
To install the jukebox(es) or standalone drive(s), follow these steps:
ok ÅSolaris
Verify the attached devices and their corresponding SCSI IDs, by entering the following maintenance command:
2) Fill in the SCSI configuration worksheet in Appendix “A” with the information you gathered on currently used
SCSI target IDs. A used SCSI target ID is one that appears on the screen. You may choose any available number from
target 0 through 6 on the SCSI bus for the storage devices.
3) Select appropriate SCSI target IDs from those that are available for each storage device connected to your host.
Enter this information in the worksheet in Appendix “A”. Each device will require between 1 and 13 target Ids. For
information specific to your hardware, consult the hardware manual that came with your jukebox or standalone drive.
4) Power off your system. Set the SCSI IDs of your storage devices per the instructions of the hardware operator's
manual. Attach each device to its appropriate SCSI controller(s) and attach a terminator to the last device on each
SCSI bus. Power up all peripherals. Power up your server.
5) Verify the SCSI ID settings of the jukebox(es) or the standalone drive(s) to ensure there are no conflicts with other
devices on the same SCSI bus using the maintenance command again:
The system returns a list similar to the one seen in Step #1 above. This list should now also include the inquiry strings
from the newly attached devices. Confirm that all devices that were seen in Step #1 are still visible now. If you find
that one or some of the devices that were previously seen are not now, you may have set your device to an address
already in use. In this case, recheck the results that you got in Step #1 and start again. Also be sure to confirm all
SCSI cables are securely connected.
6) Boot your system and log on as “root”. During the boot process, the operating system will configure the devices
attached to the system.
Page 12 of 54
Step1.2) Determining Available SCSI IDs and Setup of the
Storage Device(s)
Installed on: IBM AIX
To install the storage jukebox(es) or standalone drive(s), follow these steps:
1) Log on to the host computer as root. Verify the attached devices and their corresponding SCSI IDs by entering the
following maintenance command:
lsdev -Csscsi
2) Fill in the SCSI configuration worksheet in Appendix “A” with the information you gathered on currently used
SCSI target IDs. A used SCSI target ID is one that appears on the screen. You may choose any available number from
target 0 through 6 on the SCSI bus for the storage devices.
3) Select appropriate SCSI target IDs from those that are available for each storage device connected to your host.
Enter this information in the worksheet in Appendix “A”. Each device will require between 1 and 13 target IDs. For
information specific to your hardware, consult the hardware manual that came with your jukebox or standalone drive.
4) Power off your system. Set the SCSI IDs of your storage devices per the instructions of the hardware operator's
manual. Attach each device to its appropriate SCSI controller(s) and attach a terminator to the last device on each
SCSI bus. Power up all peripherals. Power up your server.
5) After the system boots, there should be sdoX and auchX devices at the SCSI addresses (where X is some sequential
number). There is one sdoX device for each optical drive and an auchX device for the autochanger for most
jukeboxes.
6) Log on to the host computer as root. Verify the SCSI ID settings on the storage library or on the standalone drive to
ensure there are no conflicts with other devices on the same SCSI bus using the maintenance mode command again:
lsdev -C for a general hardware listing or lsdev -Csscsi for a more concise SCSI listing
Verify these devices. The system returns a list similar to the one below of the SCSI devices attached to your system.
The list now shows the additional devices that have been attached to your system. All of the previously connected
devices, as well as any newly connected devices, should be included in the display. Check your SCSI ID
configuration and SCSI cabling if a device is missing from this list.
There should be a sdo0 and sdo1 device for a two-drive storage library and an auch0 device for the jukebox
autochanger.
The devices must be in the available state.
Example:
lsdev –Csscsi
cd0 Available 04-B0-00-3,0 SCSI Multimedia CD-ROM Drive
hdisk0 Available 04-B0-00-6,0 Other SCSI Disk Drive
rmt0 Defined 04-B0-00-5,0 Other SCSI Tape Drive
auch0 Available 04-B0-00-5,0 PLASMON Jukebox Autochanger
sdo0 Available 04-B0-00-2,0 650Mb SONY Magneto-optical drive
sdo1 Available 04-B0-00-4,0 650Mb SONY Magneto-optical drive
Page 13 of 54
Step1.3) Determining Available SCSI IDs and Setup of the
Storage Device(s)
Installed on: Linux
To install the jukebox(es) or standalone drive(s), follow these steps:
1) Log on to the host computer as root. Verify the attached devices and their corresponding SCSI IDs by entering the
following command:
more /proc/scsi/scsi
in no scsi device are displayed the system administratior can run insmod command with name of scsi card installed
and retry the above command.
2) Fill in the SCSI configuration worksheet in Appendix “A” with the information you gathered on currently used
SCSI target IDs. A used SCSI target ID is one that appears on the screen. You may choose any available number from
target 1 through 7 on the SCSI bus for the storage devices.
3) Select appropriate SCSI target IDs from those that are available for each storage device connected to your host.
Enter this information in the worksheet in Appendix “A”. Each device will require between 1 and 13 target Ids. For
information specific to your hardware consult the hardware manual that came with your jukebox or standalone drive.
4) Power off your system. Set the SCSI IDs of your storage devices per the instructions of the hardware operator's
manual. Attach each device to its appropriate SCSI controller(s) and attach a terminator to the last device on each
SCSI bus. Power up all peripherals. Power up your server.
5) Verify the SCSI ID settings of the jukebox(es) or the standalone drive(s) to ensure there are no conflicts with other
devices on the same SCSI bus using the following command again:
more /proc/scsi/scsi
The system returns a list similar to the one seen in Step #1 above. This list should now also include the inquiry strings
from the newly attached devices. Confirm that all devices that were seen in Step #1 are still visible now. If you find
that one or some of the devices that were previously seen are now not, you may have set your device to an address
already in use. In this case, recheck the results that you got in Step #1 and start again. Also be sure to confirm all
SCSI cables are securely connected.
Page 14 of 54
Step1.4) Determining Available SCSI IDs and Setup of the
Storage Device(s)
Installed on: Hewlett Packard HP-UX
To install the jukebox(es) or standalone drive(s), follow these steps:
1) Shut down the system using your standard shutdown procedure. After the system is shut down, you will see the
following “console mode “prompt on the display:
….…
Verify that the system recognizes the devices at the correct SCSI IDs by entering the following maintenance
command:
ioscan -f
2) Fill in the blank SCSI configuration worksheet in Appendix “A” with the information on currently used SCSI
target ids. An available SCSI target ID is one that does not appear on the screen. You can choose any available
number from target 0 through target 6 on the SCSI bus for the storage devices.
3) Power off your system. Attach each device to its appropriate SCSI controller(s) and connect the terminator to close
the SCSI chain and power it on.
4) Select an appropriate SCSI target IDs from those that are available for each storage device connected to your host.
Enter this information in the worksheet in Appendix “A”. Each storage library will require from 1 to 5 or more target
Ids. For more information, consult the hardware manual that came with your jukebox or standalone drive.
5) Verify the SCSI ID settings on the jukebox or on the standalone drive to ensure there are no conflicts with other
devices on the same SCSI bus using the maintenance mode command again:
ioscan -f
The list now shows the additional devices that have been attached to your system.
All of the previously connected devices as well as any newly connected devices should be included in the display.
Check your SCSI ID configuration and SCSI cabling if a device is missing from this list.
6) Boot your system and log on as “ROOT”. During the boot process, HP-UX configures the devices attached to the
system.
Page 15 of 54
STEP 2: LOADING THE QSTAR SOFTWARE ON THE
SYSTEM
2) Create a directory named QStar in either the /opt directory (default) or another directory. If you created the QStar directory in
the /usr directory, for example, also do the following:
Create a symbolic link between /usr/QStar and /opt/QStar by entering the following command:
ln -s /usr/QStar /opt/QStar
3) To extract the QStar Software from the CD or tape into the QStar directory, issue the following commands:
CD:
Insert QStar Software CD into the local CD drive and mount it.
Examples of the correct syntax for the mount command are as follows (*):
cd /opt/QStar
(*): If the syntax displayed in the examples is no longer valid, please consult the Administrator's manual for the correct syntax
for the operating system of the server.
Page 16 of 54
STEP 3: INSTALLING THE LICENSE KEYS AND
REGISTERING THE SOFTWARE
Before the QStar Software will function a valid License Key for the specific QStar product you have purchased or are
evaluating should be installed.
The QStar Support personnel can generate two different types of keys:
• DEMO ( by default this License Key expires after 30 days)
• PERMANENT
The installkey program provides the hostid information needed to obtain a Demo or Permanent License Key from QStar
Customer Support Personnel.
cd /opt/QStar/license/
./installkey -V
The license information displayed before the Software is licensed is the following:
The Serial Number can be found on the license card or on the back of the CD case supplied with the Software.
To create the proper list, go to the following section Demo License Key or Permanent License Key as required.
• Company: *
• Department:
• Contact person:
• Contact email: *
• Contact phone:
• QStar version: 5.0.13 *
• License Type: Demo
• Platform: *
• Host ID: *
*: Mandatory information
To facilitate the generation of the Demo License Key the Serial Number, QStar Software Version and License Version will
be requested.
Page 17 of 54
The above information can be inserted into the Product Registration Form available on the distribution CD-ROM and faxed
to either +1-850-243-4234 (USA), +39-02-45101-745 (EUROPE) or your local QStar office. If preferred, email to
[email protected] or [email protected]. A Customer Support representative will email the License Key and any further
instruction.
Note: In the example, the License type is Demo and the License Key is activated.
The Demo License Key will allow the use of all the QStar Products with any device for the time specified in the Expiration
date line. The Serial Number for Demo license is not necessary and will be displayed as N/A (Not Available).
If the Demo license expires, a message will appear in the Expiration date line.
./installkey -L
License: Product : QStar HSM
License: Company : QStar Technologies, Inc.
License: Department : Demo Laboratory
License: Person : Support Personnel
License: Phone : +1-850-2430900
License: Email : [email protected]
License: Version : 5.0
License: Type : Demo
License: Platform : Linux
License: Demo license expired: 2009-02-27
License: Valid License file NOT found.
installkey: V5 License verification error: license file not found
Server: Host ID : 843ba758
Server: QStar Version: 5.0.13.709
Page 18 of 54
Permanent License Key
The information that the System Administrator should provide to QStar Customer Support personnel for a Permanent License
key is the following:
•Company: *
•Department: *
•Contact person: *
•Contact email: *
•Contact phone: *
•QStar version: 5.0.13 *
•License Type: Permanent *
•Platform: *
•Serial number: The Serial Number can be found on the license card or on the back of the CD case supplied with the
Software. *
• Host ID: *
• Permanent License Information *
*: Mandatory information
The above information can be insert into the Product Registration Form available on the distribution CD-ROM and faxed to
either +1-850-243-4234 (USA), +39-02-45101-745 (EUROPE) or your local QStar office. If preferred, email to
[email protected] or [email protected]. A Customer Support representative will email the License Key and any further
instructions.
Page 19 of 54
Activate the Permanent License Key
The Permanent license key is a file that will be sent via email to the email specified, that must be copied on the
/opt/QStar/license folder. Once the license file is copied run the following command to display the license information:
./installkey –L
License: Product : QStar DDR
License: Company : QStar Technologies, Inc.
License: Department : Demo Laboratory
License: Person : Support Personnel
License: Phone : +1-850-2430900
License: Email : [email protected]
License: Version : 5.0
License: Type : Permanent
License: Host ID : 843ba758
License: Serial number: 50000
License: Platform : Linux
License: Jukebox type: licenseJB_TYPE_TAPE
License: #Shelves : 35
License: HSM : No
License: DDR : DDR1
License: API : No
License: Digital sign: No
Server: Host ID : 843ba758
Server: QStar Version: 5.0.13.709
Note: In the example the Permanent License Key is for the QStar DDR1 product and a Tape jukebox with 35 shelves is
activated.
./installkey –L
License: Product : QStar HSM
License: Company : QStar Technologies, Inc.
License: Department : Demo Laboratory
License: Person : Support Personnel
License: Phone : +1-850-2430900
License: Email : [email protected]
License: Version : 5.0
License: Type : Permanent
License: Host ID : 843ba758
License: Serial number: 50000
License: Platform : Linux
License: Jukebox type: licenseJB_TYPE_CD_DVD
License: #Shelves : 200
License: Jukebox type: licenseJB_TYPE_BD
License: #Shelves : 100
License: HSM : Yes
License: Master type : 3
License: API : No
License: Digital sign: No
License: Duplicator : No
Server: Host ID : 843ba758
Server: QStar Version: 5.0.13.709
Note: In the example the Permanent License Key is for the QStar HSM and Master 3 products and a CD/DVD jukebox with
200 shelves and a Blu-ray jukebox with 100 shelves is activated.
Page 20 of 54
STEP 4: INSTALLING THE QSTAR SOFTWARE
The installation program automatically sets up all necessary product directories, files, and symbolic links.
After the Software has been extracted from the CD-ROM or tape, start the Software installation script by entering the following
command sequence:
cd /opt/QStar
./INSTALL
QStar software is built for the Linux platform kernel 2.6 ix86
Current platform is Linux 2.6 ix86
QStar software version is 5.0.13.709
Enter item number or ? for help: Enter the number that corresponds with the product you've
purchased or are evaluating.
Page 21 of 54
STEP 5: SPECIFYING YOUR STORAGE DEVICE
CONFIGURATION
Enter item number or ? for help: 1 Select #1 to check if any devices are configured.
No real devices
No simulated devices
Enter jb_name, ? for help, ^ for cancel [jb]: jb Traditional naming convention.
The following SCSI devices have been found:
1. bus=0 target=0 lun=0 Disk id=SEAGATE ST32430W SUN2.1G0666 Å System Disk
2. bus=0 target=3 lun=0 Erasable id=HP C1113J 1.06 Å First Jukebox Drive
3. bus=0 target=4 lun=0 Erasable id=SONY SMO-F521-01 2.04 Å Standalone Optical Drive
4. bus=0 target=5 lun=0 Erasable id=HP C1113J 1.06 Å Second Jukebox Drive
5. bus=0 target=6 lun=0 Changer id=HP C1160J 1.47 Å Jukebox Autochanger
Page 22 of 54
If the robot and drives use different SCSI buses, you must configure the
drives manually. Otherwise the drives can be configured automatically.
Automatically:
Real Devices:
1. Jukebox jb
Changer bus=0, target=6, lun=0 Only the changer will be configured, the drives not will be
present in this list until after the installation is completed.
No simulated devices
Enter item number or ? for help: 6 The configuration is complete, return to main menu.
Page 23 of 54
QStar Software Installation Main Menu
1) Install QStar HSM
2) Install QStar CD/DVD-ROM Axxess
3) Install QStar CD/DVD-R Master
4) Install QStar Data Director
5) Uninstall QStar Software
6) Reconfigure QStar Software
7) Restore QStar Databases
8) Upgrade QStar Software
9) Exit
UP GRADE - SELECT (8) and GOTO STEP 6
If the message “Please configure drives manually” is displayed while exiting from the installation script, the device cannot be
configured automatically by the software. If this is the case, please restart the INSTALL script.
Once the INSTALL script is restarted follow the steps below to reconfigure the devices manually.
Enter item number or ? for help: 1 Select #1 to list the configured devices.
Page 24 of 54
Real Devices:
1. Jukebox jb
Changer bus=0, target=6, lun=0
No simulated devices
Enter item number or ? for help: 4 Select #4 to remove all devices previously configured.
Stopping QStar daemons...
_rc: SCSI: Stopped
Real Devices:
1. Jukebox jb
Changer bus=0, target=6, lun=0
No simulated devices
Enter jb_name, ? for help, ^ for cancel [jb]: jb Traditional naming convention.
Page 25 of 54
Manually:
Page 26 of 54
Device Configuration Menu
1) List Configured Devices
2) Add Jukebox
3) Add Standalone Drive
4) Remove Device
5) Remove All Devices
6) Return
Real Devices:
1. Jukebox jb
Changer bus=0, target=6, lun=0
Drive 1 bus=0, target=3, lun=0
Drive 2 bus=0, target=5, lun=0
No simulated devices
Enter item number or ? for help: 1 Select #1 for List Configured Devices.
Page 27 of 54
Real Devices:
1. Jukebox jb
Changer bus=0, target=6, lun=0
Drive 1 bus=0, target=3, lun=0
Drive 2 bus=0, target=5, lun=0
No simulated devices
Enter item number or ? for help: 6 The configuration is completed, return to main menu.
Page 28 of 54
Step 5.2) IBM AIX
First step of Installation is completed.
Now you will need to configure the device(s), jukeboxes and/or standalone drives, which will be handled by the QStar
Software.
The following devices have been already detected and configured:
Note: Some devices you intend to use with the QStar Software may have already been configured by non-QStar drivers. If these
devices are missing in the list above then select “List Other Devices” in the menu below. Then you may start a shell and run
“rmdev -l 'device' -d” command(s) for such devices. Note also that some optical drives may be recognized as hard disks.
Enter item number or ? for help: 1 Select #1 to check if any devices are configured.
No real devices
No simulated devices
Device Configuration Menu
1) List Configured Devices
2) List Other Devices
3) Configure/Reconfigure/Remove Devices
4) Start shell
5) Return
The following scsi devices are configured with non-QStar drivers. If you intend to use some of them with QStar Software then
please remove (deconfigure) them before configuring QStar devices.
Page 29 of 54
#> rmdev -l omd0 -d
omd0 deleted
#>rmdev -l omd1 -d
omd1 deleted
#> exit
#> Please wait: running /usr/sbin/cfgmgr...
Real Devices:
No simulated devices
The following scsi devices are configured with non-QStar drivers. If you intend to use some of them with QStar Software then
please remove (deconfigure) them before configuring QStar devices.
Usually devices supported by QStar Software are detected and configured automatically. You only have to configure the
Jukebox Manager using smit. Please be careful when specifying jukebox drives, specifying the drives in the wrong order will
result in incorrect operation of the Jukebox Manager. It is recommended that you check the storage library configuration (SCSI
id/LUNs) and list of already configured drives before configuring Jukebox Manager.
Page 30 of 54
The QStar Device Configuration Menu calls the smit program to configure the devices.
Once the smit program starts the following menu is displayed:
Devices (Menu)
Note: For standalone drive configuration, please refer page 39 of this chapter.
Page 31 of 54
Jukebox Manager (Menu)
Move cursor to desired item and press Enter.
After you select the Add a jukebox item the following menu will appear:
Robot Device
In this menu you have to move the cursor to the desired and press ENTER. In the example, auch0 is selected.
[Entry Fields]
Robot Device [auch0]
Number of Shelves [52]
* Drive 1
* Drive 2
After you Select Drive1, the Drive 1 (Menu) menu will appear, use the F4 key to choose the devices for the drives.
Page 32 of 54
Drive 1 (Menu)
Move cursor to desired item and press Enter. In this example sdo0 is selected.
[Entry Fields]
Robot Device [auch0]
Number of Shelves [52]
* Drive 1 sdo0
* Drive 2
After the Drive2 has been selected, the Drive 2 (Menu) menu will appear, use the F4 key to choose the devices for the drives.
Drive 2 (Menu)
Move cursor to desired item and press Enter. In this example, sdo1 is selected.
Page 33 of 54
COMMAND STATUS (Menu)
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
jb0 Available
Note: Always use the QStar INSTALL script to add or remove a jukebox or standalone drive devices. This guarantees a clean
install and de-install. Repeat steps for each individual jukebox that you have connected to the system.
Page 34 of 54
For a Standalone Drive
Devices (Menu)
Move cursor to desired item and press Enter.
In the AIX operating system a device can be used only if it is displayed in the lsdev -Csscsi output as available.
The System Administrator can use the above smit menu to configure a standalone drive (sdo0) that is marked as defined in the
lsdev –Csscsi output. Configuring the standalone drive will change its status in the lsdev -Csscsi output to available.
Once the standalone drive is displayed as available it can be used as Pseudo Jukebox device with SDF and UDF file systems.
To use any standalone drive as pseudo jukebox device, run the following command:
Where “1” is the number of “shelves” and “sdo0” is the drive name.
Note: Once this command has been executed the standalone drive will behave as a standard jukebox, allowing use of the
standard QStar “vl”, “jb” and “mm” jukebox commands.
Page 35 of 54
After Exiting from the smit menu
Real Devices:
1. Jukebox jb0
Changer auch0 bus=scsi0 target,lun=5,0
Drive 1 sdo0 bus=scsi0 target,lun=1,0
Drive 2 sdo1 bus=scsi0 target,lun=2,0
No simulated devices
Enter item number or ? for help: 5 The configuration is completed return to main menu.
Page 36 of 54
STEP 6: RESTORING QSTAR DATABASES
**Only if UPGRADING, for *NEW INSTALLATIONS* PROCEED TO STEP 7**
After the installation is completed, to restore the information from the QStar databases, do the following actions:
Upgrading from 5.0.x version to any newer 5.0.x versions of the QStar Software in possible to use the upgrade option included
in the INSTALL menu to automatically upgrade the installed version of QStar Software. Using this option described in the
“Upgrading Your Current Version of QStar Software” section earlier in this chapter, QStar will automatically upgrade the
current release without the need to save the QStar databases or reconfigure the devices. The upgrade procedure from version
4.x to 5.0.x must be done manually by uninstalling the currently installed release, this will prompt the administrator to backup
the QStar databases, after this, the current release needs to be deleted and then the new release installed by the same procedure
as a new installation. Following this, the database can be manually restored by selecting option Restore QStar Database. The
QStar databases comprise of the VL configuration file (/opt/QStar/vl/files/conf), the jukebox database for each configured
jukebox (information on what media is in which shelves) and the sets database (information on cache location, size, which
media is contained in the set, etc). The following section describes how to restore the QStar databases.
Enter item number or ? for help: 9 Select #9 to exit from the installation program.
Note: Also the setting made for Privileged Users and the Send Mail Notification was saved and is now restored.
Page 37 of 54
STEP 7: COMPILING THE KERNEL, IF APPLICABLE
A) Sun Solaris,
After exiting the installation program the following message will be printed to the screen:
B) IBM AIX
After exiting the installation program the following message will be printed to the screen:
C) LINUX
After exiting the installation program, the following message will be printed to the screen:
D) HP-UX
The following are kernel configuration files which are known to currently exist.
Please select the file that the QStar products should be built upon.
/stand/system.1
/stand/system.2
/stand/system.prev
/stand/system.qstar
/stand/system
/stand/system.max
Page 38 of 54
The schgr driver has been detected in the current kernel. In some cases this driver
will conflict with the QStar device drivers. If this driver is not used to control any
other devices, QStar highly recommends removing this driver from the kernel.
WARNING: Retaining this driver in the current kernel may cause unexpected results
and will be at the user's own risk. QStar will not be responsible for any problems
incurred by retaining this driver.
Enter y for Yes or n for No.
Would you like this driver automatically removed now? [y]: y
Compiling conf.c...
Loading the kernel...
Generating kernel symbol table...
Note: In the case of an upgrade the kernel information will be recalled by the QStar Software and will not be requested
anymore.
Page 39 of 54
STEP 8: POST INSTALLATION TEST
Starting the Daemons
Before creating a Volume set or an Integral Volume set, verify that the following daemons are running. QStar Software adds
these daemons to your system and, on some platforms, automatically starts them at boot-up.
Page 40 of 54
To verify that all required daemons are running, follow these steps:
1) Log on as root.
#>qscsiping
qscsiping: SCSI server thread is running.
#>jbping
jbping: JB server thread is running.
#>vlping
vlping: VL server thread is running.
#>mmping
mmping: MM server thread is running.
#>jbschedcheck -a
jbschedcheck: JB Jbscheduler is running.
3) If the jbscheduler daemon is not running, start it now by entering the following command for each jukebox:
jbscheduler device_name
For example:
#>jbscheduler jb
jb: Jbscheduler started
Note: See the jbscheduler command in Chapter 9 - Command Reference for more information.
Page 41 of 54
RECONFIGURING STORAGE DEVICES
Changing the jukebox configuration from a one-drive unit to a two-drive unit.
cd /opt/QStar
./INSTALL
Enter item number or ? for help: 1 Select #1 to list the configured devices.
Real Devices:
1. Jukebox jb
Changer bus=0,target=6,lun=0
Drive 1 bus=0,target=2,lun=0
Page 42 of 54
No simulated devices
Enter item number or ? for help: 4 Select #4 to remove all devices previously configured.
_rc: VL: Stopped
_rc: MM: Stopped
_rc: JB: Stopped
_rc: SCSI: Stopped
Real Devices:
1. Jukebox jb
Changer bus=0,target=6,lun=0
Drive 1 bus=0,target=2,lun=0
No simulated devices
Enter item number or ? for help: 1 Select #1 to list the configured devices.
No real devices
No simulated devices
Enter item number or ? for help: 6 Select #6 to return to the previous menu.
Enter item number or ? for help: 3 Select #3 to return to the previous menu.
Page 43 of 54
QStar Software Installation Main Menu
1) Install QStar HSM
2) Install QStar CD/DVD-ROM Axxess
3) Install QStar CD/DVD-R Master
4) Install QStar Data Director
5) Uninstall QStar Software
6) Reconfigure QStar Software
7) Restore QStar Databases
8) Upgrade QStar Software
9) Exit
Enter item number or ? for help: 9 Select #9 to exit from the installation program.
Now shut down your system, connect the new jukebox with unique SCSI IDs and boot your system back up.
When the system is up, change directory to the QStar directory:
cd /opt/QStar
./INSTALL
Page 44 of 54
Enter item number or ? for help: 2 Select #2 to add a jukebox.
If robot and drives use different SCSI buses, you must configure the
drives manually. Otherwise drives can be configured automatically.
In this section the reconfiguration is made manually, to follow the automatic configuration see “Specifying Your Storage
Device Configuration” section in this chapter.
Page 45 of 54
Enter y for Yes or n for No.
Do you want to configure drive 3 [y]: n
Page 46 of 54
ADDING NEW STORAGE DEVICES
Change directory to the QStar directory:
cd /opt/QStar
./INSTALL
Enter item number or ? for help: 1 Select #1 to list the configured devices.
Page 47 of 54
Real Devices:
1. Jukebox jb
Changer bus=0, target=1, lun=0
Drive 1 bus=0, target=4, lun=0
Drive 2 bus=0, target=5, lun=0
No simulated devices
If robot and drives use different SCSI buses, you must configure the
drives manually. Otherwise drives can be configured automatically.
In this section, the configuration is made manually, to follow the automatic configuration see “Specifying Your Storage
Device Configuration” section in this chapter.
Page 48 of 54
Enter y for Yes or n for No.
Do you want to configure drive 1 [y]: y
Enter item number or ? for help: 1 Select #1 to list the configured devices.
Real Devices:
1. Jukebox jb
Changer bus=0, target=1, lun=0
Drive 1 bus=0, target=4, lun=0
Drive 2 bus=0, target=5, lun=0
2. Jukebox jb1
Changer bus=0, target=6, lun=0
Drive 1 bus=0, target=2, lun=0
No simulated devices
Page 49 of 54
Device Configuration Menu
1) List Configured Devices
2) Add Jukebox
3) Add Standalone Drive
4) Remove Device
5) Remove All Devices
6) Return
Enter item number or ? for help: 6 Select #6 to return to the previous menu.
Enter item number or ? for help: 3 Select #3 to return to the previous menu.
Enter item number or ? for help: 9 Select #9 to exit from the installation program.
Page 50 of 54
DE-INSTALLING QSTAR SOFTWARE
To de-install the QStar Software, follow these steps:
1) Archive all data out of the each Integral Volume's cache.
2) Unmount all Media sets or Integral Volume sets and stop all jukebox schedulers.
cd /opt/QStar
./INSTALL
QStar software is built for Linux platform kernel 2.6 ix86
Current platform is Linux 2.6 ix86
QStar software version is 5.0.13.709
License Agreement for version 5.0.13.709 was confirmed at:
Thu Jan 15 16:42:12 CET 2009
Page 51 of 54
QStar Software Installation Main Menu
1) Install QStar HSM
2) Install QStar CD/DVD-ROM Axxess
3) Install QStar CD/DVD-R Master
4) Install QStar Data Director
5) Uninstall QStar Software
6) Reconfigure QStar Software
7) Restore QStar Databases
8) Upgrade QStar Software
9) Exit
Enter item number or ? for help: 9 Select #9 to exit from the installation program.
rm -r /opt/QStar/*
Page 52 of 54
PRIVILEGED USERS
Usually only the System Administrator as root can run the QStar commands.
QStar creates a special option that, if required, allows non-root users to run QStar commands.
QStar creates a special file called “priv.users” under the /opt/QStar/install directory.
Edit this file and insert the name(s) of the user(s) that should be allowed access to run all QStar commands.
Please insert one name for each line and save the file.
After that all the users that are listed in this file are allowed access to run the QStar commands.
The System Administrators can get mail notification about abnormal events in the QStar Software.
Abnormal events are - drive/jukebox failures, unrecoverable write errors, requests for additional medium (no more space
in the Integral Volume set), requests for medium that is currently offline, etc.
QStar Software puts messages into the /opt/QStar/log/message file and then executes this script.
To receive the mail, please select the appropriate mail program for your computer and set the
DESTINATION_MAIL_ADDRESS ( [email protected] ).
To test this script please create /opt/QStar/log/message file and execute the script.
DESTINATION_MAIL_ADDRESS=
if [ -n "$DESTINATION_MAIL_ADDRESS" -a -f /opt/QStar/log/message ]; then
#
# /bin/mail $DESTINATION_MAIL_ADDRESS < /opt/QStar/log/message
# /usr/sbin/Mail -s "message from QStar server" $DESTINATION_MAIL_ADDRESS < /opt/QStar/log/message
# /usr/sbin/mailx -s "message from QStar server" $DESTINATION_MAIL_ADDRESS < /opt/QStar/log/message
# /usr/bin/mailx -s "message from QStar server" $DESTINATION_MAIL_ADDRESS < /opt/QStar/log/message
#
mv /opt/QStar/log/message /opt/QStar/log/message.old
fi
Page 53 of 54
START OR STOP QSTAR SERVERS
As explained in Step 8 “Post Installation Test” the section QStar Software adds different daemons to the system and
automatically starts them at boot up. To do so QStar creates a special file called “rc” under the /opt/QStar/install directory that
is run at the time of boot up.
This is very useful for starting and stopping the QStar servers without rebooting the system.
Before stopping the QStar servers the System Administrator must be sure to unmount all the Integral Volume sets.
The “rc” file will return the confirmation messages for the stopping or starting procedure.
Page 54 of 54
This chapter describes the basic notions of the jukebox management, the device’s identifications, the jukebox parameters and
some jukebox management features of the QStar Software that let you recover from errors introduced by accident or caused by
hardware failure.
Topics include:
• Checking jukebox status and parameters
• Error recovery
• Selected errors
Page 1 of 20
BASIC NOTIONS OF JUKEBOX MANAGEMENT
Jbscheduler
The jbscheduler is activated by the jbscheduler command and deactivated by the jbshut command. When the jbdriver receives
an I/O request for a surface, and a medium is not loaded into any drive or a medium is loaded but the access to another side is
requested, the driver notifies the jbscheduler. The jbscheduler processes all necessary loading, unloading or flipping of the
media to get the requested surface accessible and notifies the jbdriver that all I/O requests to this surface can be satisfied. The
described procedure - the automatic binding of the shelf to the drive - is the main task of the jbscheduler. If the jbscheduler is
not running, there is no automatic binding and the surface can be accessed only if a medium has been loaded by jbload
command or flipped by the jbflip command.
Filenames
The following filenames reside in the jb_name directory:
jbctl
The jukebox control device, which accepts the changers SCSI commands, is a symbolic link to
the filename representing the changers character device.
driveN, rdriveN
The devices that accept the drives SCSI commands.
N is a drive number (1, 2, etc). The driveN (rdriveN) filename is a symbolic link to the filename
representing the drive block (character) device.
The jukebox elements are specified by their numbers, which are 1-based.
The directory for a standalone drive contains the special files for one drive, one shelf and control device.
All normal jukebox operations with the control device call for operator intervention.
Page 2 of 20
JUKEBOX PARAMETERS
Time Control
The jbscheduler uses the time parameters - inactive time, idle time, quantum time and reserve time - for the automatic unloading
of media from the drives. The inactive, idle and quantum times are built on a per jukebox basis, the reserve time - on a per
surface basis. All times are set in seconds.
The inactive time is defined as the maximum number of seconds a media is allowed to stay in the drive without access. If a
media remains in the drive, without access, longer than the inactive time, the jbscheduler unloads it back to the shelf. If the
inactive time is set to “0”, this mechanism is disabled. The default inactive time value is 900 seconds (15 minutes ).
The idle time is defined as the minimum number of seconds a media is allowed to stay in the drive without access. If a new
media has to be loaded, but all drives are full, the jbscheduler may unload the media which has remained in the drive, without
access, for more than the quantum or idle time, whichever is less. If the idle time is set to “0”, this mechanism is disabled and
the quantum time defines the minimum period of time the media remains in the drive without access. The default idle time value
is “0”.
The quantum time is defined as the number of seconds after which the jbscheduler examines again if the media can be
unloaded. The minimum and default value is 10 seconds. A surface that has a non-zero reserve time is reserved. The minimum
number of seconds a media with the reserved surface is allowed to stay in the drive without access is incremented by the reserve
time. The reserved surface is not affected by the idle time mechanism, but is affected by the inactive time mechanism. If a
reserved surface has been idling more than the idle time, a media will not be eligible to be swapped out (unlike the unreserved
surface). However, if a reserved surface has been idling more than inactive time, a media is unloaded. The default reserve time
for every surface is “0”, which means the reserve time mechanism is disabled. The reserve time is applied only to the next
loading of the media; when the media is unloaded the reserve times of its upper surface drops to “0”.
The reserve time can be set only for the surface on the online shelf and is cleared when the shelf becomes offline.
Persistent Parameters
Some parameters controlling the jukebox management are persistent; they remain unchanged through a system reboot. These
parameters include time control values (inactive, idle, and quantum times) and generic statistics values (nimports, nexports,
nloads, nunloads, and nflips) and are related to the special jukebox control daemon called jbscheduler. The special jbdriver in
the operating system’s kernel supports the jukebox management interface. They are set when the jukebox management software
is configured for the jukebox and can be cleared or set to their default values using the jbparam command.
Page 3 of 20
MANAGING THE JUKEBOX PARAMETERS
To view the current jukebox parameter values, Quantum, Inactive and Idle times, and statistical information, number of
Imports, Exports, Loads, Unloads and Flips, use the jbparam command.
#>jbparam jb
Inactive time: 900
Idle time: 0
Quantum time: 10
Imports: 0
Exports: 0
Loads: 1239
Unloads: 12
Flips: 3754
To modify the jukebox parameters, use the jbparam command with the following flags:
To reset the jukebox statistical information, use the jbparam command with the following flags:
Note: For more detailed information on the jbparam command, please refer to Chapter 9 - Command Reference in this
manual.
Page 4 of 20
JUKEBOX STATISTICS
QStar Software provides statistics for the elements within the jukebox. These statistics allow the administrator to monitor for
potential problems with the media and drives within the jukebox. This allows problems to be rectified before they become too
serious. There are also statistics for media loads per shelf/surface and per drive. If the jukebox is full and media needs to be
taken offline, these statistics will identify the less frequently accessed media. The jbstatistics command allows jukebox statistic
information to be printed or cleared.
Statistics are collected for every surface and drive and contains the following counts:
PDL: Number of primary defect blocks on the DVD-RAM and MO/UDO/Blu-ray Optical surface.
SDL: Number of secondary defect blocks on the DVD-RAM and MO/UDO/Blu-ray Optical surface.
The number of DVD-RAM defect blocks is recalculated on every load of the surface.
Page 5 of 20
MANAGING THE JUKEBOX STATISTICS
To view the current jukebox Loads, Recover, Bad, PDL and SDL statistical information use the jbstatistics command.
To display the current statistics information for a jukebox identified as jb, enter:
#>jbstatistics jb
jb Loads Recover Bad PDL SDL
1a 0 0 0
1b 0 0 0
2a 5 0 0
2b 0 0 0
3a 0 0 0
3b 0 0 0
4a 0 0 0
4b 0 0 0
5a 0 0 0
5b 0 0 0
6a 0 0 0
6b 0 0 0
7a 0 0 0
7b 0 0 0
8a 0 0 0
8b 0 0 0
9a 0 0 0
9b 0 0 0
10a 0 0 0
10b 0 0 0
11a 0 0 0
11b 0 0 0
12a 0 0 0
12b 0 0 0
13a 0 0 0
13b 0 0 0
14a 0 0 0
14b 0 0 0
15a 0 0 0 36
15b 0 0 0
16a 13 0 0 2 12
16b 10 0 0 13 43
drive 1 6 2 0
drive 2 9 0 1
drive 3 9 0 0
drive 4 20 0 0
carrier 0
Note: A DVD-RAM media that contains more than 300 PDL or SDL blocks should be considered not to be reliable anymore.
QStar highly recommends not erasing and reusing such media.
Page 6 of 20
To display and sort the jukebox statistical information parameters, use jbstatistics with the following flags:
-S [LRBPS]
Print statistics in descending order according to the value of number of loads (L), number of recovered errors (R),
number of cases when a shelf/drive was marked bad (B), number of PDL blocks (P), or number of SDL blocks (S).
To clear the jukebox statistical information use jbstatistics with the following flags:
-C [LRBPS...]
Clear statistics for number of loads (L), number of recovered errors (R), number of cases when a shelf/drive
was marked bad (B), number of PDL blocks (P), number of SDL blocks (S).
-Ca
The -Ca is equal to -CLRBPS and clears all numbers.
Note: For more detailed information on the jbstatistics command, please refer to Chapter 9 - Command Reference in this
manual.
Page 7 of 20
FEATURE JB COMMANDS
The JB module allows various operations with the jukebox and its elements (shelves, drives, carriers, and mailslots).
All the jb commands are available once the jukebox scheduler is running.
The commands that enable and disable the jukebox driver are:
jbscheduler Start the jukebox driver (usually this command is automatically run at boot time).
jbshut Shut down the jukebox driver.
The Commands that can set the online/offline status of the elements or show their status are the following:
jbreset Can clear the bad status of a drive and shelf in a single command when an error has occurred.
jbshelf Can set online/offline the media into the selected shelf and can clear the bad status of the shelf when
the error occurred.
jbdrive Can set online/offline the drive media into the selected shelf and can clear the bad status of the shelf when the
error occurred.
jbstatus Can show the status of the jukebox, including drives, shelves, mailslot and carriers.
jbparam Can show and change the parameters of the jukebox, including idle, inactive and quantum times, also
the number of imports, exports, loads, unloads and flips.
jbstatistics Can show and clear the statistics of the jukebox, including load, recover, PDL and SDL information.
Page 8 of 20
Displaying the Jukebox Status
The jbstatus command is used to display the jukebox status, including the drives, shelves, mailslot and carriers. The jbstatus
command can be run with different options please refer to Chapter 9 - Command Reference in this manual.
The jbstatus command is a useful tool to monitor the jukebox status and to detect which jukebox component may be failing.
#>jbstatus jb
DISK-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online empty
Drive 2: online empty
Drive 3: online full loaded shelf 2a
Drive 4: offline empty
-----------
Shelf 1: online full
Shelf 2: online loaded open drive 3
Shelf 2: online full
Shelf 3: online full
Shelf 4: online full
Shelf 5: online empty
Shelf 6: online empty
Shelf 7: online empty
Shelf 8: online empty
Shelf 9: online empty
Shelf 10: online full
Shelf 11: online full
Shelf 12: online empty
Shelf 13: online empty
Shelf 14: online empty
Shelf 15: online empty
Shelf 16: online empty
Shelf 17: online empty
Shelf 18: online empty
Shelf 19: online empty
Shelf 20: online empty
Page 9 of 20
Example for a CD/DVD jukebox.
#>jbstatus jb
DVD-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: cd-rom dvd-rom dvd-ram online empty
Drive 2: cd-rom dvd-rom dvd-ram online empty
Drive 3: cd-rom dvd-rom online empty
Drive 4: cd-rom dvd-rom online empty
Drive 5: dvd-rom dvd-r online empty
Drive 6: cd-rom cd-r cd-rw online empty
-----------
Shelf 1: dvd-ram online full magazine 1
Shelf 2: dvd-ram online full magazine 1
Shelf 3: dvd-ram online full magazine 1
Shelf 4: dvd-ram online full magazine 1
Shelf 5: dvd-ram online full magazine 1
Shelf 6: dvd-ram online full magazine 1
Shelf 7: dvd-r online full magazine 1
Shelf 8: dvd-r online full magazine 1
Shelf 8: dvd-ram online full magazine 1
Shelf 9: dvd-ram online full magazine 1
Shelf 10: dvd-ram online full magazine 1
Shelf 11: online empty magazine 2
Shelf 12: cd-rom 1-side online full magazine 2
Shelf 13: cd-rom 1-side online full magazine 2
Shelf 14: online empty magazine 2
Shelf 15: dvd-rom 1-side online full magazine 2
Shelf 16: online empty magazine 2
Shelf 17: cd-r 1-side online full magazine 2
Shelf 18: cd-r 1-side online full magazine 2
Shelf 19: cd-rom cd-r cd-rw dvd-rom dvd-r dvd-ram online full magazine 2
Shelf 20: cd-rom cd-r cd-rw dvd-rom dvd-r dvd-ram online full magazine 2
Note: The jbstatus command for CD/DVD device shows the magazine number information, the drives capabilities and media
type within the shelves. Before the refresh procedure (vlrefresh command) all media capabilities are assigned for every full
shelf (i.e shelves 19 and 20). This allows loading the media into all drives during the refresh procedure to determine the correct
media type of the shelf. The media type is automatically set after the refresh procedure and “1-side” information will be
assigned if the media is single sided and the jukebox also supports dual sided media. After that, the jbscheduler will only allow
the proper media to be loaded into the drive that can handle this media type. For example, the media loaded into the shelf with a
“cd-r” status may be inserted only into the CD-R drive. Once the CD-R media is burned and becomes a CD-ROM media, the
QStar Software will automatically change the “cd-r” status to “cd-rom” . The shelf’s media type can also be manually cleared
or changed using the “-r” or “-p” option with the jbshelf command. The “1-side” information can be changed using the “-1”
flag.
Page 10 of 20
Setting the Drive Profile and Priority
Using the jbdrive command is possible to change the drive profile and the drive priority. These options are mostly used with
drive that support different type of media, like the DVD multi-function drive. Modifying the drive profile is possible to set a
drive for read only operation or write only operation. Changing the drive priority is possible to decide which drive should be
used mostly for the read operation or for the write operation or both read and write operation.
jbdrive [-H host_name] [-nfbr] [-u {priority | rrr:www:rw | auto | default}] [-p {cd-rom | cd-r | cd-rw | dvd-rom |
dvd-r | dvd-ram | dvd-rw | dvd-rw-s}] device_name drive_number
Note: For more detailed information on the jbdrive command, please refer to Chapter 9 - Command Reference in this manual.
To modify the drive profile, use the jbdrive command with the following flag:
This flag is used primarily for jukeboxes with CD-ROM, CD-R, DVD-ROM, DVD-R, DVD-RAM drives present. The jbstatus
command shows drive's capabilities and media type of the shelves. The media type is automatically set and can be altered with -p
option, and after that, the jbscheduler will only load a media to a drive that can handle this media type.
To set the priority for the usage of the drive, use the jbdrive command with the following flag:
This flag is used mostly for jukeboxes with CD-ROM, CD-R,DVD-ROM, DVD-R and DVD-RAM drives present. The priority
defines the order in which the drive's are used by jbscheduler when it is looking for an appropriate drive. Example, in a jukebox
with 4 drives the priority numbers that can be used are 1,2,3,4. The jbscheduler searches for the drive, starting with the lowest
priority. The rrr:www:rw format assigns drive priority for read, write and read-write operations separately. The keyword auto
assigns drive priority according to drive capabilities. This allows drives with the least capabilities to be used first, leaving multi-
function drives with more capabilities available for a wider range of media types.
#>jbstatus jb
DVD-jb – JUKEBOX TYPE
----------
Carrier 1: empty
Carrier 2: empty
----------
Mailslot 1: empty
----------
Drive 1: cd-rom cd-r cd-rw dvd-rom dvd-r dvd-ram dvd-rw dvd-rw-s online empty
Drive 2: cd-rom cd-r cd-rw dvd-rom dvd-r dvd-ram dvd-rw dvd-rw-s online empty
Page 11 of 20
To modify the drive 1 profile for read only operation, enter:
#>jbstatus jb
DVD-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: cd-rom dvd-rom dvd-ram online empty
Drive 2: cd-r cd-rw dvd-r dvd-ram dvd-rw dvd-rw-s online empty
#>jbdrive –u 1
To set the specific read and write priority for a drive, enter:
#>jbdrive –u 3:2:1
Page 12 of 20
Examples of Controlling the Jukebox Using the JB
Commands
Example 1 - Importing Media into the Jukebox and Checking the
Status of the Jukebox
#>jbimport jb 1
#>jbimport jb 2
#>jbimport jb 3
#>jbstatus jb
DISK-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online empty
Drive 2: online empty
-----------
Shelf 1: online full Note: Shelves 1,2,3 are full.
Shelf 2: online full
Shelf 3: online full
Shelf 4: online empty
#>jbstatus jb
DISK-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online empty
Drive 2: online empty
-----------
Shelf 1: online full
Shelf 2: online empty Note: Shelf 2 is empty.
Shelf 3: online full
Shelf 4: online empty
Page 13 of 20
Example 3 - Setting a Drive and Shelf Offline, Loading a Media into a
Drive and then Checking the Jukebox Status
#>jbdrive -f jb 1
jb drive 1: is set offline
#>jbshelf -f jb 1
jb shelf 1: is set offline
#>jbload jb 1 1a
#>jbstatus -d jb
Drive 1: offline full loaded shelf 1a Note: Drive status is changed.
Drive 2: online empty
#>jbstatus -s jb
Shelf 1: offline loaded drive 1 Note: Shelf status is changed.
Shelf 2: online empty
Shelf 3: online full
Shelf 4: online empty
Example 4 - Unloading a Media from the Drive, Setting the Drive and
Shelf Online and then Checking the Jukebox Status
#>jbunload jb 1
#>jbdrive -n jb 1
jb drive 1: is set online
#>shelf -n jb 1
jb shelf 1: is set online
#>jbstatus jb
DISK-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online empty
Drive 2: online empty
-----------
Shelf 1: online full
Shelf 2: online empty
Shelf 3: online full
Shelf 4: online empty
Note : For more detailed information on the jb commands, please refer to Chapter 9 - Command Reference in this manual.
Page 14 of 20
ERROR RECOVERY
QStar's Software contains features that let you recover from most errors introduced by accident or caused by hardware failure.
When jbscheduler fails to move media from a shelf to a drive and vice versa or when it fails to flip media, it marks both the
media and drive as “Bad”. From that moment on, the media and the drive, which are marked as Bad, will not be used by the
jbscheduler until the problem is fixed.
Check the status of the drives and shelves with the jbstatus command. If the drive, with or without a media, is marked as Bad,
then try to recover with the jbreset command. This will clear the Bad status of a drive and, if media is present in the drive, of
the shelf and then move the media back to the shelf. Again, check with jbstatus for the current status of the jukebox. If a Bad
status is still displayed on a shelf or drive, it can be cleared by using the jbshelf or jbdrive command.
Selected Errors
The commands you need to use to recover from most hardware failure or human errors are:
jbstatus
jbreset
jbdrive
jbshelf
To recover the correct status of the jukebox components, follow these steps:
#>jbstatus jb
DISK-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online full bad loaded shelf 1a Note: Drive is marked bad.
Drive 2: online empty
-----------
Shelf 1: online loaded bad open drive 1 Note: Shelf is marked bad.
Shelf 2: online full
Shelf 3: online full
Shelf 4: online empty
Page 15 of 20
a) Automatically
#>jbreset jb 1
jb drive 1: is set offline
jb shelf 1: is set offline
jb drive 1: is set online
jb shelf 1: is set online
b) Manually
#>jbdrive -bf jb 1
jb drive 1: is set offline
#>jbshelf -bf jb 1
jb shelf 1: is set offline
#>jbdrive -n jb 1
jb drive 1: is set online
#>jbshelf -n jb 1
jb shelf 1: is set online
In either of the above procedures, the status of the jukebox should appear as follows:
#>jbstatus jb
DISK-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online empty Note: Drive is unloaded and bad flag cleared.
Drive 2: online empty
-----------
Shelf 1: online full Note: Shelf’s bad flag cleared.
Shelf 2: online full
Shelf 3: online full
Shelf 4: online empty
Note: QStar highly recommends checking the status of the drive and shelf after jbreset command. If the jukebox is a DVD
jukebox it is also recommended checking if the media type information is correct. If the media type information is different or
not displayed, use the jbshelf -r command to reset the media type information and refresh the shelf using the vlrefresh
command.
Page 16 of 20
Example 2 - Clearing a Drive Bad Status
#> jbstatus -d jb
Drive 1: online bad empty Note: Drive is marked bad.
Drive 2: online empty
#> jbdrive -b jb 1
#> jbstatus -d jb
Drive 1: online empty Note: Drive bad flag is cleared.
Drive 2: online empty
#>jbstatus -s jb
Shelf 1: online loaded drive 1
Shelf 2: online bad full Note: Shelf is marked bad.
Shelf 3: online full
#>jbshelf -b jb 2
#>jbstatus -s jb
Shelf 1: online loaded drive 1
Shelf 2: online full Note: Shelf’s bad flag is cleared.
Shelf 3: online full
Page 17 of 20
Example of Recovery for Lost Source Shelf Information
This error can be introduced by human intervention or hardware failure.
In this case the jukebox loads media into a drive and because of a hardware error, forgets which shelf the media came from. The
jbstatus command output displays this media as having lost the source shelf information.
The QStar Software redirects the following message into the /opt/QStar/log/syslog file as well as displaying it on the console:
To clear this error the System Administrator must use the jbreset command additionally specifying an empty shelf number
that will be used by the QStar Software as the destination for this media.
#>jbstatus jb
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online empty Note: Drive is empty and the error is cleared.
Drive 2: online empty
-----------
Shelf 1: online full Note: Shelf is full.
Shelf 2: online full
Shelf 3: online full
Shelf 4: online empty
Page 18 of 20
Example of Recovery for Unknown Shelf Type Information
This error can be introduced by a hardware failure during the refreshing operation executed with the vlrefresh command and it
is specific for DVD/CD jukeboxes with mixed drives types or drives that support different types of media. Before the refresh
procedure all media capabilities are assigned for every full shelf. This allows loading the media into all drives during the refresh
procedure to determine the correct media type of the shelf. The media type is automatically set after the refresh procedure.
After that, the jbscheduler will only allow the correct media to be loaded into the drive that can handle this media type. If during
the refresh procedure the jukebox loads media into a drive and because of a hardware error could not detect the media type of
the shelf, the QStar Software automatically will removes all the profile information for the shelf in order to force the System
Administrator to refresh the shelf once again. The jbstatus command output displays this shelf without the media type
information. Using the jbshelf command with -r flag it is possible to reset all profile information for the media to determine the
correct media type for the shelf at the next refresh.
#>jbshelf -r jb 2
jb shelf 1: is set online cd-rom dvd-rom dvd-r dvd-ram
Shelf 1: cd-rom dvd-rom dvd-r dvd-ram online full
#>jbstatus jb
DVD-jb – JUKEBOX TYPE
------------
Carrier 1: empty
------------
Mailslot 1: empty
------------
Drive 1: cd-rom dvd-rom dvd-r dvd-ram online empty
Drive 2: cd-rom dvd-rom dvd-r dvd-ram online empty
Drive 3: cd-rom dvd-rom dvd-r dvd-ram online empty
Drive 4: cd-rom dvd-rom dvd-r dvd-ram online empty
------------
Shelf 1: cd-rom 1-side online full
Shelf 2: cd-rom dvd-rom dvd-r dvd-ram online full
Shelf 3: dvd-ram online full
Shelf 4: dvd-r 1-side online full
Note: The Shelf 2 is displayed with all media capabilities. The media type of the shelf will be reassigned by running the
vlrefresh command for the specific shelf.
Page 19 of 20
USE OF MEDIA NOT SUPPORTED BY THE JUKEBOX
This type of incident is rare, but could happen if the manufacturer’s drive does not support the type of media that you are trying
to use. Assume that you import a WORM disk into a jukebox that only supports rewritable disks. Jbscheduler, after loading the
disk into the drive, cannot spin the disk and make it ready for use. Thus, jbscheduler will not unblock the I/Os that were issued
to the disk. The jbstatus command shows that the imported disk and the drive in which it is loaded are marked Bad.
The only way to properly unblock the I/O is by using the jbreset command. The jbexport command should be run to export the
wrong disk, use jbstatus to check that no bad flags were set. If this fails, try jbunload or ejecting the media from the front panel
of the jukebox.
Page 20 of 20
This chapter describes the basic notions of the Volume Librarian (VL) and the relationship between VL and the devices (media,
jukebox and standalone drives). There are detailed explanations of the commands used to control the VL to ensure the maximum
potential is obtained from the devices attached to the system and offline from the system. Details of recovery procedures in the
event of VL database inconsistency.
INTRODUCTION............................................................................................................................... 4
Electronic Labeling .................................................................................................................... 4
Location Tracking........................................................................................................................ 4
Dynamic Media Allocation ......................................................................................................... 4
Media Set Quotas........................................................................................................................ 4
BASIC NOTIONS.............................................................................................................................. 5
VL Domain .................................................................................................................................... 5
VL Device Name .......................................................................................................................... 5
Volume .......................................................................................................................................... 5
Volume Set................................................................................................................................... 5
VL Server ...................................................................................................................................... 5
VL Database ................................................................................................................................. 5
Volume Set Policies .................................................................................................................... 6
Set Id............................................................................................................................................. 6
Surface Id ..................................................................................................................................... 6
Refreshing .................................................................................................................................... 6
VL Daemons ................................................................................................................................. 6
USING THE VOLUME LIBRARIAN ................................................................................................. 7
MANAGING MEDIA VIA THE VL DATABASE............................................................................... 7
VL MEDIA SET RELATED COMMANDS......................................................................................... 7
MANAGING THE VL DATABASE .................................................................................................... 8
Importing and Exporting the Media ........................................................................................ 8
Erasing the Media ....................................................................................................................... 9
Refreshing the Media ............................................................................................................... 10
Creating an Integral Volume Set........................................................................................... 10
Creating an Integral Volume Set with the SDF File System........................................ 11
Database Backup Configuration Option ....................................................................... 12
Additional Shredding Options for Optical Archive Media.......................................... 16
Additional Compression Option for Tape Archive Media .......................................... 16
Creating an Integral Volume Set with the UDF or ISO 9660 File System................ 17
Creating an Integral Volume Set with Single-Volume and Automount
Interchange Level............................................................................................................. 17
Creating an Integral Volume Set with Spanning Interchange Level ..................... 20
Additional Options for CD/DVD-ROM Archive Media with UDF and
ISO 9660 File System .......................................................................................................... 21
Creating a Set with No Media File System ...................................................................... 22
Creating and Adding a Cache to an Integral Volume Set ................................................ 22
Modifying the Cache for an Integral Volume Set ............................................................... 24
Adding Media to an Integral Volume Set............................................................................. 24
Adding Media to an SDF Integral Volume Set ................................................................ 25
Adding Media to an UDF or ISO 9660 Integral Volume Set ........................................ 25
Adding Media to a UDF or ISO 9660 Integral Volume Set Specifying
the Logical Volume ID.......................................................................................................... 26
Page 1 of 100
Displaying Integral Volume Set Information ...................................................................... 27
Displaying the Information for the SDF File System and Optical Media................... 27
Displaying the Information for the SDF File System and Tape Media....................... 28
Displaying the Information for the UDF File System with the Single-Volume
Interchange Level and DVD-RAM Media .......................................................................... 28
Displaying the Information for the UDF File System with the Automount
Interchange Level and DVD-RAM Media .......................................................................... 29
Displaying the Information for the UDF or ISO 9660 File System with
the Automount Interchange Level and CD/DVD-ROM Media ...................................... 29
Displaying the Information for the UDF File System with the Automount
Interchange Level and CD/DVD-R or BD-RS Media and Packet Writing................... 30
Displaying the Information for the UDF File System with the Spanning
Interchange Level and Optical Media ............................................................................... 30
Displaying the Information for the UDF File System with the Spanning
Interchange Level and CD/DVD-R or BD-RS Media and Packet Writing................... 31
Displaying the Information for the No Media File System ........................................... 31
VL JUKEBOX RELATED COMMANDS .......................................................................................... 34
Main Information for the Media in the VL Database ......................................................... 34
Displaying the Jukebox Media and Shelf Information....................................................... 35
Displaying jukebox shelf Information for the SDF and UDF File Systems ............... 36
FIXING VL DATABASE INCONSISTENCIES.............................................................................. 37
Fixing a Database Inconsistency after a Jukebox Hardware Failure ............................. 37
Fixing Database Inconsistencies after a Media has been Manually Removed
from the Jukebox ...................................................................................................................... 40
MANAGING OFFLINE MEDIA UNDER VL CONTROL ................................................................ 41
Managing Offline Media ........................................................................................................... 41
Canceling a Request for Offline Media ................................................................................ 44
Managing Offline Integral Volume Sets ............................................................................... 44
MANAGING OFFLINE MEDIA UNDER VL CONTROL USING THE MAGAZINE OR PACK
IMPLEMENTATION......................................................................................................................... 45
ADDING MEDIA TO AN INTEGRAL VOLUME SET.................................................................... 50
Media Available.......................................................................................................................... 50
No Media Available ................................................................................................................... 50
RESTORING AN INTEGRAL VOLUME SET................................................................................. 51
Restoring an Integral Volume Set not Known to the VL Database ................................ 51
Restoring an Integral Volume Set after a Software Upgrade ......................................... 51
Restoring an Exported Integral Volume Set Deleted from the VL Database ............... 52
DATA COMPACTION UNDER VL CONTROL............................................................................... 54
Data Compaction Feature for the SDF File System ........................................................... 55
Data Compaction Feature Using the Reallocation Only Option....................................... 58
Data Compaction not Available.............................................................................................. 60
ERROR RECOVERY ........................................................................................................................ 60
THE COPY AND COMPARE MEDIA UTILITIES .......................................................................... 61
Copy and Compare Media without VL Control (SDF Only)............................................... 61
Substitute the Original Copy of the Media with the Exact Duplicate......................... 62
Copy and Compare Media Under VL Control....................................................................... 62
Substitute the Original Copy of the Media with the Duplicate .................................... 66
Automated Copy Media Under VL Control ........................................................................... 68
Page 2 of 100
VL CONFIGURATION PROPERTIES FILE ................................................................................... 71
Displaying and Setting the General VL Configuration Properties ................................... 72
Displaying and Setting the VL Configuration Threshold Blank/Erased
Media Properties........................................................................................................................ 72
Displaying and Setting the VL Configuration for Offline Media Request Properties ... 72
Displaying and Setting the VL Configuration for the Export Root
Directory Location..................................................................................................................... 72
Displaying and Setting the VL Configuration for the Remote
Administration Properties........................................................................................................ 73
Displaying and Setting the VL Configuration for the Big Space Root
Directory Properties ................................................................................................................. 73
Displaying and Setting the VL Configuration for the Minimum File System
Space Available ......................................................................................................................... 74
Displaying and Setting the QStar Server Port Configurations ........................................ 74
DELAYED JOBS UNDER VL SCHEDULER CONTROL................................................................ 75
Displaying the Delayed Jobs under VL Scheduler Control ............................................... 75
Displaying and Setting the VL Configuration CD/DVD-R Delayed Recording
Properties ................................................................................................................................... 76
Starting the Delayed Recording Procedure ..................................................................... 77
Examples of Delayed Write Procedure Using the Any Shelf Option....................... 79
Examples of Delayed Write Procedure Using a Specified Shelf .............................. 80
Displaying and Setting the Delayed VL Configuration Copy Media Properties ............ 81
Starting the Delayed Copy Media Procedure .................................................................. 82
Examples of the Delayed Copy Media Procedure Specifying the Destination
Shelf .................................................................................................................................... 83
Examples of the Delayed Copy Media Procedure without Specifying the
Destination Shelf .............................................................................................................. 83
Displaying and Setting the Delayed VL Configuration Compare Media Properties..... 84
Starting the Delayed Compare Media Procedure........................................................... 84
Examples of Delayed Compare Media Procedure ...................................................... 85
Displaying and Setting the Delayed VL Configuration Data Compaction Properties.. 86
Starting the Delayed Data Compaction Procedure........................................................ 86
Examples of Delayed Data Compaction Procedure ................................................... 87
Displaying and Setting the VL Configuration Delayed Erase Media Properties ........... 88
Starting the Delayed Erase Procedure ............................................................................. 88
Examples of Delayed Erase Media Procedure............................................................. 89
Displaying and Setting the VL Configuration Delayed Archive Properties.................... 90
Starting the Delayed Archive Procedure.......................................................................... 90
Examples of Delayed Archive Procedure ..................................................................... 91
Displaying the Delayed Jobs Status in the Delayed Jobs Queue List ............................ 92
Displaying the Delayed Jobs Status for a Single Job .................................................... 93
Displaying the Delayed Jobs Status for Different Delayed Jobs................................. 94
Displaying the Delayed Jobs Status in Long Format..................................................... 96
Moving Delayed Jobs from the Delayed Jobs List .............................................................. 98
Deleting Delayed Jobs from the Delayed Jobs List............................................................ 99
DISPLAYNG ERROR CONDITIONS FOR DELAYED JOBS.................................................. 100
Page 3 of 100
INTRODUCTION
The “VL” commands allow configuration of the QStar database named Volume Librarian (VL). The QStar Volume Librarian
module is responsible for managing all archival media known to QStar, referred to as the media library. The Volume Librarian
knows the location (both the physical and logical) and status of every archival media, whether available online in a jukebox or
offline in a storage facility. Its capabilities eliminate any errors that may occur in manual volume management, while increasing
productivity and performance. For online media, the QStar Software automatically manages all disk or tape allocations and
movement without operator intervention. For requests that require offline archival media access, the operator is prompted to
retrieve the disk or tape from its storage location outside jukebox and insert it into the QStar designated device.
To ensure integrity of the large numbers of archival media in the media library, the QStar Software uses a volume database to
index the location and status of each disk or tape.
In this chapter the media managed by the Volume Librarian can be referred to in different ways depending on the type of
configuration specified by the System Administrator as follows:
“Set” or “Media set”: Is a group of media in the jukebox associated to a same set.
“Integral Volume set”: Is a group of media that appears as one continuously growing disk space associated to a set with a
cache, so the Media set is mounted with a front end cache.
Electronic Labeling
The key to each archival medium is a unique electronic ID, applied directly to each disk or tape. This label is used to record the
surface, the physical media, and any additional information QStar needs. Using the electronic label, QStar can quickly locate
any media under its control.
Location Tracking
As disks or tapes move from one location to another, the VL database is updated with the new information. For example, if you
request information residing on a disk outside a jukebox, the QStar Software prompts the Administrator to “retrieve volume 101
from the storage facility and place it in jukebox 1”. Once inserted, the database changes the new location for volume 101 to
jukebox 1.
Page 4 of 100
BASIC NOTIONS
VL Domain
A VL Domain is a collection of hosts and devices managed by the Volume Librarian. A host may belong to a number of
domains. That means the host devices can be distributed between several domains. A domain is identified by its name. For
every domain, a host belongs to there is a subdirectory in the /opt/QStar/vl/files directory with that domain name. This
subdirectory is referenced below as the domain root directory. See its contents in the VL Database entry.
VL Device Name
A name used to identify the device in the Volume Librarian. The device can be a jukebox or a standalone drive. Every device
configured, during the installation of the QStar Software is represented by a directory containing the special files needed to
access the device. The name of this directory (e.g. /opt/QStar/dev/jb for Solaris, /dev/jb0 for AIX IBM) is the name used in the
JB functions and commands. The last component of this name (jb for the above example) is the VL device name. The
installation program for the QStar Software allows the Administrator to specify which domain (or domains) a certain device
belongs to.
Volume
A surface is a part of the volume set. Each volume has its 0-based volume number. If a volume is loaded into the device (on the
shelf in a jukebox or into a standalone drive) it is online. Otherwise, it is considered offline and the Volume Librarian maintains
its offline location.
Volume Set
A sequence of volumes integrated as a single unit. For example, a file system containing a couple of surfaces is a set. A Media
set has a name (set name) and attributes. A medium belonging to a Media set can be online (residing in the jukebox or
standalone drive) or offline (outside the jukebox but with the offline location known to VL).
VL Server
When the VL starts on a host, a special daemon (VL server) is activated. The VL API communicating with the corresponding
server directs all requests for VL operations, which may be a VL server on the same host or on any other host in the same
domain. The VL server maintains the VL database within the domain.
VL Database
The VL database includes the list of hosts controlled by VL and the databases for the devices, sets and archives on the current
host. The root database directory (/opt/QStar/vl/files) contains the following files and directories:
devices
For every device controlled by VL, this directory contains a device database. A database is a file whose
name matches the VL device name.
sets
For every set, this directory contains a set database. A set database is a file whose name matches the set name.
Page 5 of 100
Volume Set Policies
There are two policies managing how to add media to a set. The stagger policy knows where to find a new surface, which can be
used as the next volume in the set; on the same media, or on the next media. The spread policy knows whether a set can be
distributed between several jukeboxes and hosts within the same domain.
Set Id
A string of characters which are normally written on every volume and identifying the set, this volume belongs to.
Surface Id
A string of characters which is normally written on every surface and identifying the volume within the set.
Refreshing
To build the state of the surfaces, the Volume Librarian has to examine the existence of the medium (on the shelf or in the
standalone drive), read information from the existing media and populate the VL database. This procedure is called refreshing.
Importing a medium into a jukebox also causes the medium to refresh.
VL Daemons
The Volume Manager processes all requests from the VL clients. The Volume Manager also controls the adding of any
additional media to the Integral Volume sets it also manages adding them to a mounted set dynamically.
Page 6 of 100
USING THE VOLUME LIBRARIAN
The VL module manages the media in the jukebox and allows the QStar Software to track all media in and out of the jukebox.
The Volume Librarian module makes it possible to configure the entire jukebox as a unique volume or to create multiple
volumes inside the same or multiple jukeboxes. Using the VL commands, media can be configured to the Administrator's
requirements. Different applications can have different media criteria to suit the applications requirements.
Page 7 of 100
The VL commands related to managing a Media set (Integral Volume set):
vlcrset Create a Media set (file system) on the archival media
vladdtoset Add additional media to the Media set
vlcache Create and modify a cache for a Media set
vldelset Delete a Media set
vlmvset Rename a Media set name
vleditset Display and modify Media set information
vlinset Modify information relating to a CD within the Media set
vllsset List set information in the database
vlclose Close the media of a UDF volume
mountiv Mount an Integral Volume set
umount/umountiv Unmount an Integral Volume set
Note: QStar recommends reviewing the explanation for the VL related commands in Chapter 9 - Command Reference of this
manual, while reading this chapter.
vlimport [-H host_name] [-a] [-o] [-p {cd-rom | cd-r | cd-rw | dvd-rom | dvd-r | dvd-ram | dvd-rw | dvd-rw-s | 1}]
[-C] [-S simulation_param] device_name shelf_number [num_shelves]
vlimport [-H host_name] [-a] -s set_name in_set_number
vlimport [-H host_name] [-a] -s set_name
Note: The -p option is used to specify the type of media that will be imported. This option can be used with CD/DVD or Blu-ray
jukeboxes with mixed drives types or drives that support different types of media. This allows loading media into the correct
drive during the refresh procedure to determine the media type of the shelf. If the -p option is omitted the QStar Software will
automatically detect the media type. The media type is automatically set after the refresh procedure. After that, the jbscheduler
will only allow the correct media to be loaded into the drive that can handle this media type. QStar recommends reviewing the
explanation for the vlimport command in Chapter 9 - Command Reference of this manual, while reading this section.
Note1: The operations related to the simulated Hard Disk/Centera jukebox are omitted.
#>vlimport jb 1
2) To import the media into a shelf of a jukebox identified as jb specifying the media type, enter:
#>vlimport –p dvd-ram jb 1
3) To import the media into a shelf of a jukebox identified as jb specifying that is single surface and the media type, enter:
#>vlimport –p dvd-ram –p 1 jb 1
Page 8 of 100
4) To import 5 media into a shelves starting from shelf 1 of a jukebox with magazine mailslot identified as jb, enter:
#>vlimport jb 1 5
#>vlexport jb 1
vlerase [-H host_name] [-v] [-fe] [-j {delayed_job_name | "default"}] [-d {[mmdd]HHMM|[cc]yymmddHHMM}]
device_name shelf_number[{a|b}]
vlerase [-H host_name] [-vfe] device_name shelf_number:shelf_number
-f Full erase option can be used to check the consistency of a faulty media. By default a fast erase will be performed.
If using Optical (MO/UDO/PDD) media with UDF, select -e emulate erase option. A special pattern will be written on the
media instead of physically erasing it. By default the QStar software erases only the first 2048 blocks on each side of the media,
with the -f option the pattern will be written in every block on the media. For vlrefresh a block with this pattern is recognized as
an erased block. Erase emulation is available for magneto-optical rewritable media only and its main purpose is to ensure that
there are no blank blocks on the media (blocks that cannot be read without error). It should be used on media that will hold the
UDF file system and then will be moved to a non-QStar Windows UDF implementation (some of which will not recognize
blank blocks).
#>vlerase jb 1
2) To erase the media from shelf 3 to shelf 6 of a jukebox identified as jb, enter:
#>vlerase jb 3:6
Note: To erase the media using the Delayed Erase Media procedure, please refer to Displaying and Setting the VL
Configuration Properties for Delayed Erase Media section in this chapter.
Page 9 of 100
Refreshing the Media
The vlrefresh command is used to refresh VL database information and fixes the VL database. Refreshing means reading
information from the media (if the media is present) and updating the relevant VL database records.
#>vlrefresh jb 1
#>vlrefresh jb
set_type set_type_specific_options:
sdf [-c {default|on|off}](tape media only)
[-Z 1] (RW disk media only)
[{-m [hostname_2]:setname_2 |-2 [hostname_1]:setname_1}[-h {low|high|normal}]
udf [-v {s|a}] [-R {150|200|201|250|260}] [-P {0|1}] [-S {0|1}] [-W {0|1}][-F {0|1}] [-V {0|1}] [-B
{0|1}]
[-E {CDR|DVDR}] [-A Publisher_media_retained]
[-D {0|1|2|3}] [-Q Publisher_host_name]
[-Y Publisher_port][-L Pubisher_label_file]
[[-k label_param1 -e label_value1]
[-k label_param2 -e label_value2] ...]
uvfs [-v{s|a}]
nom
The -q quota option specifies the maximum number of media that can be included in the Integral Volume set. The default
maximum number of media that can be added to an Integral Volume set is 2048. For example, if “1” is specified as the quota
number, once the first media is full QStar Software will return a file system full error. If “2” is specified as the quota number,
the QStar Software will automatically add another media to the Integral Volume set once the first one is full.
The –s Spread option allows the Integral Volume set to spread across multiple jukeboxes automatically. Without this option the
Integral Volume set will reside within the same jukebox it was created in. However, media from another jukebox can be
manually added to the Integral Volume set at anytime.
Page 10 of 100
The -U {local|share} option is used to specify whether an Integral Volume set can only be mounted and accessed from the local
server. This option is only available for HP-UX and Linux. The default value is share.
The cron_like_schedule option is used for incremental Copy Media and is available only for the SDF file system. QStar
recommends reviewing the explanation for the vlcrset command in Chapter 9 - Command Reference of this manual, while
reading this section.
The QStar Universal File System (UVFS) file system supports Read Only access to the following three Plasmon file systems:
• PFS - A simplified version of UDF, based on an older UDF implementation by HP
• AFS-1 - Archive File System, specifically developed for WORM
• AFS-2 - Improved version on AFS-1, optimized for speed and media usage
Thie creation of an Integral Volume set with the UVFS file system will not be explained in this manual, for more information
please refer to QStar Windows Administratior’s Guide.
The Standard Data Format (SDF) file system is used to create a Media set with WORM or writable Optical (MO/UDO/PDD)
media, Blu-ray (BD-RE, BD-RS) media, DVD-RAM media or Tape media. This configuration allows the use of multiple media
to be created as a single seamless file system with a magnetic cache. The “-m” and “-2” options are used to set up the Mirroring
configuration in the Data Director product, please refer to the Mirroring manual for a full explanation of the Mirroring
configuration.
The SDF default parameters are disk and writable Optical media. The -r readonly, -s spread, -q quota, -b full (Make a copy of
full media) and -b cron_like_schedule (Make an Incremental Copy) options are all available with the SDF file system. See
the THE COPY AND COMPARE MEDIA UTILITIES section later in this chapter for more details. The quota limit for an
Integral Volme set with the SDF file system is equal to 2048 media.
1) To create a new Integral Volume set definition named Test for rewritable Optical media with an SDF file system, enter:
2) To create a new Integral Volume set definition named Test for WORM Optical media with an SDF file system, enter:
3) To create a new Integral Volume set definition named Test for WORM and rewritable Optical media with an SDF file
system, enter:
4) To create a new Integral Volume set definition named Test for DVD-RAM media with an SDF file system, enter:
Page 11 of 100
5) To create a new Integral Volume set definition named Test for Blu-ray BD-RE rewritable media with an SDF file system,
enter:
6) To create a new Integral Volume set definition named Test for Blu-ray BD-RS WORM media with an SDF file system, enter:
7) To create a new Integral Volume set definition named Test for rewritable Optical media with an SDF file system and the
spread option enabled (so the set can spread across multiple jukeboxes), enter:
8) To create a new Integral Volume set definition named Test for rewritable Optical media with an SDF file system and the
read only option enabled, enter:
9) To create a new Integral Volume set definition named Test for WORM Optical media with an SDF file system and the
automatic start of Copy Media for full media enabled, enter:
10) To create a new Integral Volume set definition named Test for WORM Optical media with an SDF file system and the
scheduling of Automatic Incremental Copy Media media enabled, enter:
Note: With this command and the selected -b cron_like_schedule option, the Automatic Incremental Copy Media will be
scheduled to take place from Monday to Friday every week and month at 17:37. To change the scheduled time, the vleditset
command would be used.
The SDF file system writes the data and metadata sequentially to the media. The metadata information for the files written to the
file system are also kept in the SDF database which consists of 3 files the sdf_node, sdf_iblk, sdf_dir, one transaction log file
sdf_log, the sdf_shred and sdf_shred_map are only for the shredding option. These files are located in the cache directory.
For more detailed information about the sdf_db file, please refer to Chapter 6 - Migration Manager of this manual.
Configuration 1
During initialization of the next volume (except the first) in the Integral Volume set the SDF database files are independently
compressed (optical Media Only) and written to the beginning of the SDF volume (surface). QStar calls this process a rollover
backup. This feature of the SDF file system permits having all the metadata information of all files written to the previous
surface of the Integral Volume set on the next surface. In the case of disaster recovery this will allow for a very fast restore of
the file system structure information without reading all the media and without re-importing any media into the jukebox when
there are written media located offline (outside of the jukebox).
Database recovery is performed by reading the SDF database from the last written volume in the Integral Volume set and
uncompressing the SDF database files into the cache directory. After the database files are recovered the rest of the volume
(surface) is scanned and all file system events are recovered into the database files in the cache. This allows recovering the rest
of the meta-data that was written to the media after the database files were written.
Page 12 of 100
The SDF migrator uses a single thread model to handle all client requests and database backups. The database backup is
synchronized with write event processing. This means that the database backup is done when a write operation is received and a
new volume needs to be created. From a user’s perspective the archiving write operation is delayed while the database files are
being compressed and written to the media. For this reason a customer that has a file systems with millions of files, in some
cases may experience a Windows CIFS time-out that expires which may result in a write error.
The configuration that has the SDF Database files at the beginning of every surface may see a performance issue in large file
systems because it is a single threaded operation but it will be more reliable in disaster recovery because each surface will
contain the database and file system structure which will also allow using the dated mount option with more accuracy. Storing
the database at the beginning of each volume is more secure because the database is always accessible for the file system.
To configure how the SDF file system performs the backup of the database files, select and edit the
/opt/QStar/sdf/files/Integral volume name_backup_config.xml file. QStar will automatically create a file in this directory for
each Integral Volume set created. For example if the Integral Volume set name created is Test a file Test_backup_config.xml
file will be created. This file will be automatically deleted if the Integral Volume set is deleted with vldelset command.
The default value of all the available configuration options will be displayed in this file.
Page 13 of 100
<!-- First volume to start using the separate medium for backups
The number greater then 2048 is used for separate medium always -->
<First_SDF_DB_backup_volume>
<direct>2048</direct>
<sequential>2048</sequential>
</First_SDF_DB_backup_volume>
The First_SDF_DB_backup_volume option, displays the first surface/media used to start to backup the SDF database files on
separate media. This option allows the System Administrator to specify when the SDF file system will begin storing the
database files on separate media. By default the SDF file system will not use separate media for the SDF database file but it will
store them at the beginning of each volume until the specified volume number is reached. If 2048 is selected the SDF file
system will not backup to the he SDF database files on separate media. Leave 2048 in order to use Configuration 1. The direct
value is referred to Disk media and the sequential value is referred to Tape media. QStar recomends leaving the value of
2048 for Tape device.
Note: For tape jukeboxes it is required to have an additional drive used to performed database backup in Configuration 2. For
other jukebox types QStar recommends having an additional drive in the jukebox for database backup as thrashing can occur.
<!-- If no new volumes were created after the backup was triggered -->
<Force_SDF_BACKUP_after_days>0</Force_SDF_BACKUP_after_days>
The Force_SDF_BACKUP_after_days (Inactive Days) option specifies when the set will perform a database backup if a
database backup has not been performed in a specified number of days. The value of 0 means that this option is disabled.
<!-- Do not perform backup if less then ??? GB was written after previous backup
Supported following format for test purposes: <number>[G|M|K|B]
Where, G-gigabytes(default), M-megabytes, K-kilobytes, B-bytes -->
<Minimal_SDF_BACKUP_data_trigger>
<direct>0</direct>
<sequential>50</sequential>
</Minimal_SDF_BACKUP_data_trigger>
The Minimal_SDF_BACKUP_data_trigger option allows the System Administrator to specify that after the specified
Gigabytes are written to the Integral Volume set the SDF file system will perform the database backup. The direct value is
referred to Disk media and the sequential value is referred to Tape media. For Tape the setting must be 50 Gigabytes or
greater. For Disk this setting is not recommend as more space will be used on the media. The value of 0 means that this option
is disabled.
Page 14 of 100
- <!-- Specifies where data base backups can be performed on the primary node.
This should be a directory essentially assigned by the user where backup files
shall be stored. -->
<Primary_SDF_BACKUP_path />
The Primary_SDF_BACKUP_path option work in conjunction with the SDF_BACKUP_target option. If the System
Administator chooses a file system location as the primary location for the SDF database file then the administrator needs to
specify in which directory the SDF database files should be stored.
The Mirror_SDF_BACKUP_path option allows the System Administrator to specify an additional database backup location
on a file system, where the QStar Software will write a secondary copy of the SDF database files.
QStar sets the limit high because without all the database versions the System Administrator will loose the opportunity to use
the Mount On Date option, which allows mounting the file system to a specific time and date in the past. In addtition, if the
SDF database is lost or unavailable, the only way to recreate the file system is to rescan all media block by block.
Note: Please contact your QStar representative for more detailed information on how to configure SDF backup settings.
The System Administrator can monitor all backup and restore operations on all SDF Integral Volume sets from the
c:\QStar\log\backup-log.xml file.
Page 15 of 100
Additional Shredding Options for Optical Archive Media
The shredding operation allows meeting compliance regulations that mandate if a file is deleted from the file system it must be
physically removed from the media as well. The SDF file system supports the shredding operation in two ways:
• Using UDO Compliance WORM media, QStar supports a specific SHRED SCSI command that allows shredding a block
on the media. If Complainant UDO WORM media are added to an Integral Volume set, the Software will detect that they
are Compliance WORM media and will automatically send the shred command to the UDO drive for every file deletion on
the file system. The option to disable Shredding in the QStar Software will be ignored if selected for Compliant WORM
media.
• Using the Shredding option on Optical rewritable media. If the Shredding option is enabled with rewritable optical
media, the files that are deleted will not be removed logically (which is the default method), the files will be physically
deleted by erasing the blocks on the media. These blocks contain the file information and data for the files selected for
deletion. This option allows treating the rewritable Optical media as compliance media.
Enabling and disabling the Shredding option several times may corrupt the file system. QStar recommends using this option
with extreme care.
The Mount On Date option, which allows mounting the file system to a specific time and date in the past, will not be available
if the Shredding option is enabled.
The shredding operation is available for both the HSM and Data Director (Mirroring) products.
1) To create a new Integral Volume set definition named Test for tape media with an SDF file system and compression option
enabled, enter:
Page 16 of 100
Creating an Integral Volume Set with the UDF or ISO 9660 File
System
The Universal Disk Format (UDF) file system can be used with WORM or rewritable Optical (MO/UDO/PDD) media, Blu-
ray (BD-RE) media, DVD-RAM media, CD/DVD-R/Blu-ray (BD-RS) with Packet Writing, CD/DVD-ROM media pre-
recorded with the UDF file system or pre-recorded with ISO 9660, with Rock Ridge and Microsoft extensions.
The Interchange Level defines how many volumes are in the Integral Volume set. The UDF file system allows three
Interchange Level configurations:
• Single-Volume:
Each surface is a separate file system with a magnetic cache and a mapped network drive for each surface.
• Automount:
Multiple media are viewed as a large file system each surface is a separate file system with a single magnetic cache
mounted under a single mapped network drive, each presented as a separate directory.
• Spanning:
Multiple media are viewed as a large file system with a magnetic cache where each surface is a separate file system but,
aggregated as a unique single file system mounted under a single mapped network drive.
The UDF default parameters are disk and writable Optical media, the interchange level is single-volume set, packet writing is
disabled, space calculation is enabled, verification is disabled and the UDF version is 1.50.
The -v option is used to specify the interchange level, the -R UDF revision option is used to specify the UDF version. The -r
readonly and -q quota options are available for all Interchange Levels. For Single-Volume, the quota limit is equal to 1 and
for Automount or Spanning the quota limit is 2048.
The -W Write Verification option is used to specify if verification after write will be performed. By default, the Write
Verification is disabled because it will significantly decrease write performance. There are many automatic features within the
QStar Software to ensure data integrity. This option was introduced for System Administrators that do not need a fast archiving
environment and prefer to have an additional check to ensure data integrity. QStar recommends using Write Verification for
CD/DVD-R media when write verification is not implemented at the drive level. If the Write Verification option is enabled, the
data is read from the medium into a separate buffer and compared. If medium operations are performed on track-oriented
medium (CD-R, DVD-R, BD-RS) the whole data buffer is verified. Otherwise, only the last block is compared, because of
performance considerations. In both cases the presence of VAT (Virtual Allocation Table) ICB in the last data block is verified.
The Single-Volume Interchange Level should only be used with a standalone drive. This configuration will only create a UDF
file system on a single surface of the media. The file system is limited to the single surface size of the media being used. If this
configuration is used in a jukebox with dual sided media, it will require exporting the media, flipping the media manually and
then importing the media back into the jukebox to use the second side of the media. However, if single sided media is used the
jukebox will function correctly. The Automount Interchange Level can also be used with a standalone drive.
The -S Space Calculation option is specific for Single-Volume and Automount Interchange Levels. This option is used to
enable or disable the space calculation. The QStar Software, in Automount and Single-Volume Interchange Level, by default
will turn on Space Calculation in order to prevent accepting data into the cache if there is not enough space on the media
surface. The Space Calculation will slow down the write performance at the end of the surface but will prevent accepting data
into the cache which cannot be written to the surface. If the Space Calculation is disabled and there is not enough space, a
covered error will be generated and the write procedure will be interrupted until the files that cannot be written to the surface are
manually removed from the cache. This option was introduced for applications that will make their own calculation regarding
Page 17 of 100
the amount of data that will be written on the surface, so there is no need to use QStar Space Calculation. For example, some
applications will write data until 98% of the capacity of the surface is reached. The Space Calculation option is not applicable
to a Spanning Integral Volume set, as media is dynamically added as required.
1) To create a new Integral Volume set definition named Test for rewiteable Optical media with a UDF file system and single-
volume interchange level, enter:
2) To create a new Integral Volume set definition named Test for WORM Optical media with a UDF file system and single-
volume interchange level, enter:
3) To create a new Integral Volume set definition named Test for DVD-RAM media with a UDF file system and single-
volume interchange level, enter:
4) To create a new Integral Volume set definition named Test for Blu-ray BD-RE rewritable media with a UDF file system and
single-volume interchange level, enter:
5) To create a new Integral Volume set definition named Test for Blu-ray BD-RS WORM media with a UDF file system and
single-volume interchange level, enter:
#>vlcrset –T udf –u bd-rs Test
6) To create a new Integral Volume set definition named Test for rewiteable Optical media with a UDF file system and
automount interchange level, enter:
7) To create a new Integral Volume set definition named Test for WORM Optical media with a UDF file system and
automount interchange level, enter:
8) To create a new Integral Volume set definition named Test for DVD-RAM media with a UDF file system and automount
interchange level, enter:
9) To create a new Integral Volume set definition named Test for DVD-RAM media with a UDF file system and automount
interchange level and the verification option enabled, enter:
10) To create a new Integral Vomume set definition named Test for DVD-RAM media with a UDF file system and automount
interchange level and the space calculation option disabled (by default is enabled), enter:
Page 18 of 100
11) To create a new Integral Volume set definition named Test for Blu-ray BD-RE rewritable media with a UDF file system
and automount interchange level, enter:
12) To create a new Integral Volume set definition named Test for Blu-ray BD-RS WORM media with a UDF file system and
automount interchange level, enter:
13) To create a new Integral Volume set definition named Test for DVD-RAM media with a UDF file system and automount
interchange level and the read only option enabled, enter:
#>vlcrset –T udf -v a -u dvd –r Test
14) To create a new Integral Volume set definition named Test for DVD-RAM media with a UDF file system and automount
interchange level and the UDF revision set to 201 (by default is 1.50), enter:
Additional Options for CD/DVD-R and BD-RS Archive Media and Packet Writing
Using the QStar Master Software, CD/DVD-R media can be recorded as disk-at-once and added automatically to an Integral
Volume set and seen as separate folders under a single mapped network drive. The -P Packet Writing option is used to specify
if the packet writing will be used for CD/DVD-R or Blu-ray (BD-RS) media, The Packet Writing option will be available if
CD/DVD-R and BD-RS is selected as the archive media type. The CD/DVD-R or BD-RS media can be added directly to the
Integral Volume set only if the Packet Writing option is selected. If Packet Writing is not selected, the adding procedure will
be denied and QStar will return an error message of incompatible media type.
15) To create a new Integral Volume set definition named Test for CD/DVD-R media with a UDF file system, single-volume
interchange level and the packet writing option enabled, enter:
16) To create a new Integral Volume set definition named Test for CD/DVD-R media with a UDF file system, automount
interchange level and the packet writing option enabled, enter:
17) To create a new Integral Volume set definition named Test for CD/DVD-R media with a UDF file system and automount
interchange level and the packet writing and verification options enabled, enter:
Page 19 of 100
Creating an Integral Volume Set with Spanning Interchange Level
The UDF file system with the Spanning Intechange Level is best suited for WORM media and not recommended for
rewritable media if files are likely to be deleted or modified, as deletion of files will cause fragmentation and heavily impact the
performance. QStar also suggests the use of a cache large enough to accommodate a full day’s data to be stored without
archiving, because the cache has run out of space. Once data has been commited to the optical media, minimal or no changes to
files should occur. The Spanning Interchange Level, allows media to be dynamically added when a sequence is full, but still
maintains UDF compliance.
The -s spread option is only available for the Spanning Interchange Level. The -F File Spanning option is specific to the
Spanning Interchange Level and is enabled by default. This option specifies if a file can span across to the next media or the
remaining space on the media will be lost and the file will be completely written to the next sequence (media) in the Integral
Volume set. If disabled and the file is larger than 200 MB, the file will always be spanned. The -V Close Full Volume
option is specific to the Spanning Interchange Level and is enabled by default. This option will automatically close the media
or surface once it is full.
The -b full (Make copy of full media) option is specific to a Spanning Interchange Level with CD/DVD-R, Blu-ray (BD-
RS) and WORM media and will be available only if the Close Full Volume option is enabled. See the THE COPY AND
COMPARE MEDIA UTILITIES section later in this chapter for more details.
1) To create a new Integral Volume set definition named Test for WORM Optical media with a UDF file system, spanning
interchange level and the close of full volume option enabled, enter:
2) To create a new Integral Volume set definition named Test for DVD-RAM media with a UDF file system, spanning
interchange level and the close of full volume option enabled, enter:
3) To create a new Integral Volume set definition named Test for Blu-ray BD-RS WORM media with a UDF file system,
spanning interchange level and the close of full volume option enabled, enter:
Additional Options for CD/DVD-R and BD-RS Archive Media and Packet Writing
Using the QStar Master Software, CD/DVD-R media can be recorded as disk-at-once and added automatically to an Integral
Volume set and seen as separate folders under a single mapped network drive. The -P Packet Writing option is used to specify
if the packet writing will be used for CD/DVD-R or Blu-ray (BD-RS) media, The Packet Writing option will be available if
CD/DVD-R and BD-RS is selected as the archive media type. The CD/DVD-R or BD-RS media can be added directly to the
Integral Volume set only if the Packet Writing option is selected. If Packet Writing is not selected, the adding procedure will
be denied and QStar will return an error message of incompatible media type.
The -B Use Image Backup option is specific to a Spanning Interchange Level with CD/DVD-R media; it is enabled by
default and creates an image backup of the current write surface in the cache root directory.
4) To create a new Integral Volume set definition named Test for CD/DVD-R media with a UDF file system, spanning
interchange level, packet writing and the close on full volume options eanbled, enter:
Page 20 of 100
5) To create a new Integral Volume set definition named Test for CD/DVD-R media with a UDF file system, spanning
interchange level and the packet writing option enabled, enter:
6) To create a new Integral Volume set definition named Test for CD/DVD-R media with a UDF file system, spanning
interchange level, the packet writing and the image backup options enabled, enter:
7) To create a new Integral Volume set definition named Test for CD/DVD-R media with a UDF file system, spanning
interchange level, the packet writing, the image backup and the Automatic Full Media Copy Media options enabled, enter:
Additional Options for CD/DVD-ROM Archive Media with UDF and ISO 9660
File System
Starting with this version support for the ISO 9660 file system has been consolidated into the UDF file system. This means that
the CD/DVD Axxess (Read Only) product that manages pre-recorded CD/DVD-ROM media with the UDF and ISO 9660 file
systems, behaves similar to the HSM Automount product as a Read Only file system for CD/DVD-ROM media. Also with
HSM Automount (Read Only) the Integral Volume set is created with a cache and each CD/DVD-ROM is seen as a separate
directory within the set. All directory information for the CD/DVD’s in the Integral Volume set will be cached. The data is
cached on a most recently accessed basis. The cache can then be configured for each CD/DVD-ROM individually within the
Integral Volume set. Each CD/DVD-ROM can have its own directory tree cache and data cache removed from the Integral
Volume set, or just its data cache removed. CD/DVD-ROM’s can be added or removed from the Integral Volume set
dynamically, even on a mounted set. CD/DVD-ROM’s can be exported from the jukebox on a mounted set and QStar’s offline
volume management can be used. This allows the CD/DVD-ROM to appear online after the CD/DVD-ROM has been removed
from the jukebox to allow the more frequently accessed CD/DVD-ROM’s to be present in the jukebox.
The UDF and ISO 9660 file systems used with the CD/DVD-ROM media is used with Automount Interchange Level and as a
read only file system. The Readonly flag MUST be applied to mount the Integral Volume set with QStar CD/DVD Axxess
product. If the check mark is not applied, the mount will be denied.
Note: Trying to add CD/DVD-R (blank) to a read only Integral Volume set is not allowed and will generate an error.
1) To create a new Integral Volume set definition named Test for CD/DVD-ROM media with a UDF file system, single-volume
interchange level and the read only option enabled, enter:
2) To create a new Integral Volume set definition named Test for CD/DVD-ROM media with a UDF file system, automount
interchange level and the read only option enabled, enter:
Page 21 of 100
Creating a Set with No Media File System
The QStar Software can be configured to create an Integral Volume set with No Media, this allows data to be written to a cache
as normal, but the data will not be archived and therefore not secured. A jukebox or standalone drive can be added at a later
date, then the media can be added to the Integral Volume set and the data synchronized from the cache to the media.
The cache can be synchronized only with an Integral Volume set with the SDF or UDF Spanning file system.
1) To create a new Integral Volume set definition named Test with No Media file system, enter:
#>vlcrset Test
Note: The cache should be large enough to accept all new data, any requests for archived data and enough extra room for
unexpected high volume days between Integral Volume set archives. There should be adequate space left for directory
information to be cached, which will increase in size as the Integral Volume set does.
The -s Page Size option allows a cache page size other than the Default 64KB to be used, changing the page size allows for
more efficient use of the space in the cache if the average file size is small. However, the performance will be slower with
smaller the page size selected. The Page Sizes that are available are from 1KB up to 128KB. The 128KB can be used only with
the AIT tape drive.
The -e Stop on covered error option (enabled by default) if disabled, allows data to continue to be written to a large cache even
if there is a covered error; this option determines if service to the users is stopped or continued while the problem causing the
covered error is rectified.
The -r Readonly option allows mounting a file system in read only mode.
The -g Grace Period option specifies a period of days, hours, minutes and seconds as a timeout for modifying the state of an
existing file or directory. A file may be modified, providing the user has sufficient privilege, until the Grace Period has expired,
it is then marked as read only. Enabling this feature provides a WORM file system, even with rewritable media which is ideal
for corporate data archiving compliance requirement.
The -R Retention Period option can be used alone or in conjunction with the Grace Period feature. Both Grace Period and
Retention Period start from the last modification time. The Retention Period specifies a file can be removed only once the
Retention period has expired. The benefit to this feature is the ability to lock a file to read only status for the time the file is
required to remain available within corporate guidelines. This feature goes further than the standard UNIX, or Windows read
only flag, as even the System Administrator cannot remove the read only flag for files under Retention Period management.
Once a file has reached a point in time after the Retention Period, the file may then be modified or deleted from the file system.
If both the Retention and Grace Periods are specified, a file can only be modified or deleted either before the Grace Period
begins or after the Retention Period expires. This feature is configurable on an Integral Volume set basis and can be set by
seconds, minutes, hours and days.
Page 22 of 100
The -w Write Once option provides a WORM file system, even with rewritable media, which is ideal for corporate data
archiving compliance requirement. Working differently from Grace Period, once a file is written in the file system; the
overwrite; remove and set size operations are prohibited. A file can only be appended and renamed. This option will be ignored
if it is used in conjunction with Grace Period. If the -x Deny Rename option is specified with the Write Once option, the
renaming operation is also prohibited.
Note: QStar recommends reviewing the explanation for the vlcache command in Chapter 9 - Command Reference of this
manual, while reading this section.
1) To create a cache with 100MB on the /export/home/cache_Test cache_root directory for an Integral Volume set named Test,
enter:
2) To create a cache with 100MB on the /export/home/cache_Test cache_root directory and the high_primary_capacity value
set to 80 pages for an Integral Volume set named Test, enter:
3) To create a cache with 100MB on the /export/home/cache_Test cache_root directory and the cache in read only mode for an
Integral Volume set named Test, enter:
4) To create a cache with 100MB on the /export/home/cache_Test cache_root directory and enabling the write operation on the
cache even if a covered error occurs for an Integral Volume set named Test, enter:
5) To create a cache with 100MB on the /export/home/cache_Test cache_root directory and the cache pages size set to 32
(default is 64K) for an Integral Volume set named Test, enter:
6) To create a cache with 100MB on the /export/home/cache_Test cache_root directory and the grace period value set to 20
minutes for an Integral Volume set named Test, enter:
Page 23 of 100
Modifying the Cache for an Integral Volume Set
The vlcache command is also used to modify the cache options for an Integral Volume set. If the cache was already created and
the set is mounted this change will take effect at the next mount. QStar suggests umounting the Integral Volume set, change the
cache options and then remount the Integral Volume set.
1) To increase the cache size from 100MB to 15GB for an Integral Volume named Test, enter:
2) To change the high_primary_capacity value to 70 pages for an Integral Volume named Test, enter:
#>vlcache –h 70 Test
3) To change the low_primary_capacity value to 10 pages for an Integral Volume named Test, enter:
#>vlcache –l 10 Test
Note: After the cache is added to the Integral Volume set, the vllsset command will display an output similar to the following.
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Low_primary_capacity=10
High_primary_capacity=70
Note: For more detailed information on changing the number of pages of the cache and the cache location, please refer to
Chapter 6 - Migration Manager in this manual.
set_type set_type_specific_options:
sdf
udf [-A identifier][-B identifier]
uvfs [-X directory][-Y directory]
[-A identifier][-B identifier]
Note: QStar recommends reviewing the explanation for the vladdtoset command in Chapter 9 - Command Reference of this
manual, while reading this section.
1) To add the first available media to an Integral Volume set named Test, enter:
#>vladdtoset Test
Page 24 of 100
2) To add the media in shelf 1 to an Integral Volume set named Test, enter:
#>vladdtoset Test jb 1
1) To add the first available media to an Integral Volume set named Test, enter:
#>vladdtoset Test
2) To add the media in shelf 1 to an Integral Volume set named Test, enter:
#>vladdtoset Test jb 1
1) To add the first available media to an Integral Volume set named Test, enter:
#>vladdtoset Test
2) To add the media in shelf 1 to an Integral Volume set named Test, enter:
#>vladdtoset Test jb 1
In the Automount configuration the Automount_sequence_numbers is displayed, it represents the sequence number of
the surfaces in the root directory of the file system once it is mounted. All media (surfaces) added to the Integral Volume
set will be displayed as sub-directories in the root directory of the file system and will be named by default as
vol_Automount_sequence_number (i.e. vol_0, vol_1, vol_#).
Page 25 of 100
• Adding already initialized media with the UDF and ISO 9660 file systems
When a media already initialized with the UDF or ISO 9660 file system is added to the Integral Volume set with the
Automount configuration, the Set_id is equal to the Volume Label. All media (surfaces) added to the Integral Volume
set will be displayed as sub-directories in the root directory of the file system and will be named by default as the Volume
Label.
If there is no label on the media, the Volume Label is assigned as “NO_NAME” and will be used as the sub-directory
name.
If two media with the same Volume Label were imported into the jukebox, the Volume Label is duplicated within the
Integral Volume set with Automount configuration; the latter occurrence will be displayed
vol_Automount_sequence_number (i.e. vol_0, vol_1, vol_#) as sub-directories name in the root directory of the file
system instead of the original Volume Label.
In Single Volume or Spanning configurations the file system will be displayed as a linear file system, there will be no
sub-directories in the root directory of the file system unless they are created by the user.
1) To add a media (single side) to an Integral Volume set with a UDF or ISO 9660 file system named Test with a specified
Logical Volume ID or directory name (BD001), enter:
2) To add a media (dual side) to an Integral Volume set with a UDF or ISO 9660 file system named Test with a specified
Logical Volume ID or directory name (BD001A and BD001B), enter:
In Spanning configurations the specified Logical Volume Identifier will be applied only to the first media, once set,
only the span_number will change for the additional volumes added to the Integral Volume set.
• Adding already initialized media with the UDF and ISO 9660 file systems
When a media already initialized with the UDF or ISO 9660 file system is added to the Integral Volume set with the
Automount configuration, the Set_id is equal to the Volume Label. The specified Logical Volume Identifier entered
into the Logical Volume Identifier window, will not be written to the surface 0 but will only change the default (vol_0,
vol_1 and vol_# or Volume Label) sub-directory names in the root directory of the file system with the one specified. This
means that if the media was written with various volume ID’s on each media, it can be added in a more logical format. The
new sub-directories name will be printed in the Integral Volume set information for each surface as “A_dir=” and
“B_dir=”.
The specified Logical Volume Identifier will be ignored if specified with already written media with Single Volume or
Spanning configurations.
Page 26 of 100
Displaying Integral Volume Set Information
After creating an Integral Volume set, the contents can be displayed including the status of all surfaces in the set and its
configuration including its cache parameters, its maximum number of media, and more.
Note: QStar recommends reviewing the explanation for the vllsset command in Chapter 9 - Command Reference of this manual,
while reading this section.
1) To display the Integral Volume set information for all set created, enter:
#>vllsset -va
2) To display the Integral Volume set information for the set named Test, enter:
#>vllsset –v Test
Displaying the Information for the SDF File System and Optical Media
1) To display the set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
Set_Id=c25b016a.3453d0e4
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_numbers=0,1 Mounted=a,b
2: Online=jb:2 Sequence_numbers=2,3 Mounted=a,b
4: Online=jb:3 Sequence_numbers=4,5 Mounted=a,b
Note: The Use_Media information will display disk, writable or disk, worm for Optical media, tape, writable for Tape media,
bd,writable for Blu-ray BD-RE media, bd,worm,rdonly for Blu-ray BD-RS Media, and dvd, writable for DVD-RAM media.
Page 27 of 100
Displaying the Information for the SDF File System and Tape Media
1) To display the set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media=tape,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
Compression=Default
SetId=5246b54c.36b9c01a
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_number=0 Mounted=a
1: Online=jb:2 Sequence_number=1 Mounted=a
2: Online=jb:3 Sequence_number=2 Mounted=a
Displaying the Information for the UDF File System with the Single-
Volume Interchange Level and DVD-RAM Media
1) To display the set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media=dvd,writable Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_3b0a88e0
UDF_revision=150 Interchange_level=single-volume
Packet_writing_init=no Space_calculation=yes Verify_write=no
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_number=1 Mounted=a
Note: In the example, DVD-RAM single surface media were used and the Interchange_level (how many volumes are in the set)
was specified as single-volume. In the single-volume configuration the Logical_volume_identifier is a unique
logical_volume_identifier number.
Note1: The Use_Media information will display disk, writable or disk, worm for Optical media, bd, writable for Blu-ray BD-
RE media, bd,worm,rdonly for Blu-ray BD-RS media, and dvd, writable for DVD-RAM media.
Page 28 of 100
Displaying the Information for the UDF File System with the
Automount Interchange Level and DVD-RAM Media
1) To display the set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media=dvd,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Automount_sequence_numbers=0,1 Mounted=a,b
1: Online=jb:2 Automount_sequence_numbers=2,3 Mounted=a,b A_dir=jb2a B_dir=jb2b
2: Online=jb:3 Automount_Sequence_numbers=4,5 Mounted=a,b
Note: In the example, DVD-RAM dual surface media was used and the Interchange_level (how many volumes are in the set)
was specified as automount. In the automounter configuration, the Logical_volume_identifier is equal to NA (Not Available)
and instead the Automount_Sequence_number is displayed. The media in shelf 2 was added specifying the Logical Volume ID.
Note1: The Use_Media information will display disk, writable or disk, worm for Optical media, bd, writable for Blu-ray BD-
RE media, bd,worm,rdonly for Blu-ray BD-RS media, and dvd, writable for DVD-RAM media.
Displaying the Information for the UDF or ISO 9660 File System with
the Automount Interchange Level and CD/DVD-ROM Media
1) To display the set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=yes Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Automount_sequence_number=0 Mounted=a,b
1: Online=jb:2 Automount_sequence_number=2 Mounted=a,b A_dir=cd2
2: Online=jb:3 Automount_Sequence_number=4 Mounted=a,b
Page 29 of 100
Note: The CD/DVD-ROM media with the UDF or ISO 9660 file system pre-recorded or recorded (session at once) using the
QStar MASTER product can be accessed using the automount Interchange_level. In the automounter configuration the
Logical_volume_identifier (Volume Label) of the CD/DVD-ROM media is used as the name of the CD/DVD-ROM in the root
directory of the file system once it is mounted. The CD/DVD-ROM name in the root directory can be changed specifying the -A
-B options in the vladdtoset command. In this case, the new sub-directories name will be printed in the set information for each
surface (see media in shelf 2 on the example).The Integral Volume set must be configured in Read_only mode for the QStar
AXXESS product.
Displaying the Information for the UDF File System with the Automount
Interchange Level and CD/DVD-R or BD-RS Media and Packet Writing
1) To display the set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=yes Space_calculation=yes Verify_write=no
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Automount_sequence_number=0 Mounted=a,b
1: Online=jb:2 Automount_sequence_number=2 Mounted=a,b A_dir=cd2
2: Online=jb:3 Automount_Sequence_number=4 Mounted=a,b
Note: The CD/DVD-R media having been recorded (session at once) with the UDF file system using the QStar MASTER
product can be directly added and accessed using the automount Interchange level and the Packet writing options enabled.
In the automounter configuration the Logical_volume_identifier is equal to NA (Not Available) and instead the
Automount_Sequence_number is displayed. The media in shelf 2 was added specifying the Logical Volume ID.
Displaying the Information for the UDF File System with the Spanning
Interchange Level and Optical Media
1) To display the set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media=disk,worm Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_a40a36f87
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=no Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=no
Cache: Cache_root=/export/home/cache_Test
Page 30 of 100
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Span_numbers=1,2 Mounted=a,b
1: Online=jb:2 Span_numbers=3,4 Mounted=a,b
2: Online=jb:3 Span_numbers=5,6 Mounted=a,b
Note: The UDF file system with Spanning Intechange Level is best suited for WORM media and not recommended for writable
media if files are likely to be deleted, as deletion of files will cause fragmentation and impact heavily on performance.
Displaying the Information for the UDF File System with the Spanning
Interchange Level and CD/DVD-R or BD-RS Media and Packet Writing
1) To display the set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media= cd,dvd,worm,rdonly Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_a30a36f78
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=yes Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=yes
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Span_numbers=1,2 Mounted=a,b
1: Online=jb:2 Span_numbers=3,4 Mounted=a,b
2: Online=jb:3 Span_numbers=5,6 Mounted=a,b
Note: Use_image_backup option is set to yes by default for CD/DVD-R media. The image backup can be used to burn backup
media in order to replace the original if damaged. The procedure to burn the image backup onto a new media can be done using
the vlinset command with -R flag.
Note1: The Use_Media information will display bd,worm,rdonly for Blu-ray BD-RS media.
1) To display the set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Set_type=nom (No Media)
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
Page 31 of 100
The main parameters are described as follows:
Page 32 of 100
UDF Specific Parameters Description
Logical_volume_identifier q_3b0a578e
NA (Not Available) for automount Interchange Level
UDF_revision=150 Version of the UDF file system.
Type of Integral Volume set created.
Interchange_level
Single -Volume set
Automount set.
Spanning set.
Automount_Sequence_numbers=0,1 For automount Interchange Level
Sequence_numbers=0,1 For single-surface and spanning Interchange Level
Packet_writing_init=no Packet writing option.
Default=no
Space_calculation=yes Space calculation option.
Default=yes
Verify write option.
Verify_write=no
Default=no
Close_full_volume=yes Automatically close the media when it is full option.
Only for spanning Interchange Level.
Default=no
File_spanning=yes Span the file across different media.
Only for spanning Interchange Level.
Default=yes
Use_image_backup=no Create an image backup of the current write surface.
Only for spanning Interchange Level.
Default=yes for CD/DVD-R media, no for WORM Optical media.
Page 33 of 100
VL JUKEBOX RELATED COMMANDS
The jukebox shelves and media information can be extracted from the VL database. Please note that if media is imported or
exported from the jukebox without the use of the VL commands (vlimport/vlexport), the changes will not be updated in the VL
database. The VL database associates each media to a Shelf # when the media is imported into the jukebox.
The vllsdev command is used to displays the jukebox shelves and media information.
Note: QStar recommends reviewing the explanation for the vllsdev command in Chapter 9 - Command Reference of this
manual, while reading this section.
Page 34 of 100
If the media is already added to the Integral Volume set,
using the vllsdev command with -n option, the SetName is
displayed instead of the Set_id SetName=Test
The information for SDF and UDF file systems are described as follows:
Set Identifier for each media added to a Integral Volume set Set_Id=807aeea2.34ba1fc5 (SDF)
Log_vol_id=q_3bc5af80 (UDF)
Sequence Surface Number of the media in the Integral Volume set Seq=0/Seq=1 (SDF)
Seq=1/Seq=1 (UDF Single-Volume
/Automount)
Span=1/Span=2 (UDF Spanning)
#>vllsdev jb
2) To display the jukebox shelf information by the set_name instead of the set_Id for a jukebox with a device name jb, enter:
#>vllsdev -n jb
3) To display the jukebox shelf information for shelves with blank or erased media only for a jukebox with a device name jb,
enter:
#>vllsdev -b jb
4) To display the jukebox shelf information sorted by set_name for a jukebox with a device name jb, enter:
#>vllsdev -Sn jb
5) To display the jukebox shelf information by the bar code instead of the set_Id for a jukebox with a device name jb, enter:
#>vllsdev -B jb
6) To display the jukebox shelf information by the the Media Serial Number (option available only for UDO media) instead of
the set_Id for a jukebox with a device name jb, enter:
#>vllsdev -I jb
Page 35 of 100
Displaying jukebox shelf Information for the SDF and UDF File
Systems
1) To display the jukebox shelf information for a jukebox with a device name jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
-----------------------------------------------------------------------------
1a: udf-201 2.4 GB Rewritable Seq=1 Log_vol_id=q_abc5af80
1b: udf-201 2.4 GB Rewritable Seq=1 Log_vol_id=q_3bc5afbf
1a: udf-200-F 2.4 GB Rewritable Seq=1 Log_vol_id=q_abc5efc0
1b: udf-200-F 2.4 GB Rewritable Seq=1 Log_vol_id=q_bbc3afbf
3a: erased 1.2 GB Rewritable
3b: erased 1.2 GB Rewritable
4a: udf-150 2.4 GB Rewritable Seq=1 Log_vol_id=q_3b45af90
4b: udf-150 2.4 GB Rewritable Seq=1 Log_vol_id=q_3bdbbfbf
5a: unknown 622 MB Rewritable
5b: unknown 622 MB Rewritable
6a: udf-150 2.4 GB Rewritable Span=1 Log_vol_id=q_3cd546f0-1
6b: udf-150 2.4 GB Rewritable Span=2 Log_vol_id=q_3cd546f0-2
7: empty
8: empty
9: empty
10a: sdf 1.2 GB Worm Seq=0 SetId=807bef41.361b3d4d
10b: sdf 1.2 GB Worm Seq=1 SetId=807bef41.361b3d4d
11a: sdf 1.2 Gb Worm Seq=2 SetId=807bef41.361b3d4d
11b: sdf 1.2 GB Worm Seq=3 SetId=807bef41.361b3d4d
Output: CD/DVD-ROM media with the UDF and ISO 9660 file systems
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
-------------------------------------------------------------------------------------
1a-1: udf-150-F 85 MB CD-ROM Seq=1 Log_vol_id=QStar_Software
2a-1: udf-150-F 700 MB CD-ROM Seq=1 Log_vol_id=Backup_01
3a-1 udf-150-F 700 MB CD-ROM Seq=1 Log_vol_id=Backup_02
4a-1: udf-150-F 150 MB CD-ROM Seq=1 Log_vol_id=windows_manual
5a-1: udf-150-F 3.7 GB DVD-ROM Seq=1 Log_vol_id=unix_manual
6a-1: udf-150-F 650 MB CD-ROM Seq=1 Log_vol_id=Data_01
7a-1: udf-150-F 650 MB CD-ROM Seq=1 Log_vol_id=Data_02
8a-1: 9660-RJ 3.8 GB DVD-ROM Manual_01 3a14c0.8ee56da1
9a-1: 9660-RJ 4.2 GB DVD-ROM Manual_02 3c04c0.8dd75dc0
10a-1: udf-150-F 3.5 GB DVD-ROM Seq=1 Log_vol_id=data2000
10b-1: udf-150-F 4.2 GB DVD-ROM Seq=1 Log_vol_id=data2001
Note: The “1a-1” or “13a-2” value on the first column of the vllsdev output for a CD/DVD jukebox represents respectively the
shelf number and the magazine or pack number.
Note1: By using the vllsdev command, the jukebox shelf information can be sorted by SetName, Set_id or LabelName.
For more detailed information on the vllsdev command, please refer to Chapter 9 - Command Reference in this manual.
Page 36 of 100
FIXING VL DATABASE INCONSISTENCIES
The Volume Librarian (VL) database will remain accurate under normal working conditions. However, the VL database can
develop inconsistencies following a hardware failure on the jukebox or a manual intervention (when someone has manually
moved media, within or out of the jukebox without using the QStar Software). In these circumstances, the status of the VL
database must be verified and if necessary refresh the database to reflect the current jukebox status.
The vlrefresh command is used to refresh and fix the inconsistencies in the VL database.
Note: QStar recommends reviewing the explanation for the vlverify and vlrefresh commands in Chapter 9 - Command
Reference of this manual, while reading this section.
If either of the above listed problems is suspected, the vlverify command should be used to check the jukebox media status. If
the jukebox media status differs from the VL database, then the vlrefresh command must be run at the earliest convenience to
avoid any further problems.
This process requires all the Integral Volume sets to be unmounted on all VL devices while the refresh is carried out. This may
take some time if there are multiple jukeboxes. The more shelves to refresh, the longer this will take. This process must be
allowed to complete without interference.
A set Test was created, three media were added and the Integral Volume set is currently mounted.
A) To display the set information for the Integral Volume set Test, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
Set_Id=807aeea2.34ba1fc5
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_numbers=0,1
2: Online=jb:2 Sequence_numbers=2,3
4: Online=jb:3 Sequence_numbers=4,5
Note: The media with sequence_number 2 and 3 was imported into shelf 2.
Page 37 of 100
B) To display the jukebox shelf information for a jukebox with a device name jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
----------------------------------------------------------------------------------
1a: sdf 2.4 GB Rewritable Seq=0 SetId=807aeea2.34ba1fc5
1b: sdf 2.4 GB Rewritable Seq=1 SetId=807aeea2.34ba1fc5
2a: sdf 2.4 GB Rewritable Seq=2 SetId=807aeea2.34ba1fc5
2b: sdf 2.4 GB Rewritable Seq=3 SetId=807aeea2.34ba1fc5
3a: sdf 2.4 GB Rewritable Seq=4 SetId=807aeea2.34ba1fc5
3b: sdf 2.4 GB Rewritable Seq=5 SetId=807aeea2.34ba1fc5
4a: erased 2.4 GB Rewritable
4b: erased 2.4 GB Rewritable
5a: erased 2.4 GB Rewritable
5b: erased 2.4 GB Rewritable
6a: erased 2.4 GB Rewritable
6b: erased 2.4 GB Rewritable
7: empty
8: empty
Note: The shelf information for the jukebox named jb matches the information reported in the vllsset output and the vllsdev
output also shows that shelf 8 is empty.
Using the eject/load button on the front panel of the jukebox the media in shelf 2 is moved to shelf 8.
The VL database cannot track this operation, so when an attempt is made to access this media, an error message will be
returned.
#>vlverify
host_name, device jb, shelf 2: Shelf empty
host_name, device jb, shelf 8: Shelf full
host_name, set Test, in_set_number 1: Shelf empty
If the VL database is consistent with the jukebox status information, no messages will be returned. If the VL database is
inconsistent with the jukebox status information a message such as the one above will be returned.
D) To fix the inconsistency the System Administrator must first ensure that all the Integral Volume sets are unmounted, that
there are no administrative commands running for any of the jukeboxes connected to the system and enter the following
command:
#>vlrefresh -f
jb: refreshing shelf 1….
jb: refreshing done
Fixing databases ...
Note: This command refreshes all media present in all jukeboxes connected to the system and fixes any database inconsistencies.
If the media was found in the jukebox, no additional information will be reported in the /opt/QStar/log/syslog file.
Page 38 of 100
E) To display the changes that were made in the set information for the Integral Volume set Test, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
Set_Id=807aeea2.34ba1fc5
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
0: Online=jb:1 Sequence_numbers=0,1
2: Online=jb:8 Sequence_numbers=2,3
4: Online=jb:3 Sequence_numbers=4,5
Note: The fixing procedure found the media in the jukebox and corrected the set database information for the Integral Volume
set Test by updating the correct location for the media. Now the media is reported as loaded in shelf 8.
F) To display the changes that were made to the jukebox shelves information, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
----------------------------------------------------------------------------------
1a: sdf 2.4 GB Rewritable Seq=0 SetId=807aeea2.34ba1fc5
1b: sdf 2.4 GB Rewritable Seq=1 SetId=807aeea2.34ba1fc5
2: empty
3a: sdf 2.4 GB Rewritable Seq=4 SetId=807aeea2.34ba1fc5
3b: sdf 2.4 GB Rewritable Seq=5 SetId=807aeea2.34ba1fc5
4a: erased 2.4 GB Rewritable
4b: erased 2.4 GB Rewritable
5a: erased 2.4 GB Rewritable
5b: erased 2.4 GB Rewritable
6a: erased 2.4 GB Rewritable
6b: erased 2.4 GB Rewritable
7: empty
8a: sdf 2.4 GB Rewritable Seq=2 SetId=807aeea2.34ba1fc5
8b: sdf 2.4 GB Rewritable Seq=3 SetId=807aeea2.34ba1fc5
Note: The vllsdev output also displays the information about the new location of the media in the jukebox. Now shelf 2 is
marked as empty and shelf 8 now contains the media with sequence numbers 2 and 3.
Page 39 of 100
Fixing Database Inconsistencies after a Media has been
Manually Removed from the Jukebox
In this example the media is exported using the eject command from the front panel of the jukebox. The procedure is the same
as shown in the previous example, but in this case, the media was not found in the jukebox. The changes that are made in the
vllsset and vllsdev output are different from the previous example and additional information is reported in the
/opt/QStar/log/syslog file because the media is considered lost. After the refresh procedure is complete and the database is
fixed, if the media was not found in the jukebox, the /opt/QStar/log/syslog file and in the console window will report the
following message:
VL: set Test fixed: in_set_number 1 (jb:2) set offline: Shelf empty
A) To display the changes that were made in the set information for the Integral Volume set Test, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
Set_Id=807aeea2.34ba1fc5
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
0: Online=jb:1 Sequence_numbers=0,1
2: Offline= Lost Media jb:2 Sequence_numbers=2,3
4: Online=jb:3 Sequence_numbers=4,5
This time the media was not found in the jukebox. The procedure to correct the set database information for the Integral Volume
set Test is to set the media as Offline with a location of Offline= Lost Media JB#: shelf#. The example displays that the
information for the Integral Volume set Test was corrected by setting the media with sequence_numbers=2,3 as Offline=Lost
Media jb:2. If a user tries to access a file residing on the Offline media the System Administrator will be notified by VL to
import the media to satisfy the request. See "Managing Offline Media under VL Control" section in this chapter for more
detailed information.
B) To display the changes that were made to the jukebox shelf information, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
----------------------------------------------------------------------------------
1a: sdf 2.4 GB Rewritable Seq=0 SetId=807aeea2.34ba1fc5
1b: sdf 2.4 GB Rewritable Seq=1 SetId=807aeea2.34ba1fc5
2: empty
3a: sdf 2.4 GB Rewritable Seq=4 SetId=807aeea2.34ba1fc5
3b: sdf 2.4 GB Rewritable Seq=5 SetId=807aeea2.34ba1fc5
4a: erased 2.4 GB Rewritable
4b: erased 2.4 GB Rewritable
5a: erased 2.4 GB Rewritable
5b: erased 2.4 GB Rewritable
6a: erased 2.4 GB Rewritable
6b: erased 2.4 GB Rewritable
7: empty
8: empty
Page 40 of 100
MANAGING OFFLINE MEDIA UNDER VL CONTROL
The QStar offline volume tracking is managed through the VL database. As all media has a unique electronic Set ID, Surface
Sequence ID (SDF) or Logical Volume id (UDF), the media can be tracked by the VL database. Any media from an Integral
Volume set that is exported with the vlexport command requires an offline location, which the VL keeps in its database.
If a file is needed from an offline media, a request is sent to the System Administrator to import that media into the jukebox. The
request can then be satisfied or canceled using the vlconsole command.
If the QStar E-Mail notification service is configured, the System Administrators will receive an E-mail notification to import
the requested media. For this reason, configuring mail notification is highly recommended.
The vlimport command is used to import the media into a jukebox and check the media’s content.
vlimport [-H host_name] [-a] [-o] [-p {cd-rom | cd-r | cd-rw | dvd-rom | dvd-r | dvd-ram | dvd-rw | dvd-rw-s | 1}]
device_name shelf_number [num_shelves]
The vlexport command is used to export media from the jukebox and store it in an offline location, if it belongs to an Integral
Volume set in the VL database.
The vlconsole command is used to manage the list of VL requests for manual assistance. The vlconsole -l command displays a
list of all the pending requests that the VL module sent to the System Administrator and their status. For example, a typical
request can be to import an erased or an offline media and the status can be pending, satisfied, or canceled.
Note: QStar recommends reviewing the explanation for the vlimport, vlexport and vlconsole commands in Chapter 9 -
Command Reference of this manual, while reading this section.
By default the request to re-import the offline media will wait until the offline request is satisfied by importing the media
or canceled using the proper option in the vlconsole command. The System Administrator instead of waiting can
immediately receive an error for an offline request. To change the offline behavior, please refer to Displaying and Setting
the VL Configuration for Offline Media Request Properties section later in this chapter.
Page 41 of 100
A) To display the current set information for the Integral Volume set Test, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=807bef41.361b3d4d
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_numbers=0,1 Mounted=a,b
2: Online=jb:2 Sequence_numbers=2,3 Mounted=a,b
4: Online=jb:3 Sequence_numbers=4,5 Mounted=a,b
Note: The media in shelf 1, shelf 2 and shelf 3 belong to the Integral Volume set Test.
B) The media in shelf 1 is exported usung the vlexport command. Because the media belongs to the Integral Volume set Test
an offline location is requested by the QStar Software. In the example, “firesafe” is the offline location specified. To
export the media in shelf 1, enter:
#>vlexport jb 1
jb: Please remove medium from mailslot.
Test:0 exported from jb:1.
Please enter offline location [Test_0]: firesafe
If no offline location is specified, the QStar Software will assign the default offline location, which is composed of the Integral
Volume set name and the in_set_number of the media in the Integral Volume set (i.e. the default location for this media is
Test_0).
If the Pack ID number (DISC/NSM) or Bar Code is available, the default offline location is composed of the Integral Volume
set name, the in_set_number and the Pack ID or the Bar Code number. The offline location name can be changed if required
using the vlinset command.
C) To display the new set information for the Integral Volume set Test after the media in shelf 1 was stored offline, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=807bef41.361b3d4d
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Offline=firesafe Sequence_numbers=0,1 Mounted=a,b
2: Online=jb:2 Sequence_numbers=2,3 Mounted=a,b
4: Online=jb:3 Sequence_numbers=4,5 Mounted=a,b
Note: The media with in_set_number 0 and Sequence_numbers =0 ,1 is offline and “firesafe” is its offline location.
Page 42 of 100
D) Now that the media has been moved to an offline location, if a user tries to access a file residing on that media, the VL
will request the media to be re-imported.
Below is displayed a VL request for offline media with the SDF file system. This request goes into the /opt/QStar/log/syslog
file and console window and will also generate an E-mail notification (if mail notification is configured).
#>vlconsole -l
10/11/2001 20:57:08 Pending Bring online Test:0 firesafe
F) To satisfy the request for the offline media, import the media into any available empty shelf of the jukebox. In this example,
the media is re-imported to shelf 1. To import the media to shelf 1, enter:
#>vlimport jb 1
jb: refreshing shelf 1 ...
After the media is refreshed, the QStar Software will satisfy the user’s request and mark the media as online in the VL set
database.
G) To display the new set information for the Integral Volume set Test after the media has been re-imported, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=807bef41.361b3d4d
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_numbers=0,1 Mounted=a,b Offloc=firesafe
2: Online=jb:2 Sequence_numbers=2,3 Mounted=a,b
4: Online=jb:3 Sequence_numbers=4,5 Mounted=a,b
The set database displays the media in shelf 1 as online and the QStar Software maintains the offline location information in its
database. The next time the media is exported this offline location will be used as default.
#>vlconsole -l
10/11/2001 20:59:10 Satisfied Bring online Test:0 jb:1
Note: The VL request to bring the media online has been satisfied.
Page 43 of 100
Canceling a Request for Offline Media
In the previous example, the request for an offline media was satisfied. The QStar Software allows the System Administrator to
decide to cancel a request or to satisfy it, whichever is more appropriate.
Displayed below is a VL request for offline media with the SDF file system:
SDF: set Test, sequence_number 0, offline firesafe : Please vlimport medium
#>vlconsole -l
10/11/2001 21:00:02 Pending Bring online Test:0 firesafe
#>vlconsole -c -N Test 0
#>vlconsole -l
10/11/2001 21:02:45 Canceled Bring online Test:0 firesafe
Note: The VL request to bring the media online is canceled. Once the request is canceled, the user will get the prompt back in
the window where the request for the offline media was run.
To export the entire Integral Volume set with one command, enter:
#>vlexport –s Test
To import the entire Integral Volume set with one command, enter:
#>vlimport –s Test
Page 44 of 100
MANAGING OFFLINE MEDIA UNDER VL CONTROL
USING THE MAGAZINE OR PACK IMPLEMENTATION
The QStar Software for certain type of jukeboxes, in most cases CD/DVD or Blu-Ray devices, that have shelves made as
removable magazines or packs which allow exchanging the media in the magazines or packs will automatically update the
contents of the media on the shelves in the VL database. During the update, if the media is still present in the jukebox but loaded
on a different shelf, the shelf information will be updated in the VL set database with the new location. If the media is removed
from the jukebox, the shelf in the VL set database will be automatically switched to offline.
The exchange and update operations in the magazines or packs are made using the vlmagazine command; these operations will
be denied if any of the media are open (accesses by the users).
The exchange and update operations between the magazines or the packs and the internal shelves are made using the
vlexchange command.
QStar suggests unmounting all Integral Volume sets before running the vlmagazine command in order to insure correct
exchange operation. Once the vlmagazine command is run, all the media loaded in the drives will return to their shelves and
the exchange operation is allowed automatically, removing the prevent_removal status and allowing the door to be opened or
removal of the packs. Terminating the exchange procedure by closing the door or reinserting the pack will automatically start a
refreshing procedure by the QStar Software for the magazine previously accessed, at the end of the refreshing procedure the VL
database will be updated with the new information.
A jbmagazine command is also available to open the jukebox door or allow the packs to be removed without updating the VL
database. For example, this command can be used in the case of a hardware failure to open the jukebox door.
The vlmagazine command is used to exchange media in the jukebox using the magazines and updates the VL database.
vlmagazine [-H host_name] [-p {cd-rom | cd-r | cd-rw | dvd-rom | dvd-r | dvd-ram | dvd-rw | dvd-rw-s | 1}][-s]
device_name [magazine_number | h]
Note: If magazine_number is omitted all magazines are available for exchange. The h option as magazine_number is used for
hyper magazine (Pioneer jukebox only).
The vlexchange command is used to move media from one internal shelf or shelf belonging to a pack, to another in the jukebox
and updates VL databases.
If the destination shelf is empty, the vlexchange command moves media from the source shelf to the destination shelf in the
jukebox. If media is present on the destination shelf, the vlexchange command exchanges a media from the source shelf with
the destination shelf.
Note: QStar recommends reviewing the explanation for the vlmagazine, vlexchange and jbmagazine commands in Chapter 9 -
Command Reference of this manual, while reading this section.
Page 45 of 100
To explain the exchange procedure CD/DVD media with ISO 9660 and the UDF file system is used. An Integral Volume set
named Test was created, five pieces of media were added to it and the Integral Volume set is currently mounted.
A) To display the current set information for the Integral Volume set Test, enter:
#>vllsset –v Test
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=5
Restore_fsdb=no Read_only=yes Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Automount_sequence_number=0 Mounted=a A_dir=Test_0
1: Online=jb:2 Automount_sequence_number=1 Mounted=a
2: Online=jb:3 Automount_Sequence_number=2 Mounted=a
3: Online=jb:4 Automount_sequence_number=3 Mounted=a
4: Online=jb:5 Automount_sequence_number=4 Mounted=a
Note: The media from shelf 1 to shelf 5 belong to the Integral Volume set Test.
B) To display the jukebox shelf information for a jukebox with a device name jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1a-1: 9660 11 MB CD-ROM NO_NAME 017ea.43ce21e8
2a-1: 9660-R 30 MB CD-ROM QStar_Manual 03c8d.65e720a1
3a-1: 9660 9 MB CD-ROM QSTAR 012f0.c31b4dc5
4a-1: 9660 58 MB CD-ROM Q_SOURCE 074c1.a122bb6c
5a-1: 9660-J 79 MB CD-ROM QSTAR_SOFTWARE 09ed2.51a571a0
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
Note: The shelves from shelf 1 to shelf 5 are full and the shelves from shelf 6 to shelf 10 are empty.
C) To exchange the magazines for a jukebox with a device name jb, enter:
#>vlmagazine jb
jb: Please open the door, do manual operations and close the door.
Type Enter when ready:
Page 46 of 100
The vlmagazine command can also be used with the -p option. The -p option is used to specify the type of media that will be
imported. This option can be used with CD/DVD jukeboxes with mixed drives types or drives that support different types of
media. This ensures loading the media into the correct drive during the refresh procedure to determine the media type of the
shelf. If the -p option is omitted the QStar Software will automatically detect the media type. The media type is automatically
set after the refresh procedure. After that, the jbscheduler will only allow the correct media to be loaded into the drive which can
handle this media type.
Note: QStar highly recommends ensuring mounted volumes do not contain media within the removable packs/magazines,
otherwise all Integral Volume sets will need to be unmounted before using the vlmagazine command. If any pack/magazine has
a mounted volume, the vlmagazine command will return busy error. With the NSM/DISC series, any individual pack may be
unlocked, providing it does not contain media from a mounted Integral Volume set. This is done by specifying the pack number
in the vlmagazine command. Example: vlmagazine jb 2 this will release pack 2.
The vlmagazine command will open the door or will release the pack and will return the message below:
jb: Please open the door, do manual operations and close the door.
Type Enter when ready:
In our example, the media in shelf 1and shelf 2 of the first magazine are moved respectively to the shelf 8 and shelf 10 of the
same magazine, the others media are removed from the magazine and new media is inserted in shelf 9.
Once the door is closed, the QStar Software will automatically start the refresh procedure of the media exchanged and
subsequently the fixing procedure of the VL databases.
D) To display the jukebox shelf information for a jukebox with a device name jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1-1: empty
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8a-1: 9660 11 MB CD-ROM NO_NAME 017ea.43ce21e8
9a-1: 9660-J 85 MB CD-ROM QSTAR_SOFTWARE_1 0a5da.76fe3a14
10a-1: 9660-R 30 MB CD-ROM QStar_Manual 03c8d.65e720a1
Note: The media from shelf 1 to shelf 7 are empty, 8 and 10 contain the media previously in shelves 1, 2 and 9 is a new media.
Page 47 of 100
E) To display the new set information for the Integral Volume set Test after the exchange procedure, enter:
#>vllsset –v Test
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=5
Restore_fsdb=no Read_only=yes Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:8 Automount_sequence_number=0 Mounted=a A_dir=Test_0
1: Online=jb:10 Automount_sequence_number=1 Mounted=a
2: Offline=jb:Test_2 Automount_Sequence_number=2 Mounted=a
3: Offline=jb:Test_3 Automount_sequence_number=3 Mounted=a
4: Offline=jb:Test_4 Automount_sequence_number=4 Mounted=a
Note: The media from shelves 1 and 2 are still on line, they are now located in shelves 8 and 10, all the other media are set
offline.
The QStar Software will assign the default offline location, which is composed of the Integral Volume set name and the
in_set_number. If the Pack ID number (NSM/DISC) or Barcode is available, the default offline location is composed of the
Integral Volume set name, the in_set_number and the Pack ID or the Bar Code. The offline location name can be changed if
required using the vlinset command. In addition, the System Administrator can append to the default offline location specific
offline location information for all media in the pack or magazine that is exported. Each media in the pack or magazine will be
listed with the offline location. Once the exchange operation is completed, remount all Integral Volume sets.
F) To exchange the media in the magazines or between the packs and the internal shelves for a jukebox with a device name jb,
enter:
#>vlexchange jb 8 1
In our example the media in shelf 8 and shelf 1 of the magazine or pack 1 will be exchanged. Because shelf 1 is empty, the
media from shelf 8 will be moved to shelf 1 and the QStar VL database for the jukebox and the Integral Volume set will be
automatically updated.
Page 48 of 100
G) To display the jukebox shelf information for a jukebox with a device name jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1a-1: 9660 11 Mb CD-ROM NO_NAME 017ea.43ce21e8
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9a-1: 9660-J 85 Mb CD-ROM QSTAR_SOFTWARE_1 0a5da.76fe3a14
10a-1: 9660-R 30 Mb CD-ROM QStar_Manual 03c8d.65e720a1
Note: Shelf 8 is empty and shelf 1 contains the media previously in shelf 8.
H) To display the new set information for the Integral Volume set Test after the exchange procedure, enter:
#>vllsset –v Test
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=5
Restore_fsdb=no Read_only=yes Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Automount_sequence_number=0 Mounted=a A_dir=Test_0
1: Online=jb:10 Automount_sequence_number=1 Mounted=a
2: Offline=jb:Test_2 Automount_Sequence_number=2 Mounted=a
3: Offline=jb:Test_3 Automount_sequence_number=3 Mounted=a
4: Offline=jb:Test_4 Automount_sequence_number=4 Mounted=a
Note: The media from shelf 8 is still on line, but is now located in shelf 1.
Page 49 of 100
ADDING MEDIA TO AN INTEGRAL VOLUME SET
Media Available
If the quota is not exceeded and there is media available, it will be added automatically as more space is needed.
No Media Available
To explain this procedure an Optical jukebox is used, but the example is valid for every type of jukebox supported by the QStar
Software.
In the following example an Integral Volume set is mounted; writing data to the cache and archiving the data to the media in the
set has exceeded the available capacity and there is no available (blank or erased) media in the jukebox. The _vlserver daemon
will automatically display the following message in the QStar syslog file, in an E-mail if the mail notification is enabled and in
the output of vlconsole command:
SDF: set Test, sequence_number 1: Please vladdtoset erased (blank) medium
If the message to insert pre-erased media is not noticed, the process of writing the data is automatically placed in a disk wait
state. At this point, the Integral Volume set can not be unmounted nor can the process be terminated. To fix this problem, do the
following:
1) The vlimport command is used to import the media into a jukebox and check the media’s content.
vlimport [-H host_name] [-a] [-o] [-p {cd-rom | cd-r | cd-rw | dvd-rom | dvd-r | dvd-ram | dvd-rw | dvd-rw-s | 1}]
device_name shelf_number [num_shelves]
#>vlimport jb 1
Note: If all the shelves are full, one of the media will have to be exported to an offline location and import into this free shelf.
vlerase [-H host_name] [-v] [-fe] [-j {delayed_job_name | "default"}] [-d {[mmdd]HHMM|[cc]yymmddHHMM}]
device_name shelf_number[{a|b}]
If the media is rewritable and is not erased, it must be erased, to erase the media, enter:
#>vlerase jb 1
#>vladdtoset Test jb 1
The _vlserver will add the media to the Integral Volume set and add it into the mounted file system. Now that the capacity for
writing new data is available, the jbscheduler automatically activates the process that was in the disk wait-state and the archiving
can continue.
Page 50 of 100
RESTORING AN INTEGRAL VOLUME SET
In both cases, to enable the Integral Volume set to be re-used, the media will have to be refreshed by the VL (Volume Librarian)
database. If the media is out of the jukebox, use the vlimport command to bring the media back into the jukebox, this will
update the VL database on import. If an upgrade has been carried out and the media is still in the jukebox, use the vlrefresh
command to read the media contents and update the VL database. Once the VL database knows the media’s contents, the
Integral Volume set definitions can be re-created. There are two sections below explaining how to recover an Integral Volume
set for each situation.
1) To refresh the contents of the jukebox identified as jb (for each configured jukebox), enter:
#>vlrefresh jb
#>vlcrset Test
3) To add the media in shelf 1 to the Integral Volume set named Test, enter:
#>vladdtoset Test jb 1
Note: This will also add to the Integral Volume set any other media in the jukebox with the same set_Id.
After that, the Integral Volume set is ready to be mounted with the mountiv command.
Page 51 of 100
Restoring an Exported Integral Volume Set Deleted from
the VL Database
If an Integral Volume set has been exported and the Integral Volume set definition deleted using the vldelset command,
bringing the Integral Volume set back online can be achieved in one of two ways.
1) Importing one piece of media from the Integral Volume set and recreating the Integral Volume set definition, all other
media imported that belongs to that set will automatically be added to the Integral Volume set definition.
a) To import a media that belongs to the Integral Volume set exported from the jukebox into shelf 10 of the jukebox
named jb (this will automatically update the VL database), enter:
#>vlimport jb 10
Note: The vlcrset command should be run with the appropriate options for the media and file system used. The example
has created an Integral Volume set with the SDF file system and rewritable media.
c) To add to the media into shelf 10 to the Integral Volume set Test, enter:
#>vladdtoset Test jb 10
Note: Once the first media is added to the set, any other media imported into the jukebox that has the same Set_Id will be
automatically added.
d) To import any other media belonging to the Integral Volume set, enter:
#>vlimport jb 11
Do this action for all media belonging to the Integral Volume set. The Integral Volume set database will be automatically
updated during the import operation, adding the imported media to the Integral Volume set. After that, add a cache to the
Integral Volume set with the vlcache command and then the Integral Volume set is ready to be mounted with the
mountiv command.
2) Import all the media belonging to the Integral Volume set and then create the Integral set definition.
#>vlimport jb 10
#>vlimport jb 11
Note: In the example there are only two media in the Integral Volume set.
Page 52 of 100
b) To create an Integral Volume set definition named Test, enter:
c) To add to the media into shelf 10 to the Integral Volume set Test (shelf 11 will automatically be added to the set),
enter
#>vladdtoset Test jb 10
The Integral Volume set is now re-created. The next step is to add a cache to the Integral Volume set with the vlcache
command and then the Integral Volume set is ready to be mounted with the mountiv command.
Page 53 of 100
DATA COMPACTION UNDER VL CONTROL
An Integral Volume set will contain a certain amount of “Dead Space” based on files being changed, rewritten, and/or updated.
“Dead Space” is defined as those data bytes on the archive media that have a newer set of equivalent data bytes somewhere else
on the media. This includes both data and metadata. An example of “Dead Space” for a data byte is when a page has been re-
written to the archive. An example of “Dead Space” for a metadata byte is when a file has been deleted, all metadata, event
data, on the archive previous to the delete event, is Dead Space. Data Compaction is the process of rewriting the data and
metadata which is NOT “Dead Space”, from one piece of media to a new piece of media, thus eliminating the “Dead Space”.
The Data Compaction utility is available only for Optical, DVD-RAM and Blu-ray media written with the SDF file system.
The Data Compaction utility can also be used with Tape but QStar highly recommends not using it because the performance of
Data Compaction on tape device is extremely poor.
The following commands are used for managing the dead space on a piece of media:
vlmediausage This command will list the usage statistics for all media in an Integral Volume set. By default, these
will be listed in order of sequence number. This list will be printed in descending order of amount of
“Dead Space”.
vlmediausage [-H host_name] set_name
vlreuse This command will copy the data and metadata that are NOT considered dead space from the
specified media to the current write surface or to a pre-allocated empty piece of media.
After this command has been completed, the specified media will show 100% dead space when the
vlmediausage command is run. Then it will erase the media that contain 100% dead space and add it
to the end of the Integral Volume set.
vlreuse [-r] [-H host_name] set_name in_set_number [-j {delayed_job_name | "default"}] [-d {[mmdd]HHMM |
[cc]yymmddHHMM}] set_name in_set_number...
vldelfromset This command will remove a piece of media that has 100% dead space from an Integral Volume set.
If the media does not have 100% dead space, then this command will fail. This command can be run
while the Integral Volume set is either mounted or unmounted.
vldelfromset [-H host_name] [-k] set_name in_set_number
Note: QStar recommends reviewing the explanation for the above commands in Chapter 9 - Command Reference of this
manual, while reading this section.
Page 54 of 100
Data Compaction Feature for the SDF File System
The following is an example of the Data Compaction utility using the vlreuse command for the Integral Volume set Test. The
Data Compaction utility requires that the Integral Volume set must be mounted and will run in background with no
down time. The vllsset command is used to display the current status for the Integral Volume set database.
An Integral Volume set Test was created, eight media were added and the Integral Volume set is currently mounted.
A) To display the set information for the Integral Volume set Test, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=8
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=5246b54c.36fa4670
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_numbers=0,1
2: Online=jb:2 Sequence_numbers=2,3
4: Online=jb:3 Sequence_numbers=4,5
6: Online=jb:4 Sequence_numbers=6,7
8: Online=jb:5 Sequence_numbers=8,9
10: Online=jb:6 Sequence_numbers=10,11
12: Online=jb:7 Sequence_numbers=12,13
14: Online=jb:8 Sequence_numbers=14,15
Note: The media from shelf 1 to 8 belongs to the Integral Volume set Test.
B) To list and analyze the statistical information for all media belonging to the Integral Volume set Test, enter:
#>vlmediausage Test
Page 55 of 100
If the media usage analysis returns a BUSY error message it means that the Integral volume set was not cleanly unmounted. To
fix the media usage problem mount and umount the Integral Volume set. Once the analysis is complete all information about
the media usage statistics for the Integral Volume set Test will be displayed. The following information is displayed for each
media belonging to the Integral Volume set:
The media usage analysis suggests all the media that may be reclaimed and an estimated time for the compaction. In the
example, the media in shelf 1 can be reclaimed in approximately 15 minutes.
C) To reclaim the space on the media in shelf 1with sequence number 0, erase it and add it to the Integral Volume set Test,
enter:
#>vlreuse Test 0
Once the media has been reclaimed the next action of the Data Compaction utility is to erase the media and add it to the end of
the Integral Volume set.
Note: The Compaction procedure can be delayed. To reuse media using the Delayed Reuse Media procedure, please refer to
Displaying and Setting the VL Configuration Properties for Delayed Reuse Media section in this chapter.
Page 56 of 100
D) To list and analyze the new statistical information for all media belonging to the Integral Volume set Test after the vlreuse
command, enter:
#>vlmediausage Test
The new media usage analysis displays that the media with sequence number 0 is no longer part of the Integral Volume set; the
media in shelf 1 is empty (capacity of 0% used) and was added to the Integral Volume set Test with sequence number 16, 17.
E) To display the set information for the Integral Volume set Test after the media has been erased and added to the Integral
Volume set, enter:
#>vllsset -v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=8
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=5246b54c.36fa4670
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
2: Online=jb:2 Sequence_numbers=2,3
4: Online=jb:3 Sequence_numbers=4,5
6: Online=jb:4 Sequence_numbers=6,7
8: Online=jb:5 Sequence_numbers=8,9
10: Online=jb:6 Sequence_numbers=10,11
12: Online=jb:7 Sequence_numbers=12,13
14: Online=jb:8 Sequence_numbers=14,15
16: Online=jb:1 Sequence_numbers=16,17
Now the media that was loaded in shelf 1, that had a Sequence_number = 0, 1 is no longer associated with the in_set_number
0. It has been removed and added to the Integral Volume set Test with Sequence_numbers = 16, 17 and a new in_set_number
16.
Page 57 of 100
Data Compaction Feature Using the Reallocation Only Option
The vlreuse command can also be used in the reallocation only mode. The reallocation only mode is enabled with the “-r”
flag. Specifying the reallocation only mode option, after successfully completing the reallocation procedure, where the data and
metadata that are NOT considered dead space will be copied from the specified media to the end of the Integral Volume set.
The reclaimed media will contain no up to date data and is displayed as a media that contains 100% dead space in the
vlmediausage output. However, the media still belongs to the Integral Volume set. The reallocation only mode will not erase
the reclaimed media or add it to the end of the Integral Volume set. This allows the System Administrator to decide if the media
should be exported from the jukebox (for backup purposes) or erased and added to the same or different Integral Volume set.
The media can be removed from the Integral Volume set using the vldelfromset command.
A) To reclaim only the data on the media in shelf 1 with sequence number 0, enter:
#>vlreuse -r Test 0
B) To list and analyze the new statistical information for all media belonging to the Integral Volume set Test after the vlreuse
command, enter:
#>vlmediausage Test
Note: Now the media in shelf 1 contains 100% dead space, because all the live data that was on the media has been copied to
the end to the Integral Volume set.
C) To remove the media in shelf 1 with sequence number 0 from the Integral Volume set Test, enter:
#>vldelfromset Test 0
Note: Now the media can be erased using the vlerase command and can be added to the same or different Integral Volume set
by using the vladdtoset command.
Page 58 of 100
D) To display the set information for the Integral Volume set Test, after the media has been removed, enter:
#>vllsset -v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=7
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=5246b54c.36fa4670
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
2: Online=jb:2 Sequence_numbers=2,3
4: Online=jb:3 Sequence_numbers=4,5
6: Online=jb:4 Sequence_numbers=6,7
8: Online=jb:5 Sequence_numbers=8,9
10: Online=jb:6 Sequence_numbers=10,11
12: Online=jb:7 Sequence_numbers=12,13
14: Online=jb:8 Sequence_numbers=14,15
Note: Now the media in shelf 1 with sequence numbers 0 and 1 is completely removed from the Integral Volume set information.
Page 59 of 100
Data Compaction not Available
The vlmediausage command may advise that the amount of free space present on the Integral Volume set it is not sufficient for
running the Data Compaction utility.
#>vlmediausage Test
0. jb:1 341 15
2. jb:2 335 15
4. jb:3 302 14
6. jb:4 257 20
If the above message appears in the vlmediausage output, add an available piece of media to the Integral Volume set using the
vladdtoset command. Run the vlmediausage command again to see if the reclaim procedure is now allowed. If allowed, then
use the vlreuse command to start the Data Compaction procedure.
ERROR RECOVERY
The QStar Software contains features that allow recovery from most errors introduced by human error or caused by hardware
failure. If the VL database gets out of synchronization with the jukebox status, this can be due to a hardware problem or human
intervention with the jukebox. To recover from this, there is a utility called vlrefresh that can be run on a single shelf, multiple
shelves or all the shelves contained in the jukebox. See the Chapter 9 - Command Reference for full details or read the
“Fixing Database Inconsistencies” section of this chapter.
Page 60 of 100
THE COPY AND COMPARE MEDIA UTILITIES
The QStar Software allows the System Administrator to create a back up copy of the media used in the jukebox and verifies it
with the original once created. The Copy and Compare Media procedure can be used with Optical and Tape media with the
SDF file system and with Optical media written with UDF or ISO 9660 File system. There are three ways of creating a back up
copy of the media in an Integral Volume set and compare it with the original, they are as follows:
The copy media procedure made with the copydisk command is completely unknown to the QStar Volume Librarian database
because the VL database does not allow an exact duplicate media to co-exist in the jukebox. This means that if a media, created
with the copydisk command, is refreshed using the vlrefresh command the VL database will recognize the media as an exact
duplicate media. The VL database will mark both the original and the copied media as duplicates and will lock the Integral
Volume set that the original media belongs to until the exact duplicate media is exported from the jukebox using the vlexport
command. For this reason it is highly recommended to immediately remove the duplicate media from the jukebox after the copy
disk process has been completed. For more detailed information about “Error Recovery Using Duplicate Media”, please refer
to Chapter 8 - Disaster Recovery in this manual.
The copydisk command is used to create an exact duplicate copy of a media surface written with the SDF file system.
The cmpdisk command is used to compare the original media surface with the duplicate media surface once the Copy Media
procedure has been completed.
Note: The copydisk and the cmpdisk commands are available only for the Standard Data Format (SDF) file system. QStar
recommends reviewing the explanation for the copydisk and cmpdisk commands in Chapter 9 - Command Reference of this
manual, while reading this section.
1) To create an exact duplicate copy of the media in shelf 5 (side a and b) with the media in shelf 10, enter:
#>copydisk /opt/QStar/dev/jb/rjb5a /opt/QStar/dev/jb/rjb10a
#>copydisk /dev/jb0/rjb5a /dev/jb0/rjb10a (IBM syntax)
Page 61 of 100
2) To compare the media in shelf 5 (side a and b) with the media in shelf 10, enter:
#>vlexport jb 10
Note: The jbexport command may also be used to export the media from the jukebox.
Substitute the Original Copy of the Media with the Exact Duplicate
To substitute the original media with the duplicate media for an Integral Volume set requires exporting the original media with
the vlexport command. When the original media is exported the System Administrator will be prompted for an offline location.
Import the duplicate media to an available shelf with the vlimport command and the media will be automatically added to the
VL set database.
Note: Substitute the original media with the duplicate media only if the cmpdisk command reports that both side a and b are
identical.
Note: When using double-sided media both sides will be copied; also, the original and the copy media must reside on the same
host unless Remote Copy has been licensed.
The vlcopy command also supports the UDF and SDF file systems. Using the Incremental Copy Media option, means that if
more data is written after the vlcopy has been run, running the vlcopy subsequently will write the changes to the destination
media.
The Incremental Copy Media for the UDF file system is available only for WORM (MO/UDO/PDD/CD/DVD-R/BD-RS)
media using the vlcopy command.
The incrematal Copy Media for the SDF file system is available using the -b {full|cron_like_schedule} option in the vlcrset
command and the Delayed VL Configuration Copy Media Properties.
Page 62 of 100
The vlcopy command is used to create a duplicate copy of a media.
vlcopy [-H host_name] [-v] [-c copy_number] [-C {yes|no} [-j{delayed_job_name | "default"}]
[-d {[mmdd]HHMM|[cc]yymmddHHMM}] src_dev_name:shelf_number dst_dev_name:shelf_number]
-H host_name
Specifies the name of the host where the source_jukebox and destination_jukebox are connected. Without this option, the local
host is used. The Copy Media procedure can be made from a jukebox that is connected remotely. Also, the Compare procedure
is supported using a jukebox that is connected remotely. The remote Copy Media and Compare options are available only if
the Remote Copy has been licensed.
-c copy_number: This option allows the System Administrator to change the incremented number of the copy_number to a
different value; which will allow multiple copies to be made of the original media and all copies may co-exist in the jukebox.
Without this option the copy_number on destination media is equal to the copy_number of the original media plus one.
The vlcopy command belongs to the list of the commands that can be delayed and placed under the VL scheduler control. The
options -j, -d and -C are related to the delayed start option and will be explained on the Delayed Jobs under VL Scheduler
Control section in this chapter.
The vlcmp command is used to compare the original media with the duplicate media once the Copy Media procedure has been
completed.
-H host_name
Specifies the name of the host where the source_jukebox and destination_jukebox are connected. Without this option, the local
host is used.
The vlcmp command belongs to the list of the commands that can be delayed and placed under the VL scheduler control. The
options -j and -d are related to the delayed start option and will be explained on the Delayed Jobs under VL Scheduler
Control section on this chapter.
Note: QStar recommends reviewing the explanation for the vlcopy and vlcmp commands in Chapter 9 - Command Reference of
this manual, while reading this section.
1) To create a duplicate copy of the media in shelf 1 (side a and b) with the media in shelf 8, enter:
Note: If the destination shelf is omitted on the command line, the QStar Software will automatically use the first available media
present in jukebox with the same capacity and block size as destination media.
Page 63 of 100
2) To display the jukebox shelf information during the Copy Media procedure for a jukebox with a device name jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
-----------------------------------------------------------------------------
1a: sdf 2.4 GB Rewritable Seq=0 SetId=807aeea2.34ba1fc5
1b: sdf 2.4 GB Rewritable Seq=1 SetId=807aeea2.34ba1fc5
2a: sdf 2.4 GB Rewritable Seq=2 SetId=807aeea2.34ba1fc5
2b: sdf 2.4 GB Rewritable Seq=3 SetId=807aeea2.34ba1fc5
3a: sdf 2.4 GB Rewritable Seq=4 SetId=807aeea2.34ba1fc5
3b: sdf 2.4 GB Rewritable Seq=5 SetId=807aeea2.34ba1fc5
4a: erased 2.4 GB Rewritable
4b: erased 2.4 GB Rewritable
5a: erased 2.4 GB Rewritable
5b: erased 2.4 GB Rewritable
6a: erased 2.4 GB Rewritable
6b: erased 2.4 GB Rewritable
7: empty
8: copying
3) To display the jukebox shelf information after the Copy Media procedure has been completed for a jukebox with a device
name jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
------------------------------------------------------------------------------
1a: sdf 2.4 GB Rewritable Seq=0 SetId=807aeea2.34ba1fc5
1b: sdf 2.4 GB Rewritable Seq=1 SetId=807aeea2.34ba1fc5
2a: sdf 2.4 GB Rewritable Seq=2 SetId=807aeea2.34ba1fc5
2b: sdf 2.4 GB Rewritable Seq=3 SetId=807aeea2.34ba1fc5
3a: sdf 2.4 GB Rewritable Seq=4 SetId=807aeea2.34ba1fc5
3b: sdf 2.4 GB Rewritable Seq=5 SetId=807aeea2.34ba1fc5
4a: erased 2.4 GB Rewritable
4b: erased 2.4 GB Rewritable
5a: erased 2.4 GB Rewritable
5b: erased 2.4 GB Rewritable
6a: erased 2.4 GB Rewritable
6b: erased 2.4 GB Rewritable
7: empty
8a: sdf 2.4 GB Rewritable Seq=0.1 SetId=807aeea2.34ba1fc5
8b: sdf 2.4 GB Rewritable Seq=1.1 SetId=807aeea2.34ba1fc5
Note: The media in shelf 1 has been copied to shelf 8. The VL database displays identical SetId number on both media but a
different seq_no, the duplicate media has been incremented by 1.
Page 64 of 100
4) To display the jukebox shelf information by the set_name instead of the set_Id for a jukebox with a device name jb, enter:
#>vllsdev -n jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
-----------------------------------------------------------------------------
1a: sdf 2.4 GB Rewritable Seq=0 SetName=Test
1b: sdf 2.4 GB Rewritable Seq=1 SetName=Test
2a: sdf 2.4 GB Rewritable Seq=2 SetName=Test
2b: sdf 2.4 GB Rewritable Seq=3 SetName=Test
3a: sdf 2.4 GB Rewritable Seq=4 SetName=Test
3b: sdf 2.4 GB Rewritable Seq=5 SetName=Test
4a: erased 2.4 GB Rewritable
4b: erased 2.4 GB Rewritable
5a: erased 2.4 GB Rewritable
5b: erased 2.4 GB Rewritable
6a: erased 2.4 GB Rewritable
6b: erased 2.4 GB Rewritable
7: empty
8a: sdf 2.4 GB Rewritable Seq=0.1 SetId=807aeea2.34ba1fc5
8b: sdf 2.4 GB Rewritable Seq=1.1 SetId=807aeea2.34ba1fc5
Note: Shelf 8 displays the Set_Id instead of the SetName. This means, although this media has an identical Set_Id as another
media belonging to the Integral Volume set Test, it isn't considered part of the Integral Volume set because the original media is
still present in the VL set database.
5) To compare the media in shelf 1(side a and b) with the media in shelf 8, enter:
Note: If the vlcmp command is run with the verbose option enabled it will print a progress report of the comparison on the
users terminal.
Note1: Once the vlcmp command has been completed it will generate in the /opt/QStar/log directory a report file (i.e.
vlcmp_JB_1-JB_8) that will display the results of the comparison.
#>vlexport jb 8
Page 65 of 100
Substitute the Original Copy of the Media with the Duplicate
To substitute the original media with the duplicate media for an Integral Volume set requires exporting the original media.
When the original media has been exported the System Administrator will be prompted for an offline location. Import the
duplicate media to an available shelf and add the media to the Integral Volume set with the vladdtoset command.
Note: Substitute the original media with the duplicate media only if the vlcmp command reports that both side a and b are
identical.
1) To display the set information for the Integral Volume set named Test, enter:
#>vllsset -v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=687077ff.3b535493
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_numbers=0,1
2: Online=jb:2 Sequence_numbers=2,3
4: Online=jb:3 Sequence_numbers=4,5
Note: The media in shelf 1 is online and belongs to the Integral Volume set Test with Sequence_numbers = 0,1.
#>vlexport jb 1
3) To display the set information for the Integral Volume set named Test, enter:
#>vllsset -v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=687077ff.3b535493
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Offline=Test_0 Sequence_numbers=0,1
2: Online=jb:2 Sequence_numbers=2,3
4: Online=jb:3 Sequence_numbers=4,5
Page 66 of 100
4) To import the duplicate media in shelf 1, enter:
#>vlimport jb 1
5) To add the duplicate media in shelf 1 to the Integral Volume set named Test, enter:
#>vladdtoset Test jb 1
6) To display the set information after the duplicate media has been added to the Integral Volume set named Test, enter:
#>vllsset -v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=3
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=687077ff.3b535493
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_numbers=0,1 Offloc=Test_0
2: Online=jb:2 Sequence_numbers=2,3
4: Online=jb:3 Sequence_numbers=4,5
7) To display the jukebox shelf information by the set_name instead of the set_Id for a jukebox with a device name jb, enter:
#>vllsdev -n jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
-----------------------------------------------------------------------------
1a: sdf 2.4 GB Rewritable Seq=0.1 SetName=Test
1b: sdf 2.4 GB Rewritable Seq=1.1 SetName=Test
2a: sdf 2.4 GB Rewritable Seq=2 SetName=Test
2b: sdf 2.4 GB Rewritable Seq=3 SetName=Test
3a: sdf 2.4 GB Rewritable Seq=4 SetName=Test
3b: sdf 2.4 GB Rewritable Seq=5 SetName=Test
4a: erased 2.4 GB Rewritable
4b: erased 2.4 GB Rewritable
5a: erased 2.4 GB Rewritable
5b: erased 2.4 GB Rewritable
6a: erased 2.4 GB Rewritable
6b: erased 2.4 GB Rewritable
7: empty
8: empty
Note: The jukebox shelf information displays that the duplicate media now belongs to the Integral Volume set Test.
Page 67 of 100
Automated Copy Media Under VL Control
The Automated Copy Media procedure creates a duplicate of the original media in the Integral Volume set; if an original
media is damaged, the duplicate media can be used to replace the damaged media. The Automated Copy Media procedure is
under the control of the QStar Volume Librarian database and creates a duplicate copy of a media.
The only exception is that the copy_number in volume_id block is incremented in order to create a different
sequence_number that identifies the media as a backup copy of the original. This difference in the sequence_number allows
both the original and duplicate media to co-exist in the VL database (jukebox), without introducing an error condition using
duplicate media or locking the set database when the vlrefresh command is used. This means that after the Automated Copy
Media process is completed the VL database will be automatically updated and the media can be left in the jukebox or exported
and stored in a safe location until it is needed.
The Automated Copy Media procedure can be done for Full Media (full option) or Incremental (cron_like_schedule option)
and is configured during the creation of the Integral Volume set using the -b flag with the vlcrset command and can also be
activated or deactivated, after the creation of the Integral Volume set, using the vleditset command.
The Automatic Copy Of Full Media will run every time the Integral Volume set reaches the point of dynamically allocating
another piece of media to the Integral Volume set and it is supported for the SDF, UDF Spanning file system. It may be
required to configure the Automatic Copy Of Full Media procedure as a Delayed Jobs under VL scheduler control. See the
“Displaying and Setting the VL Configuration Properties for Delayed Copy Media” section above.
The Automatic Incremental Copy Media can be scheduled to run Incrementally at a pre-determined time. This means that if
more data is written after the Copy Media has been run; running the Copy Media subsequently will write the changes to the
destination media. The Automatic Incremental Copy Media procedure is only supported for Optical and Tape media with the
SDF file system. For this procedure to work correctly, the destination media MUST be in the jukebox at the scheduled time, if it
is not a new media will be initialized and a new copy made, if no backup media is located in the jukebox at the scheduled time,
the Incremental Copy Media will start to copy all media in the set from the beginning. For this reason, it is important the
current destination media is left in the jukebox, once a new destination media is started, all previous destination media can be
removed from the jukebox. Only one destination media is supported for the Incremental Copy Media, alternating between
two or more destination media is not supported as each media will not be complete and cannot be used as a direct
replacement.
The UDF file system supports a Manual Incremental Copy Media only for WORM (MO/UDO/PDD/CD/DVD-R/BD-RS)
media using the vlcopy command.
It may be required to configure the automated Copy Media for full media procedure to be added to the Delayed Jobs under VL
scheduler control. The parameters are set in the /opt/QStar/vl/files/conf file, to enable COPY Delayed Start within a certain
time period, the Copy Media will then be deferred until this time. This would be the preferred option for a jukebox with less
than 4 drives, or to simply move the automated Copy Media to a time period when the jukebox is under less load. See the
“Displaying and Setting the Delayed VL Configuration Copy Media Properties” later in this chapter to configure this
option. With the incremental copy mode, the scheduling it set in a cron_like_schedule, so the COPY Delayed Start should be
left at default.
Note: QStar recommends reviewing the explanation for the vlcrset and vleditset commands in Chapter 9 - Command Reference
of this manual, while reading this section.
Note1: Automated Copy Media with the UDF spanning Interchange Level is only supported if the Close_Full_Volume=yes
option enabled.
Page 68 of 100
1) To create an Integral Volume set named Test with the SDF file system and the Automated Copy Media of full media
procedure enabled, enter:
2) To display the Integral Volume set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=of full media
Set_type=sdf (standard data format)
SetId=b29ea11f.3ee0bb86
No cache
0: Online=jb:3 Sequence_numbers=0,1
Note: The vllsset output displays the Make_copy option is set to of full media (Automated Copy Media of full media enabled).
QStar recommends when using the Automatic Copy Media of full media procedure, that the jukebox has a minimum of
four drives. This is recommended because when archiving begins three drives will be in use, it will require one drive for
archiving and dynamic allocation of more media, one drive for the source media of the copy media process and one
drive for the destination media of the copy media process. Alternately, configure the VL scheduler to process the
Automatic Copy Media of full media procedure outside of normal working hours.
1) To create an Integral Volume set named Test with the SDF file system and the incremental Automated Copy Media
procedure to take place each day at 22:00, enter:
2) To display the Integral Volume set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=incremental (0 22 * * *)
Set_type=sdf (standard data format)
SetId=b29ea11f.3ee0bb86
No cache
0: Online=jb:3 Sequence_numbers=0,1
Note: The vllsset output displays the Make_copy is set to incremental and the scheduled time is displayed in the brackets in
cron format.
3) To display the delayed job information for the Incremental Automated Copy Media, enter:
#>vlqlist Test
1 2003/06/09_11:42 VLINCRCOPY Test IncrCopy Waiting For Time 0:
4) To modify the time for the Incremental Automated Copy Media, use the vleditset command, for example to change the time
to 23:00 daily, enter:
Page 69 of 100
1) To create an Integral Volume set named Test with the BD-RS media, the UDF file system as spanning Interchange Level,
packet writing and the Automatic Full Media Copy Media options enabled, enter:
2) To display the Integral Volume set information for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media= bd,worm,rdonly Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=of full media
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_a30a36f78
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=yes Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=yes
No cache
0: Online=jb:1 Span_number=1
Note: The vllsset output displays the Make_copy option is set to of full media (Automated Copy Media of full media enabled).
Page 70 of 100
VL CONFIGURATION PROPERTIES FILE
QStar creates a special file called “conf” under the /opt/QStar/vl/files directory. The conf file keeps all the configuration
information used by the QStar Software on the Volume Librarian (VL) database and by the QStar Commands that can be run
as delayed jobs.
This section will display only the generic VL configuration information used by QStar Software, leaving the VL
configuration information relating to delayed jobs until the next section.
Page 71 of 100
Displaying and Setting the General VL Configuration
Properties
Keep Done Records = "7"
Number of latest records kept in the delayed jobs queue list. The default number is 7; the System Administrator can change this
by editing the /opt/QStar/vl/files/conf file and typing the new value.
By default, this option is disabled. For example if the threshold of the Blank/Erase media is “3” the System Administrator can
set to receive an E-mail notification when this level has been reached or passed by editing the /opt/QStar/vl/files/conf file and
typing the following value:
By default, the request will wait until the offline request is satisfied by importing the media or canceled using the vlconsole
command. The System Administrator can immediately receive an error by typing the following value:
Page 72 of 100
By default, the export root directory is set as /opt/QStar/fsi/mnt. The mount point name can be changed as required by the
System Administrator, who must be sure that the specified root directory location is created. A sub directory will appear in this
directory named as the Integral Volume set for every Integral Volume set mounted.
This mount point can be automatically or manually exported in the “/etc/exports” file. Once the Integral Volume set is mounted
on the local server, depending of the Operating System settings the directory can be automatically exported by QStar Software
for the local server only.
Example:
This will allow the systems mars, pluto and venus to remotely administer the QStar Software.
By default, the big space root directory is not defined. This directory is used to store the backup images created with a UDF
Spanning Integral Volume set. If it is not defined, all backup images will be created in the respective cache root directory for
each Integral Volume set. If it is defined, a common directory will store all the backup images for all Integral Volume sets. The
directory name can be changed as required by the System Administrator, who must be sure that the specified root directory
location has been created.
Page 73 of 100
Displaying and Setting the VL Configuration for the Minimum
File System Space Available
Minimum Filesystem Space Available = "0"
The SDF or UDF Spanning file system, using the dynamic allocation feature, automatically adds new media to the integral
Volume set once the file system is full. With dynamic allocation, the file system can grow automatically until reaching the
Quota value that is set by default to 2048 media per Integral volume set.
The Minimum Filesystem Space Available option allows the System Administrator that are using applications that require a
minimum amount of space before sending any data to the mount point (Map Network Drive) to configure the minimum amount
of space reported by the QStar file system when the statfs command is issued by typing in the size (MB) to report when the
statfs command is issued.
Page 74 of 100
DELAYED JOBS UNDER VL SCHEDULER CONTROL
The QStar Software contains an event scheduler for scheduling certain processes. Scheduling of events allows the Software to
be used to its full potential. Notifying the System Administrator of low available media and delaying system intensive processes
to be run at off peak times. The VL scheduler can be used to run batch or single media erases as well as Copy Media requests. It
can also be used to schedule more complicated tasks such as Data Compaction on Integral Volume sets and recording of
CD/DVD-R media.
Below the contents of the conf file relating to the Delayed Jobs commands:
# VL Configuration File
Page 75 of 100
Displaying and Setting the VL Configuration CD/DVD-R
Delayed Recording Properties
These options are related to the write options for CD/DVD-R devices managed by the QStar CD/DVD Master Software.
By default, Direct write is Prohibited and Delayed write is always allowed with the default delayed write options below:
The Images Directory on the server where the temporary image files that will be recorded to the CD/DVD-R media will be
stored.
C) Direct: “Prohibited”
E) Delayed Start: Start Time and Stop Time when the VL scheduler processes the delayed jobs in 24-hour mode.
A 0:0 0:0 value ensures the jobs will not be delayed and will be processed immediately after the ISO/UDF image has been
completely transferred to the Images Directory.
F) Max Parallel Recording: The Number of parallel recordings defines the number of images that can be recorded at the same
time; the value entered defines the number of drives that can be used simultaneously for recording. A “0”value ensures that
all cd/dvd-r drives available will be used.
Note: The VL Configuration option for the recording procedure and related commands with a full explanation regarding the
QStar CD/DVD Master Software can be found in the MANAGING QSTAR CD/DVD MASTER PRODUCT WITH ISO 9660
AND UDF FILE SYSTEMS section in Chapter 7 - Media Configuration of this manual.
The System Administrator can change any of the default parameters by editing the /opt/QStar/vl/files/conf file and typing the
new value.
Page 76 of 100
In the example, default Delayed write options are set as follows:
To create the directory where the images will be temporarily transferred and kept until the delayed jobs are completely
processed, enter:
#>mkdir /export/home/cd_images
Note: Ensure the hard disk partition where the Images Directory was created has sufficient space for the required images.
Note1: There may be a requirement for the users of the QStar CD/DVD Master Software to transfer the image to the cd_images
directory from a client machine. To allow the users to access the Images Directory, the correct permissions must be applied to
the directory.
vlrecord [-H host_name] [-v] [-x {speed_X|max}] [-b buffer_Mb][{-t |-T}] [-s set_name] [-j delayed_job_name]
[-d {[mmdd]HHMM|[cc]yymmddHHMM}] [-nnumber_of_copies] [-V] [-m mail_addr] [-p {cd-r| cd-
rw|dvd-r|dvd-ram|dvd-rw|dvd-rw-s|mo|mo-worm|udo|udo2|dvdram|dvd-r|cd-r|bd-re|bd-rs}
device_name: {shelf_number{a|b}|any} [image_path]
The options available with the vlrecord command are described as follows:
-H host_name
Specifies the name of the host where the device is connected. Without this option, the local host is used.
-v Verbose output.
-x speed_X
Specifies the recording speed at which all CD/DVDs will be recorded. Without this option the recording speed is selected
automatically based on the memory buffer filling time. The options available are any number below the maximum write speed of
the drive (i.e. 2x =2 3x = 3 4x =4), or Max.
The selection of “Auto” as the recording speed ensures that the server will automatically detect the writing speed. With a buffer
on the server, data is transferred from the client machine to the buffer first and then from the buffer to the drive. The server
waits until the buffer is full before it starts to write. It calculates the speed of transfer for the first 4MB (buffer size) of data and
sets the appropriate write speed for the drive. The auto speed selection of the software may not always be accurate as the server
assumes that all transfers will be made at the same speed calculated for the first 4MB.
If the recording procedure returns an error, the speed is not correct; a write speed test must then be carried out. This procedure is
described in the Burn Test Procedure Before Starting the Write Operation section of this manual, QStar recommends
reading the section before starting the recording procedure to determine the correct write speed for your drives.
-b buffer_Mb
Specifies memory buffer size used for recording. The default value is 4 Mb.
Page 77 of 100
-t
The Laser OFF test mode is used to test and verify the optimum write speed to be used with the CD/DVD-R drive. When the
Laser OFF test mode is specified, the Software and the CD/DVD-R drive simulate the write process. The CD/DVD-R drive
does not actually write data to the media as the Laser power is turned off.
-T
The Write OFF test mode is used to measure the data transfer rate. When the Write OFF test mode is specified, the Software
will send the data to the drive, but will not perform the write operation on the media.
Note: For more detailed information about the test procedure, please refer to “Burn Test Before Start Write Operation”
section of this manual.
-s set_name
Specifies the Integral Volume set name to which the newly written media will be automatically added.
-j delayed_job_name
Specifies the job name used to identify the job in the delayed job list. Without the -j flag the job will be executed according to
the -d flag (without the -d flag, the job will execute immediately).
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed on the delayed jobs list. The job will be executed immediately if there is
no -j flag and no -d flag. If there is a -j flag and there is no -d flag the job will be executed according to the “RECORD
Delayed Start” field in the /opt/QStar/vl/files/conf file.
The month, day, year, and century may be omitted; the current date values are supplied as defaults.
-m mail_addr
Specifies the E-mail address to which confirmation is sent when the job has been completed. An E-mail notification can be sent
reporting the exit status information of the recording operation using the -m option and specifying the E-mail address of the
person who should receive the notification.
-n number_of_copies
Specifies the number of copies of the same ISO/UDF image that will be recorded to the CD/DVD-R media. Without this option
only one ISO/UDF image will be recorded. This option is only available with the Delayed write procedure in conjunction with
any option and will be ignored if is used with the Direct write procedure.
-p
Sets the media type for the recording session. If the media type is omitted from the syntax of the command the first
available media in the jukebox, starting from the shelf with the lowest number, will automatically be used. If the
jukebox contains different types of media, (i.e. cd-r, dvd-r, dvd-rw, cd-rw, dvd-ram) the software will select the first
available media with a capacity that is equal to or larger than the ISO/UDF image, starting from the shelf with lowest
number.
Page 78 of 100
-V
Specifies verification mode. The vlrecord command reads recorded data back and compares with the source image.
Note: The recording is a long procedure, QStar suggests using the -v option to track the progress of the recording.
If the Delayed write procedure is used with an existing ISO/UDF image, the image is first transferred to the Images Directory
specified in the RECORD Images Dir Path entry of the conf VL Configuration file. Then in accordance with the RECORD
Delayed Start Time settings also specified in the conf VL Configuration file, the image will be recorded to the CD/DVD-R
media. When the record procedure has been completed the existing ISO/UDF image will not be removed from the server hard
disk, however, the transferred image will be removed from the Images Directory.
To select the Delayed write procedure the System Administrator will need to use the -j delayed_job_name option and assign a
name to the job using the vlrecord command. The job name must be a unique name, if the same job name is already present in
the delayed jobs queue list then the job will be denied and the following message will be returned to the vlrecord command:
By default the recording Start Time will follow the setting inserted in the RECORD Delayed Start Time setting specified in
the conf VL Configuration file. The System Administrator can change the recording Start Time specifying the date and time
the jobs should be executed on the delayed jobs list using the -d [mmdd]HHMM | [cc]yymmddHHMM option using the
vlrecord command.
Note: If the Delayed write procedure is interrupted, the interruption will cancel the delayed job request and the partial image
that has been transferred will be removed from the Images Directory.
1) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example, the -s set_name option is used to add the new CD/DVD-ROM created to the Integral Volume set Test. The
new media will then be mounted immediately after the recording has been completed and the data will be available online.
2) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example the -m mail_addr option is used to send an E-mail notification reporting the exit status information of the
delayed recording operation.
3) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example, both -s set_name and -m mail_addr options are used.
Page 79 of 100
4) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example, the -d option is used to set the Delayed Start Time to 23:30.
5) To record the /home/QStar_Software_Unix.iso image to the first available DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example, the-s set_name, the -V verification and -p dvd-r options are used.
1) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Delayed write procedure, enter:
Note: In the example, the -s set_name option is used to add the new CD/DVD-ROM created to the Integral Volume set Test. The
new media will then be mounted immediately after the recording has been completed and the data will be available online.
2) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Delayed write procedure, enter:
Note: In the example, the -m mail_addr option is used to send an E-mail notification reporting the exit status information of the
recording operation.
3) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Delayed write procedure, enter:
Note: In the example, both -s set_name and -m mail_addr options are used.
4) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Delayed write procedure, enter:
Note: In the example, the -d option is used to set the Delayed Start Time to 23:30.
Page 80 of 100
Displaying and Setting the Delayed VL Configuration Copy
Media Properties
These options are related to the Delayed Copy Media procedure under the VL control. They can also be used to configure the
Automated Copy Media feature to take place in pre-determined hours. A full explanation regarding the Copy Media procedure
under the VL control can be found in The Copy and Compare Media Utilities section in this chapter. If
dst_dev_name:shelf_number is omitted the vlcopy command consults “COPY Jb Name”, “COPY Start Shelf Number”,
“COPY End Shelf Number” fields in the /opt/QStar/vl/files/conf file. If there are no such fields in /opt/QStar/vl/files/conf
file the vlcopy command examines the src_dev_name jukebox first and then all other jukeboxes.
By default the jukebox name and the range of destination shelves are not defined with the below default options:
A) Jb Name: “ ”
The name of the jukebox, which the QStar Software will use to examine for available media that can be used as destination
media in the vlcopy command.
E) Delayed Start: Start Time and Stop Time when the VL scheduler will process the delayed jobs in 24-hour mode.
A 0:0 0:0 value ensures the jobs will not be delayed and will be processed immediately.
The System Administrator can change any of the default parameters by editing the /opt/QStar/vl/files/conf file and typing the
new values.
In the example, default Delayed Copy Disk options are set as follows:
Note: In the example, the Automated Copy Media feature would only take place between the hours of 23:30 and 06:30 and
would only use rewritable media to copy to from shelves 80 to 90 inclusive. It would also Compare the media afterwards
(vlcmp).
Page 81 of 100
Starting the Delayed Copy Media Procedure
The vlcopy command is used to create a duplicate copy of a media.
vlcopy [-H host_name] [-v] [-c copy_number] [-C {yes|no} [-j{delayed_job_name | "default"}]
[-d {[mmdd]HHMM|[cc]yymmddHHMM}] src_dev_name:shelf_number dst_dev_name:shelf_number]
The vlcopy command creates a copy of the media (SDF, UDF or ISO 9660 file system). The resulting copy is identical to the
original except that the copy_number in the volume_id block is incremented. The copy may be used for backup purposes and
may be substituted for the original if the original becomes bad or unavailable. The src_dev_name:shelf_number specifies the
jukebox and shelf number for the original media. The dst_dev_name:shelf_number specifies the jukebox and shelf number for
the copy.
Note: The original and the copy media must reside on the same host and if the media is double-sided both sides will be copied.
The options available with the vlcopy command are described as follows:
-H host_name
Specifies the name of the host where the source_jukebox and destination_jukebox are connected. Without this option, the local
host is used.
-c copy_number: This option allows the System Administrator to change the incremented number of the copy_number to a
different value; which will allow multiple copies to be made of the original media and all copies may co-exist in the jukebox.
Without this option the copy_number on destination media is equal to the copy_number of the original media plus one.
-C yes|no
Compare source and target media after copy. This flag takes effect only for delayed jobs.
-j delayed_job_name
Specifies the job name used to identify the job in the delayed job list. If the delayed_job_name is the key word “default”, the
actual job name will be generated automatically. Without the -j flag the job will be executed according to the -d flag (without
the -d flag, the job will execute immediately).
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed on the delayed jobs list. The job will be executed immediately if there is
no -j flag and no -d flag. If there is a -j flag and there is no -d flag the job will be executed according to the “COPY Delayed
Start” field in the /opt/QStar/vl/files/conf file.
The month, day, year, and century may be omitted; the current date values are supplied as defaults.
Page 82 of 100
Examples of the Delayed Copy Media Procedure Specifying the Destination Shelf
In the examples, the Make copy of shelf #3 is the name assigned to the delayed_job_name option and shelf 5 is the destination
media of the copy.
1) To create a duplicate copy of the media in shelf 3 (side a and b) with the media in shelf 5 using the Delayed Copy Media
procedure, enter:
Note: The job will be executed according to the “COPY Delayed Start” field in the /opt/QStar/vl/files/conf file.
2) To create a duplicate copy of the media in shelf 3 (side a and b) with the media in shelf 5 using the Delayed Copy Media
procedure, enter:
Note: In the example, the -d option is used to set the Delayed Start Time to 1:30 PM. The “COPY Delayed Start” field in the
/opt/QStar/vl/files/conf file makes no difference if -d is specified.
Examples of the Delayed Copy Media Procedure without Specifying the Destination
Shelf
In the examples, the Make copy of shelf #3 is the name assigned to the delayed_job_name option and the destination shelf is
not specified. Without specifying the destination shelf, the destination shelf will be chosen by the QStar Software, according to
the values set for COPY Start and End shelf in the /opt/QStar/vl/files/conf file.
1) To create a duplicate copy of the media in shelf 3 (side a and b) without specifing the destination shelf using the Delayed
Copy Media procedure, enter:
Note: The job will be executed according to the “COPY Delayed Start” field in the /opt/QStar/vl/files/conf file.
2) To create a duplicate copy of the media in shelf 3 (side a and b) with the media in shelf 5 using the Delayed Copy Media
procedure, enter:
Note: In the example, the -d option is used to set the Delayed Start Time to 1:30 PM. The “COPY Delayed Start” field in the
/opt/QStar/vl/files/conf file makes no difference if -d is specified.
Page 83 of 100
Displaying and Setting the Delayed VL Configuration
Compare Media Properties
This option is related to the Delayed Compare Media procedure that can be performed in order to verify a copy of the media is
made with the Copy Media under the VL control to ensure the vlcopy command has copied the media correctly. A full
explanation regarding the Copy Media procedure under the VL control can be found in The Copy and Compare Media
Utilities section in this chapter.
A) Delayed Start: Start Time and Stop Time when the VL scheduler processes the delayed jobs in 24-hour mode.
A 0:0 0:0 value ensures the jobs will not be delayed and will be processed immediately.
The System Administrator can change any of the default parameters by editing the /opt/QStar/vl/files/conf file and typing the
new values.
In the example, default Delayed Compare Media options are set as follows:
The vlcmp command is used to compare the original media with the duplicate media once the Copy Media under the VL control
procedure is completed to ensure that their contents are identical.
The options available with the vlcmp command are described as follows:
-H host_name
Specifies the name of the host where the source_jukebox and destination_jukebox are connected. Without this option, the local
host is used.
-j delayed_job_name
Specifies the job name used to identify the job in the delayed job list. If the delayed_job_name is the key word “default”, the
actual job name will be generated automatically. Without the -j flag the job will be executed according to the -d flag (without
the -d flag, the job will execute immediately).
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed on the delayed jobs list. The job will be executed immediately if there is
no -j flag and no -d flag. If there is a -j flag and there is no -d flag the job will be executed according to the “CMP Delayed
Start” field in the /opt/QStar/vl/files/conf file.
Page 84 of 100
mm - is the month number
dd - is the day number in the month
HH - is the hour number (24 hour system)
MM - is the minute number
cc - is the century
yy - is the last 2 digits of the year number
The month, day, year, and century may be omitted; the current date values are supplied as defaults.
In the examples, the Compare 5 and 6 is the name assigned to the delayed_job_name option and the shelf 5 is the destination.
1) To compare all data on the media in jukebox#1 (jb1) in shelf 5 to the media in jukebox#2 (jb2) in shelf 6 using the Delayed
Compare Media procedure, enter:
Note: The job will be executed according to the “CMP Delayed Start” field in the /opt/QStar/vl/files/conf file.
2) To compare all data on the media in jukebox#1 (jb1) in shelf 5 to the media in jukebox#2 (jb2) in shelf 6 using the Delayed
Compare Media procedure, enter:
Note: In the example the -d option is used to set the Delayed Start Time to 1:30 PM. The “CMP Delayed Start” field in the
/opt/QStar/vl/files/conf file makes no difference if -d is specified.
Page 85 of 100
Displaying and Setting the Delayed VL Configuration Data
Compaction Properties
This option is related the Delayed Data Compaction procedure that relocates data, erases media and adds it to an Integral
Volume set. A full explanation regarding the Data Compaction procedure under the VL control can be found in the Data
Compaction Under VL Control section in this chapter.
A) Delayed Start: Start Time and Stop Time when the VL scheduler will process the delayed jobs in 24-hour mode.
A 0:0 0:0 value ensures the jobs will not be delayed and will be processed immediately.
The System Administrator can change any of the default parameters by editing the /opt/QStar/vl/files/conf file and typing the
new value.
The vlreuse command is used to relocate data, erase the media and add it to an Integral Volume set.
The vlreuse command relocates up-to-date data from a specified media ('in_set_number' in set 'set_name') to the current write
position. After successful relocation the media is erased and added to the Integral Volume set. As a result available space for the
Integral volume set is increased. More than one in_set_number may be specified for the same command.
The options available with the vlreuse command are described as follows:
-H host_name
Specify the name of the host where the device is connected. Without this option, the local host is used.
-r
Specify relocation only mode. After successful completion of the command, the media may be exported from jukebox (for
backup purposes) or erased and added to the same or different Integral Volume set.
-j delayed_job_name
Specifies the job name used to identify the job in the delayed job list. If the delayed_job_name is the key word “default”, the
actual job name will be generated automatically. Without the -j flag the job will be executed according to the -d flag (without
the -d flag, the job will execute immediately).
Page 86 of 100
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed on the delayed jobs list. The job will be executed immediately if there is
no -j flag and no -d flag. If there is a -j flag and there is no -d flag the job will be executed according to the “REUSE Delayed
Start” field in the /opt/QStar/vl/files/conf file.
The month, day, year, and century may be omitted; the current date values are supplied as defaults.
Note: The command will fail if the specified set contains an SDF filesystem and is in a mounted state. It may also fail if there is
not enough space for the reallocated data.
In the examples, the Reuse volume #1 is the name assigned to the delayed_job_name option.
1) To relocate data, erase the media with in_set_number 1 and add it to an Integral Volume set beta using the Delayed Data
Compaction procedure, enter:
Note: The job will be executed according to the “REUSE Delayed Start” field in the /opt/QStar/vl/files/conf file.
2) To relocate data, erase the media with in_set_number 1 and add it to an Integral Volume set beta using the Delayed Data
Compaction procedure, enter:
Note: In the example, the -d option is used to set the Delayed Start Time to 1:30 PM. The “REUSE Delayed Start” field in the
opts/QStar/vl/files/conf file makes no difference if -d is specified.
Page 87 of 100
Displaying and Setting the VL Configuration Delayed Erase
Media Properties
This option is related the Delayed Erase Media procedure.
A) Delayed Start: Start Time and Stop Time when the VL scheduler processes the delayed jobs in 24-hour mode.
A 0:0 0:0 value ensures the jobs will not be delayed and will be processed immediately.
The System Administrator can change any of the default parameters by editing the /opt/QStar/vl/files/conf file and typing the
new value.
In the example, default Delayed Erase Media options are set as follows:
vlerase [-v] [-fe] [-H host_name] [-j {delayed_job_name | "default"}] [-d {[mmdd]HHMM|[cc]yymmddHHMM}]
device_name shelf_number[{a|b}]
The vlerase command erases either an individual media, (in a standalone drive, or jukebox) or a group of media in the specified
range of shelves, (within a jukebox). The jukebox or standalone drive is specified by the device_name argument. A shelf range
can only be used for an immediate erase, only a single erase is allowed in the Delayed Erase, if multiple erases are required,
they must be entered as separate jobs. The command erases both sides of the media if the surface (a or b) is not specified. The
shelf is specified by the shelf_number argument.
Note: If media belongs to an Integral Volume set, the erase process will be denied.
The options available with the vlerase command are described as follows:
-H host_name
Specify the name of the host where the device is connected. Without this option, the local host is used.
-v Verbose
Print the progress report on the user terminal. If erasing a single shelf (surface), the command prints a line with the number of
blocks, block size and approximate time needed for erasing. If erasing a range of shelves the command prints a line with shelf
number.
-f Full erase
By default the QStar software erases only the first 2048 blocks on each side of the media which is acceptable for both UDF or
SDF file systems. The full erase procedure can be used to check faulty media, because all blocks will be erased.
Page 88 of 100
-e Emulate erase
A special pattern will be written on the media instead of physically erasing it. By default the QStar software erases only the first
2048 blocks on each side of the media, with the -f option the pattern will be written in every block on the media. For vlrefresh a
block with this pattern is recognized as an erased block. Erase emulation is available for magneto-optical rewritable media only
and its main purpose is to ensure that there are no blank blocks on the media (blocks that cannot be read without error). It should
be used on media that will hold the UDF file system and then will be moved to a non-QStar Windows UDF implementation
(some of which will not recognize blank blocks).
-j delayed_job_name
Specifies the job name used to identify the job in the delayed job list. If the delayed_job_name is the key word “default”, the
actual job name will be generated automatically. Without the -j flag the job will be executed according to the -d flag (without
the -d flag, the job will execute immediately).
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed on the delayed jobs list. The job will be executed immediately if there is
no -j flag and no -d flag. If there is a -j flag and there is no -d flag the job will be executed according to the “ERASE Delayed
Start” field in the /opt/QStar/vl/files/conf file.
The month, day, year, and century may be omitted; the current date values are supplied as defaults.
In the examples, the Erase shelf #2 is the name assigned to the delayed_job_name option.
1) To erase the media in shelf 2 using the Delayed Erase Media procedure, enter:
Note: The job will be executed according to the “ERASE Delayed Start” field in the /opt/QStar/vl/files/conf file.
2) To erase the media in shelf 2 using the Delayed Erase Media procedure, enter:
Note: In the example, the -d option is used to set the Delayed Start Time to 1:30 PM. The “ERASE Delayed Start” field in the
/opt/QStar/vl/files/conf file makes no difference if -d is specified.
Page 89 of 100
Displaying and Setting the VL Configuration Delayed
Archive Properties
This option is related to the Delayed Archive procedure.
A) Delayed Start: Start Time and Stop Time when the VL scheduler processes the delayed jobs in 24-hour mode.
A 0:0 0:0 value ensures the jobs will not be delayed and will be processed immediately.
The System Administrator can change any of the default parameters by editing the /opt/QStar/vl/files/conf file and typing the
new values.
The mmarc command is used to start, stop and schedule archiving of data for each Integral Volume set.
mmarc [-H host_name] {-l | -e | -a age | -s} [-w] [-j {delayed_job_name | "default"}] [-S cron_like_schedule]
{set_name | filename}
The mmarc command may be run manually to archive any primary data that resides in the cache, alternately it may be
scheduled via a delayed job, or a cron_like_schedule. Primary data in the cache can be secured to the archive by means of the
HPC (High Primary Capacity) setting, the mmarc command, or a combination of the two. By ensuring primary data is written
to the archive media on a regular basis, ensures the data is secure, even in the event of a catastrophic failure on the system.
Note: Each mounted Integral Volume set has its own archiving policy. QStar recomends they do not all take place at the same
time, if there are more mounted Integral Volume sets than available drives in the jukebox, this could lead to excessive media
swaps.
The options available with the mmarc command are described as follows:
-H host_name
Specify the name of the host where the device is connected. Without this option, the local host is used.
-a age
Stop archiving when all delayed events created before the agetime specified are processed.
-l
Stop archiving when the number of primary pages in the cache is equal to or less than the low_primary_capacity value.
-e
Stop archiving when the delayed queue becomes empty or all the delayed events are processed.
-w
Wait for archiving to stop. Without this option, the command returns immediately.
Page 90 of 100
-j {delayed_job_name | default}
Specifies the job name used to identify the job in the delayed job list. If the delayed_job_name is the key word default, the
actual job name will be generated automatically. Without the -j flag the job will be executed according to the -d flag (without
the -d flag, the job will execute immediately)
-d {[mmdd]HHMM | [cc]yymmddHHMM}
Specifies the date and time the job should be executed on the delayed jobs list. The job will be executed immediately if there is
no -j flag and no -d flag. If there is a -j flag and there is no -d flag the job will be executed according to the ARC Delayed Start
field in the vl/files/conf file.
The month, day, year, and century may be omitted; the current values are supplied as defaults.
-S cron_like_schedule
Schedules archiving by cron time. Cron schedule: Minute Hour Day Month Weekday. For more detailed information about the
syntax, please refer to the crontab man pages.
In the examples, the Daily Archive #Test is the name assigned to the delayed_job_name option.
1) To archive all events for the Integral Volume set called Test using the Delayed Archive procedure, enter:
Note: The job will be executed according to the “ARC Delayed Start” field in the /opt/QStar/vl/files/conf file.
2) To archive until the low_primary_capacity is reached for the Integral Volume set called Test using the Delayed Archive
procedure, enter:
Note: In the example the -S option is used to set the Delayed Start Time to 1:30 PM. The “ARC Delayed Start” field in the
/opt/QStar/vl/files/conf file makes no difference if -S is specified.
Page 91 of 100
Displaying the Delayed Jobs Status in the Delayed Jobs
Queue List
The vlqlist command is used to list all the information for the delayed jobs present in the delayed jobs queue list, which is
controlled by the QStar VL scheduler process. The VL scheduler will start to process the jobs in the list at the time set by the
System Administrator. The System Administrator using the vlqlist command can manage and monitor the delayed jobs in the
delayed jobs queue list.
vlqlist [-H host_name] [-j [a][d][c][m][r][e][g][A][i][o]] [-s [w][s][d][e]] [-l] [-h sender_hostname] [-u user_id]
The options available with the vlqlist command are described as follows:
-H host_name
Specifies the name of the host where the device is connected. Without this option, the local host is used.
-l
Output long format.
-j [d][c][m][r][e]
The –j flag allows specific job type filters to be used. Multiple filters may be used together on the same command line.
-s [w][s][d][e]
The -s flag allows specific job state filters to be used. Multiple filters may be used together on the same command line.
-h sender_hostname
Display all records that came from the host specified by sender_hostname
-u user_id
Display all records that originated from the user specified by user_id.
Page 92 of 100
Displaying the Delayed Jobs Status for a Single Job
The delayed jobs listed in the vlqlist command output are displayed in the order they were added to the delayed jobs queue.
In this section there are examples of a delayed job for a recording procedure.
#>vlqlist
In the example, the job with the name QStar_Release is present on the delayed jobs queue list and was registered in the list with
Job ID 1 and Registration Date 2002/03/10 at 21:43 and currently this job has a Status of Waiting.
The Delayed Start Date information is empty because the scheduling procedure follows the general settings made in the
RECORD Delayed Start Time setting specified in the conf VL Configuration file.
#>vlqlist
The Status of the job with Job ID 1 has changed to Started and the recording was started at 2002/03/10_21:44 Delayed Start
Date.
#>vlqlist
The Status of the job with Job ID 1 has changed to Done and the recording has been completed without any errors at
2002/03/10_21:50 End Date.
Note: If the Status displays Error the recording procedure has failed to write the image on the media.
Page 93 of 100
Displaying the Delayed Jobs Status for Different Delayed Jobs
The delayed jobs listed in the vlqlist command output are displayed in the order they were added to the delayed jobs queue. If
different types of jukeboxes are connected to the same server, a combination of different delayed jobs can be present in the
delayed jobs queue. These jobs will differ mainly in the Job ID, Job Type and Job Name. The jobs will be processed according
to the priority order specified. The job at top of the delayed jobs queue list has the highest priority.
#>vlqlist
In the example, the jobs with the name QStar_Release, Erase shelf #2, Make copy of shelf #8 are present in the delayed jobs
queue list. They were registered in the list respectively with Job ID 1, Job ID 2, Job ID 3 and with different Registration
Date. Currently these jobs have a Status of Waiting. The Delayed Start Date information is empty because the scheduling
procedure follows the general settings made respectively in the RECORD, ERASE, COPY Delayed Start Time settings
specified in the conf VL Configuration file
#>vlqlist
The Status of the job with Job ID 1 has changed to Started and the recording was started at 2002/05/28_21:00 Delayed Start
Date.
#>vlqlist
The Status of the job with Job ID 2 has changed to Started and the erasing was started at 2002/05/28_21:01 Delayed Start
Date.
Page 94 of 100
4) To display the delayed jobs status, enter:
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
2 2002/05/28_20:53 Erase shelf #2 Erase Started 0: 2002/05/28_21:01
3 2002/05/28_20:54 Make copy of shelf #8 Copy Waiting 0:
1 2002/05/28_20:51 QStar_Release Record Done 0:natasha 2002/05/28_21:00 2002/05/28_21:07
The recording has been completed successfully, the Status of the job with Job ID 1 has changed to Done and the job details are
then moved to the bottom of the delayed jobs queue list.
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
2 2002/05/28_20:53 Erase shelf #2 Erase Started 0: 2002/05/28_21:01
3 2002/05/28_20:54 Make copy of shelf #8 Copy Started 0: 2002/05/28_21:15
1 2002/05/28_20:51 QStar_Release Record Done 0:natasha 2002/05/28_21:00 2002/05/28_21:07
The Status of the job with Job ID 3 has changed to Started and the copying was started at 2002/05/10_21:15 Delayed Start
Date.
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
3 2002/05/28_20:54 Make copy of shelf #8 Copy Started 0: 2002/05/28_21:15
1 2002/05/28_20:51 QStar_Release Record Done 0:natasha 2002/05/28_21:00 2002/05/28_21:07
2 2002/05/28_20:53 Erase shelf #2 Erase Done 0: 2002/05/28_21:01 2002/05/28_22:08
The erasing has been completed successfully, the Status of the job with Job ID 2 has changed to Done and the job details are
then moved to the bottom of the delayed jobs queue list.
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
1 2002/05/28_20:51 QStar_Release Record Done 0:natasha 2002/05/28_21:00 2002/05/28_21:07
2 2002/05/28_20:53 Erase shelf #2 Erase Done 0: 2002/05/28_21:01 2002/05/28_22:08
3 2002/05/28_20:54 Make copy of shelf #8 Copy Done 0: 2002/05/28_21:15 2002/05/28_23:06
The copying has been completed successfully, the Status of the job with Job ID 3 has changed to Done and the job details are
then moved to the bottom of the delayed jobs queue list.
Page 95 of 100
If the System Administrator has changed the Delayed Start Time specifying the date and time the jobs should be executed in
the delayed jobs list using the -d [mmdd]HHMM | [cc]yymmddHHMM option on the delayed commands, this new recording
start time information will be displayed on the vlqlist output on the Delayed-Start-Date information.
#>vlqlist
Note: The Registration-Date reports the Date and Time when the delayed job was added to the delayed jobs queue list and the
Delayed-Start-Date shows the Date and Time when the job is to be processed.
The vlqlist command used with the –l (Output on Long Format) option allows displaying detailed information for the delayed
jobs present in the delayed jobs queue list.
#>vlqlist –l
Record ID: 1
Job: Record
Job Status: Waiting
Job Name: QStar_Release
Sender Hostname: natasha
Sender UID: 0
Registration Date: 2002/05/28_20:51
Start Date:
End Date:
Error:
Delayed Start Date:
Notification Mail Address:
Test Write Mode: no test
Write Speed: 4
Buffer Size(Mb): default
Media profile: cd-r
Device Name: jb
Shelf Number: 1
Side: A
Image Size: 90052608 – 89Mb
Image Path: /opt/QStar/vl/files/cd_images/natasha.1022539813.img
Set Name:
Leave Open: No
Verify After Recording: No
Page 96 of 100
Record ID: 2
Job: Erase
Job Status: Waiting
Job Name: Erase shelf #2
Sender UID: 0
Registration Date: 2002/05/28_20:53
Start Date:
End Date:
Error:
Delayed Start Date:
Notification Mail Address:
Device Name: jb
Shelf Number: 2
Sides: 2
Fast Erase: No
Record ID: 3
Job: Copy
Job Status: Waiting
Job Name: Make copy of shelf #8
Sender UID: 0
Registration Date: 2002/05/28_20:54
Start Date:
End Date:
Error:
Delayed Start Date:
Notification Mail Address:
Source Device Name: jb
Source Shelf Number: 8
Destination Device Name: jb
Destination Shelf Number From: 6
Destination Shelf Number To: 6
Copy Number: 0
Compare After Copy: No
Page 97 of 100
Moving Delayed Jobs from the Delayed Jobs List
The vlqmove command is used to move the jobs in the delayed jobs queue list that is controlled by the QStar VL scheduler
process. The delayed jobs listed in the vlqlist command output are displayed in the order they were added to the delayed jobs
queue. The job that has the highest priority in the queue is the job that is displayed at the top of the list. The job at the top of the
list will be the first delayed job to be processed if the Delayed Start Time is the same for all types of delayed jobs. The System
Administrator using the vlqmove command can change the order the jobs will be processed.
The options available with the vlqmove command are described as follows:
-H host_name
Specifies the name of the host where the device is connected. Without this option, the local host is used.
[after]
Specifies that job_id1 should be placed after job_id2.
Example:
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
1 2002/05/28_20:51 QStar_Release Record Waiting 0:natasha 2002/05/29_01:30
2 2002/05/28_20:53 Erase shelf #2 Erase Waiting 0: 2002/05/29_01:30
3 2002/05/28_20:54 Make copy of shelf #8 Copy Waiting 0: 2002/05/29_01:30
Note: In the example, the job with Job ID 1 will be the first to be started.
#>vlqmove 2 1
Note: In the example, the job with Job ID 2 is selected to move this job to the top of the list.
#>vlqlist
Note: Now the job with Job ID 2 is at the top of the list and will be the first job that will be processed.
Page 98 of 100
Deleting Delayed Jobs from the Delayed Jobs List
The vlqremove command is used to remove a job in the delayed jobs queue list that is controlled by the QStar VL scheduler
process. This command can be used to clear completed, completed with error, and unwanted incomplete records.
The options available with the vlqremove command are described as follows:
-H host_name
Specifies the name of the host where the device is connected. Without this option, the local host is used.
Example:
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
1 2002/05/28_20:51 QStar_Release Record Waiting 0:natasha 2002/05/29_01:30
2 2002/05/28_20:53 Erase shelf #2 Erase Waiting 0: 2002/05/29_01:30
3 2002/05/28_20:54 Make copy of shelf #8 Copy Waiting 0: 2002/05/29_01:30
#>vlqremove 1
Note: In the example, the job with Job ID 1 is removed from the list.
#>vlqlist
Note: Once a job for the delayed recording procedure is removed from the list the job is canceled and the associated image file
in the Images Directory is removed.
Page 99 of 100
DISPLAYNG ERROR CONDITIONS FOR DELAYED JOBS
If an error occurred during a Delayed job, the error information will be displayed in the record regarding the job. Information on
the error encountered in the delayed jobs queue list can be displayed using the vlqlist command. The syslog file will report
additional information about the error encountered during the job procedure.
The vlqlist command used with the –l (Output on Long Format) option allows displaying detailed error information for the
delayed jobs present in the delayed jobs queue list.
#>vlqlist –l
Record ID: 2
Job: Record
Job Status: Error
Job Name: QStar Release
Sender Hostname: brian
Sender UID: 0
Registration Date: 2002/04/19_13:15
Start Date: 2002/04/19_13:29
End Date: 2002/04/19_13:30
Error: USCSICMD ioctl: try jb:6a 82 Mb: cdr_write: write process was interrupted:
SCSI cmd 0x2a (write): I/O error
Delayed Start Date:
Notification Mail Address: [email protected]
Test Write Mode: no test
Write Speed: 4
Buffer Size(Mb): default
Media profile: cd-r
Device Name: jb
Shelf Number: 6
Side: A
Image Size: 86372352 – 85Mb
Image Path: /opt/QStar/vl/files/cd_images/brian.1019214846.img
Set Name:
Leave Open: No
Verify After Recording: No
Note: In the example, an error occurred during the delayed recording procedure is displayed.
Page 1 of 32
MIGRATION MANAGER DESCRIPTION
The Migration Manager was designed to provide a Hierarchical Storage Management (HSM) system view of a collection of
diverse types of storage media. This includes magnetic disks and RAID, Optical, CD or DVD jukeboxes and drives, Tape
jukeboxes and drives. The job of the Migration Manager is to combine all of these technologies into a Virtual File System called
an Integral Volume set. An Integral Volume set looks and feels to the user like a standard magnetic disk. This means that all
standard applications, including network-based applications, can work with the Integral Volume set without modification and in
the same manner that they would work with a normal magnetic disk.
The first is called the Migration Server. The Migration Server is responsible for servicing all requests for the Integral Volume
set. The Migration Server is primarily responsible for the first tier of the storage management hierarchy; in other words it
manages the data which resides on the magnetic disk cache. The Migration Server is tuned to provide the highest performance
for retrieving data that resides in the magnetic disk cache. It is also responsible for enforcing a set of Migration Policies, which
determines when and what data is migrated to and from the secondary tiers of storage.
The second component is the Migrator. The Migrator is responsible for managing the archive(s). There are actually several
different versions of the Migrator, depending on the type of storage managed by the archive and the functionality required when
migrating the data.
Page 2 of 32
Events
Events are the basis of the Migrator Manager functionality. Every action on the Integral Volume set is represented by an event.
The Migrator Server performs all changes that are to be carried out in response to an event both in the cache and on the Archive.
In the cache, events are performed immediately. In the Archive, they are performed later.
The following groups of events are supported:
Events generated by file and I/O syscalls
Events that change the file system state: create, link, mkdir, remove, rename, rmdir, setattr (combines chmod, chown, truncate,
utime), symlink and write syscalls. Events that read information from the file system: lookup, readdir, readlink, and statfs. A
free-file event is generated when the link count of the file drops to 0 and this file is no longer referenced in the kernel.
Page fault and Directory faults
If the required page is not present in the cache, a read and write generate a page-fault event. Any access to a directory in which
contents are not stored in the cache generates a dir-fault event.
Umount Event
Generated by umount syscall.
Events from the Migrator Manager commands
Generated by the mmarc, mmchmod, mmparam, mmpurge, mmresume, mmsubtree commands.
Delayed Events
Events, which have been generated but not processed on the Archive, are called delayed events. Delayed events are stored in the
delayed queue and processed on the Archive in the same order in which they were generated. Processing of the delayed queue is
called archiving.
Full File Migration Whenever a file is migrated, its entire contents are moved completely from one tier of
the hierarchy to the other.
Per Page Migration Only those pages, which are needed to satisfy the request, are migrated. An access to
the file causes a page containing the referenced bytes to be read into the cache.
Similarly, if a file in the cache is modified, then only those pages, which contain
modified data (Primary Data), are archived.
Keep in Cache Any page of the file that is now present in the cache or will be put in the cache cannot
be swapped out of the cache.
Page 3 of 32
Migrator Manager Parameters for an Integral Volume Set
Parameters listed below control the behavior of the Integral Volume set. All of them can be set using the vlcache and the
mmparam commands.
Number of Pages in Cache Maximum number of pages which will be used for caching
data to magnetic disk.
Low Primary Capacity When archiving is initiated, either by Demand Archiving or
Scheduled Archiving it will continue until the number of
primary pages in the cache is less than or equal to this value.
Default is set to 0.
High Primary Capacity This value specifies the number of primary pages that may
reside in the cache. When the number of primary pages
reaches this value then Demand Archiving will be initiated
and will continue until the Low Primary Capacity value is
reached. Default is set to 80% of the cache size.
Page 4 of 32
CREATING THE CACHE
The vlcache command is used to create a cache for an Integral Volume set. In preparation for creating the Integral Volume set, a
decision must be made as to how much cache is required and where it will be located.
Note: The cache should be large enough to accept all new data, any requests for archived data and enough extra room for
unexpected high volume days between Integral Volume set archives. There should be adequate space left for directory
information to be cached, which will increase in size as the Integral Volume set does.
The -r Readonly option allows mounting a file system in read only mode.
-l low_primary_capacity
Number of pages used to control the stop point for archiving. When archiving starts because of the number of primary pages in
the cache becomes equal to the high_primary_capacity value, it proceeds until the number of primary pages in the cache is equal
to or less than the low_primary_capacity value. The maximum value is the maximum number of pages in the cache minus 1. The
default is 0. The value may also be specified in MB, GB and % (percentage) as follows: -l xxMB -l xxGB -l xx% where “xx” is
the numeric value.
-h high_primary_capacity
Number of pages used to control the start point for archiving. Archiving starts when the number of primary pages in the cache
becomes equal to or greater than high_primary_capacity value. The maximum value is the maximum number of pages in the
cache (see -p option).The default value is 80% of the maximum number of pages. The value may also be specified in MB, GB
and % (percentage) as follows: -h xxMB -h xxGB -h xx% where “xx” is the numeric value.
-c cache_root
Specify the cache root directory.
The -s Page Size option allows a cache page size other than the Default 64KB to be used, changing the page size allows for
more efficient use of the space in the cache if the average file size is small. However, the performance will be slower with the
smaller the page size selected. The Page Sizes that are available are from 1KB up to 128KB. The 128KB can be used only with
AIT tape drive.
Page 5 of 32
Read Only Grace Period Cache Option
The QStar Software has a feature to allow data to be stored for a Grace Period before it is set to read only.
-g rdonly_grace_period
The Grace Period option of the vlcache command is configurable on an Integral Volume set basis and can be set by seconds,
minutes, hours, days and years. The Grace Period option is used to specify a period of days, hours, minutes and seconds as a
timeout for modifying the state of an existing file or directory. A file may be modified, providing the user has sufficient
privilege, until the Grace Period has expired, it is then marked as read only, this feature goes further than the standard UNIX
read only flag, as even the System Administrator cannot remove the read only flag for files, the only way to overcome this, is to
remove the Grace Period option. Enabling this feature provides a WORM file system, even with rewritable media, ideal for
corporate data archiving compliance requirement.
retention_period=<y>y<d>d<h>h<m>m<s>s
where
<y> is {0,1,......,19}
<d> is {0,1,......,365}
<h> is {0,1,.....,10000}
<m> is {0,1,.....,10000}
<s> is {0,1,......,10000}
Note: QStar recommends reviewing the explanation for the vlcache command in Chapter 9 - Command Reference of this
manual, while reading this section.
Page 6 of 32
Examples of creation a cache for an Integral Volume set:
1) To create a cache with 100MB on the /export/home/cache_Test cache_root directory for an Integral Volume set named Test,
enter:
2) To create a cache with 100MB on the /export/home/cache_Test cache_root directory and the high_primary_capacity value
set to 80 pages for an Integral Volume set named Test, enter:
3) To create a cache with 100MB on the /export/home/cache_Test cache_root directory and the cache in read only mode for an
Integral Volume set named Test, enter:
4) To create a cache with 100MB on the /export/home/cache_Test cache_root directory and enabling the write operation on the
cache even if a covered error occurs for an Integral Volume set named Test, enter:
5) To create a cache with 100MB on the /export/home/cache_Test cache_root directory and the cache pages size set to 32
(default is 64K) for an Integral Volume set named Test, enter:
6) To create a cache with 100MB on the /export/home/cache_Test cache_root directory and the grace period value set to 20
minutes for an Integral Volume set named Test, enter:
Page 7 of 32
Multiple Cache Area Mechanism
Each Integral Volume set has is own cache that is specified during the Integral Volume set creation using the vlcache command.
The information of the cache location is saved into the VL set database and is displayed using the vllsset command. From the
vlcache command is possible to specify only one cache location. If the System Administration needs to enlarge the cache size
across different cache locations (different raid) QStar has created a mechanism that allows spanning the cache across different
cache locations.
1) The cache areas file resides in /opt/QStar/mcfs/files directory and is named "cache_areas.<set_name>".
2) The file is created empty by the vlcache command and is removed by the vldelset command. The user can list cache areas
before the set is mounted. With the "mountiv -n" command, all the cache areas listed in the file can be cleaned.
3) The maximum number of additional cache areas is 4. The primary cache location specified in the set definition does not
belong to the list of cache areas, so the total number of cache areas is 5. If the list of cache areas contains the primary cache
path or has duplicate paths or has more than 4 paths, an error is reported. The system reads the cache areas file and prints the
cache area list and the numbers of free MB in each area on mount and with the mmresume command.
4) The system periodically checks space in the current cache area. The area is considered full if the number of available blocks
reported by OS for the file system where the area resides is not greater than 1GB. For the primary cache we also take into
account the space consumed by the migrator files (extra 30MB plus 200 bytes per user file in the cache). When the current
area gets full, we smoothly switch to the next area (if any) without setting an error condition and interrupting a user
application.
5) If the current area gets full and there is no more cache area listed in the cache area list, an error condition is set. If there are
less than 4 paths in cache areas list, a new area(s) can be added to the cache areas list by editing the cache areas file. The
system reads this file and updates the list on mmresume command.
Page 8 of 32
MODIFYING THE CACHE PARAMETERS
The vlcache command is also used to modify permanently the cache parameters for an Integral Volume set. If the cache was
already created and the set is mounted this change will take effect at the next mount. QStar suggests umounting the Integral
Volume set, change the cache options and then remount the Integral Volume set.
The mmparam command on the current mount point can be used to modify the cache parameters temporarily.
The modification of the parameters will be cleared once the integral volume is unmounted. At the next mount the default
parameters specified with the vlcache command and displayed with the vllsset command will be reused.
1) To increase the cache size from 100MB to 15GB for an Integral Volume named Test, enter:
2) To change the high_primary_capacity value to 70 pages for an Integral Volume named Test, enter:
#>vlcache –h 70 Test
3) To change the low_primary_capacity value to 10 pages for an Integral Volume named Test, enter:
#>vlcache –l 10 Test
Note: After the cache is added to the Integral Volume set, the vllsset command will display an output similar to the following.
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Low_primary_capacity=10
High_primary_capacity=70
Page 9 of 32
FILE MIGRATION
Archiving
Archiving is the copying of primary data from the magnetic disk (cache) to the archival media.
The mmarc command is used to start and stop the archiving of the files from the cache to the archival media.
mmarc [-H host_name] {-l | -e | -a age | -s} [-w] [-j {delayed_job_name | "default"}]
[-S cron_like_schedule]{set_name | filename}
Note: QStar recommends reviewing the explanation for the mmarc command in Chapter 9 - Command Reference of this
manual, while reading this section.
• Periodic Archiving - The System Administrator specifies a discrete time interval when the migration manager
begins archiving. When periodic archiving is started, the migration manager begins processing delayed events until a
stop archiving policy is satisfied. A copy of the data remains on the magnetic disk as archived data so you can
quickly access it as needed without querying the slower archival media.
• Demand Archiving - The migration manager automatically begins archiving when the primary data on the magnetic
cache equals or exceeds the high primary capacity.
• User Initiated Archiving - The System Administrator initiates archiving on a selected Integral Volume set. This
method allows archiving of critical files as soon as they are written.
Any archiving method, or all three, can occur in an Integral Volume set. However, a well-configured Integral Volume set uses
periodic archiving as its primary method of controlling the migration cycle. This can be achieved using the mmarc command
with the cron command. Once the mmarc command is inserted in the appropriate crontab file, the cron command starts a
process that executes the mmarc command on the specified dates and times.
QStar also supports stop archiving policies. These rules determine when the archiving cycle should cease. The supported
policies are:
• All Delayed Events - All primary data and all delayed events are archived. This policy ensures that all files as well
as all high level changes such as changing ownership or permissions are processed on the archive media. This is the
default stop archiving policy.
• Low Primary Capacity - The migration manager stops archiving once a certain amount of data has been archived.
This amount is determined by the value of the tunable parameter, Low Primary Capacity. This parameter is useful in
controlling the archiving to a defined data amount decreasing the length of the archiving cycle.
• Agetime - Only files written prior to the agetime are archived. This user definable value maintains recently written
data in primary form. This limit is highly useful for customers who mainly access recently written files. These files
will remain in the cache until they exceed the agetime value.
• User Initiated Stop Archiving - The System Administrator initiates the stop archiving on a selected Integral
Volume set. This method stops the archiving on selection.
The System Administrator sets the primary agetime and low primary capacity parameters based on Integral Volume set usage
characteristics.
Page 10 of 32
File Migration Modes
QStar’s migration manager allows migration to occur in two modes: data segment mode and full file mode.
In data segment mode, a file is viewed as a collection of data segments of discrete size. Each segment can be migrated
individually or collectively with other segments.
In full file mode, the migration manager always migrates the complete file as a single entity.
With large files, segmented migration is more efficient than full file migration. For example, imaging applications typically
store a multi-page document as a single file, often as large as 100 Megabytes or more. In segment migration mode, only the
pages that have been accessed or modified are migrated. This results in a substantial timesaving: it’s more efficient to migrate,
modify, and archive two Megabytes (or less) than do the same with 100 Megabytes. Magnetic disk and archival media resources
are used most efficiently, leaving more space on the magnetic disk for other data. In addition, segmented migration mode makes
it possible to have files partially resident on magnetic and partially on the archival media.
Page 11 of 32
MANAGING THE CACHE
Once the Integral Volume set is created using the vlcrset command and the cache location is assigned using the vlcache
command, the Integral Volume set can be mounted using the mountiv command. This command can be run with different
options that will be better understood after the following brief description of the cfs_cache_files and the db_files.
Note: All cfs_files but cfs_info and cfs_log can, if they are large enough, consist of several sections. In this case the file name is
cfs_page, cfs_page_1, cfs_page_2 and so on.
Page 12 of 32
The sdf_db files are the table of content files for the SDF file system.
The files are created in the cache_root directory and are as follows:
File Description
sdf_node This file contains “tnodes” (sdf type inodes) for all files and directories on a sdf
Integral Volume set. Each tnode is 128 bytes in size and contains “map entries”
(pairs of ‘volume, position’ for a 64K data block) for file or “directory blocks”
for directories. It also contains attributes of file (directory). 2 tnodes (0 and 1)
are reserved and contain some “global” data (number of tnodes, number of free
tnodes, set ID etc.).
sdf_jblk This file contains “indirect blocks” and “double-indirect blocks” for map entries
for file or directory entries. These blocks are used if a file grows larger than
~640K (~20K for directory).
sdf_dir This file contains directory blocks (1K each)
sdf_shred This file will be created only with the Shredding option enabled and contains
the information of blocks shredded on the last volume
sdf_shred_map This file will be created only with the Shredding option enabled and contains a
bitmap that indicates which media block of the set is shredded
The udf_db files are the table of content files for the UDF file system.
The files are created in the cache_root directory and are as follows:
File Description
udf_master This file contains the indicator for the type of set, automount and logical volume
identifier (1 if single- or multi-volume, for every volume if automount).
udf_stamp This file has no data.
File length shows how the set has been synced or unmounted:
1 - transactions have not been synced yet
2 - udf_db files have been synced
3 - media have been synced
4 - set has been correctly unmounted
udf_transaction This file contains the sequence of transactions made after the last sync point.
udf_df This file contains the udfdf information of each surface under automount control.
udf_span This file contains the spanning database information.
Note: The cfs_page file is a static file, the size is represented in 2 GB cfs_page files, and the number of cfs_page files is equal
to the cache size assigned to the Integral Volume set when it was created; except on 64 bit systems, which will only have one
cfs_page file regardless of the cache size. All the cfs_*, udf_db and sdf_db are dynamic files and will grow in size with the
number of files written to the Integral Volume set. QStar recommends always reserving some free space in the cache location in
order to let the dynamic cache files grow.
Page 13 of 32
Note1: QStar recommends not doing a backup of the directory where the QStar Software is installed or the QStar cache
directories while the Integral Volume set is mounted. If a backup utility is used while an Integral Volume set is mounted there is
a very good possibility that the cache files and the Integral Volume set database will be corrupted. The cache files will be
rebuilt from the media in the case of disaster. However, if there is a requirement to do a backup of the cache files it is
recommended that the Integral Volume set is un-mounted first. Also, keep in mind that because the cache files change every
time a file is written to the Integral Volume set restoring the cache files from a backup will most likely generate an inconsistency
between the cache files and the media. Therefore, restoring the cache files is not recommended.
Command Description
mmarc Start and stop the archiving
mmchmod Change migration attributes of the specified files
mmdelay Print the delayed queue
mmls List the information of specified files
mmparam Set or print the cache parameters
mmresume Clear covered file system errors
mmpurge Free pages in the cache
mmsubtree Remove or add a sub tree in the cache
Note: QStar recommends reviewing the explanation for these commands in Chapter 9 - Command Reference of this manual,
while reading this chapter.
Page 14 of 32
MOUNTING AN INTEGRAL VOLUME SET
The mountiv command is used to mount an Integral Volume set on a specified mount_point directory.
Note: QStar recommends reviewing the explanation for the mountiv command in Chapter 9 - Command Reference of this
manual, while reading this section.
1) To mount the Integral Volume set Test for the first time (cache root directory empty) on the /mnt directory, enter:
Note: No flag is needed to build the cache files if the cache root directory is empty.
2) To mount the Integral Volume set Test with a clean cache on the /mnt directory, enter:
#>mountiv –n Test /mnt
Note: The “–n” flag will rebuild all existing cache files, ensure that all primary pages have been archived before using this
flag.
3) To mount the Integral Volume set Test with a new sdf_db or udf_db files on the /mnt directory, enter:
4) To mount the Integral Volume set Test in read only mode on the /mnt directory, enter:
Note: The Integral Volume set can be mounted in read only mode and with new sdf_db or udf_db files using the vlcrset or
vleditset commands. For more detailed information, please refer to Chapter 9 - Command Reference in this manual.
Note1: When using Tape media the number of Integral Volume sets that can be mounted at one time is limited by the
number of drives available in the jukebox.
Page 15 of 32
CHECKING THE MOUNTED STATUS OF AN INTEGRAL
VOLUME SET
The System Administrator can verify that the file system is correctly mounted using the UNIX df -k or mount commands.
The QStar Software also maintains the mount status information of the Integral Volume set in the VL database. This information
is displayed using vllsset command.
1) To display the mount status for the Integral Volume set named Test, enter:
#>vllsset –v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=2
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=807bef41.361b3d4d
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_numbers=0,1 Mounted=a,b
2: Online=jb:2 Sequence_numbers=2,3 Mounted=a,b
Page 16 of 32
ERROR CONDITION DURING MOUNT OPERATIONS
The mountiv command can return with an error condition.
This section will explain what these errors mean and how to remedy them.
mountiv: host_name: , set Test: Migrator files invalid or belong to different set
This error means that the sdf_db files are corrupted or are already in use with another Integral Volume set. Check to see if the
cache root directory specified for this Integral Volume set is the same as another Integral Volume set. If it is the same, change it
or remove all files inside the cache root directory and run the mountiv command.
mountiv: /export/home/Test: host_name: , set Test: prepare cache: Cache files belong to different file system
This error means that the “cfs_*” files are already in use with another Integral Volume set (set with cache). Check to see if the
cache root directory specified for this Integral Volume set is the same as another Integral Volume set. If it is the same, change it
or remove all files inside the cache root directory and run the mountiv command again with the option, “-n”.
This error means that the mount point specified for this Integral Volume set is already in use by another Integral Volume set or
file system. Change the mount point directory.
mountiv: /export/home/Test: clean_cache required: Cache files may need to be recreated. Use -f flag to mount with
existing cache
This error means that the “cfs_*” files may already be in use by another or old Integral Volume set. Check to see if the cache
root directory specified for this Integral Volume set is the same as another Integral Volume set. If it is the same, change it or
remove all files inside the cache root directory or run the mountiv -n command to clean the cache. If the cache root directory
belonged to an Integral Volume set that was recreated, run the mountiv -f command to mount using the existing cache files.
mountiv: /export/home/Test: Migrator files may need to be recreated. Use -f flag to mount with existing migrator
database
This error means that the Integral Volume set information has been recreated and the sdf_db files have been used with a
different or old Integral Volume set. If the Integral Volume set is the same as the old one and only the Integral Volume set
information has changed, run the mountiv -f command to mount using the existing migrator database. If the Integral Volume set
is not the same, remove all files inside the cache root directory or run the mountiv -n command to clean the cache.
Page 17 of 32
SHARE AN INTEGRAL VOLUME SET FROM A SERVER
MACHINE
Once the Integral Volume set is created and the file system is mounted, the System Administrator if required can share the file
system on the network.
A) Share from the server machine the Integral Volume set on Solaris and AIX platforms.
To share the file system use the UNIX specific share or exportfs commands.
B) Share from the server machine the Integral Volume set on Linux and HP-UX platforms.
For these platforms by default, the file system is already shared, to change this option use the -U {local|share} option in vlcrset
or vleditset command. This option specifies whether an Integral Volume set can only be accessed from the local server or
shared on the network.
A) Mount from the client machine the Integral Volume set shared from Solaris and AIX platforms.
To mount the file system from a client machine the UNIX specific platform mount command is used.
B) Mount from the client machine the Integral Volume set shared from Linux and HP-UX platforms.
To mount the file system from a client machine the UNIX specific platform mount command is used specifying the port number
as 5005 and the QStar Export root directory.
QStar creates a special file called “conf” under the /opt/QStar/vl/files directory. The conf file keeps all the configuration
information used by the QStar Software.
Below is the field of the conf file regarding QStar Export Root directory:
# VL Configuration File
……………
Exportfs Root Dir = "/opt/QStar/fsi/mnt"
……………
In this field is displayed the default location of the export root directory that will be used by QStar Software as a mount point for
the nfs mounting of a QStar Integral Volume set from a client machine on a Linux and HP-UX Operating Systems.
Page 18 of 32
The mount point name can be changed as required by the System Administrator, who must be sure that the specified root
directory location is created. In this directory will appear a sub directory named as the Integral Volume set for every Integral
Volume set mounted. This mount point can be automatically or manually exported in the “/etc/exports” file.
Once the Integral Volume set is mounted on the local server, depending of the Operating System settings the directory can be
automatically exported by QStar Software only for of the local server only.
The check which file systems are exported, the UNIX exportfs command can be used.
Example:
#>exportfs
/opt/QStar/fsi/mnt/Test
server_1.qstar.com
Note: The Integral Volume set Test is automatically exported for local access only.
If no entrees are displayed by the exportfs command, the System Administrator can display which file systems are available for
remote mount and the correct mount point that should be used on the “/etc/ exportfs” file using the fsi_lsset command.
Example:
# >fsi_lsset
Set name Type Set Id Flags Port Cache root Exportfs
Test cd 1067868030 Ro 5005 /cache/Test /opt/QStar/fsi/mnt/Test
Finally edit the “/etc/exports” file to include the QStar Integral Volume set.
The following is an example from server called server_1, with Integral Volume set named Test:
Example 1:
# vi /etc/exports
/opt/QStar/fsi/mnt/Test
server_1.qstar.com
The following is an example from server called server_2, with Integral Volume set named Test:
Example 2:
# vi /etc/exports
/opt/QStar/fsi/mnt/Test
server_2.qstar.com(rw)
The following is an example from any server on the qstar.com domain, with Integral Volume set named Test:
Example 3:
# vi /etc/exports
/opt/QStar/fsi/mnt/Test
*.qstar.com(rw)
Note: In the above examples, either each individual client can be specified, or a wildcard (*) can be used for multiple clients.
See man pages for exports for available options.
Page 19 of 32
The file system can be exported running the following command:
#>exportfs -a
//exports all directories in “/etc/exports” file, check the man pages on exportfs for more options.
To mount the Integral volume set Test from the client machine using /mnt as local mount, enter:
Note: The new path created by QStar is the mount point "/opt/QStar/fsi/mnt/set_name" NOT the set_name or physical mount
point of the Integral Volume set.
To unmount the Integral Volume set the umount or umountiv commands are used.
The QStar umountiv command finds the mount_point for the Integral Volume set specified by the set_name argument. It then
detaches the mount_point from the Integral Volume set. If the mount_point and the Integral Volume set are located on the
same host, umountiv closes the Integral Volume set (making the integral volume unavailable to all clients).
The UNIX umount command unmounts the Integral Volume set specifying with the argument of either the mount_point or the
set_name. The umount command is only available for the Solaris and AIX platforms.
The main difference between umount and the umountiv commands are that the umountiv command does not require root
privileges to be run and any users that have been added to the priv.users file can run the umountiv. For more detailed
information, please refer to Chapter 3 - Installing and Configuring QStar Software in this manual.
1) To unmount the Integral Volume set Test on the /mnt directory, enter:
#>umount /mnt
2) To unmount the Integral Volume set Test on the /mnt directory, enter:
#>umount Test
3) To unmount the Integral Volume set Test on the /mnt directory, enter:
#>umountiv /mnt
4) To unmount the Integral Volume set Test on the /mnt directory, enter:
#>umountiv Test
Page 20 of 32
Note: The System Administrator may use either the umountiv or the umount command to unmount an Integral Volume set for
these platforms.
B) Unmount the Integral Volume set Test on Linux and HP-UX platforms.
1) To unmount the Integral Volume set Test on the /mnt directory, enter:
#>umountiv Test
2) To unmount the Integral Volume set Test on the /mnt directory, enter:
#>umountiv /mnt
Note: To ensure that the Integral Volume set will be completely unmounted, QStar does not recommend using the umount
command on these platforms. The umount command will unmount the Integral Volume set locally only but will not remove
access from the network because the Integral Volume set will remain Published. At this point the System Administrator may
unmount the Integral Volume set from the network also, by running the unmountiv command or may restore the Integral
Volume set locally by running the mountiv command.
The Integral Volume set can be mounted on different dates using the mountiv command.
Note: Please refer to the mountiv command in Chapter 9 – Command Reference for more details.
The following options are used for the Dated Mount procedure.
-c cache_root
The -c option specifies where the temporary cache is located for the Dated Mount, for each required Dated Mount, a new cache
location will be required. Once the Dated Mount is no longer required, the System Administrator can delete the contents of this
directory if required.
-t {[mmdd]HHMM|[cc]yymmddHHMM}]
The -t option specifies the date and time for the Dated Mount, several Dated Mounts can be used simultaneously on different
dates and times. The Dated Mount can be specified in Year, Month, Day, Hours and Minutes.
1) To mount the Integral Volume set Test for a Dated Mount of 12:00 1st January 2002 on the /mnt directory and a cache root
of /temp_cache, enter:
Page 21 of 32
ARCHIVING NOTIFICATION
The QStar Software includes a feature to inform the System Administrator when archiving starts and stops. To enable this
logging feature, create the mcfs_archiving_log_on file in /opt/QStar/log directory. Once this file is created all the archiving
start/stop information will be logged into the QStar /opt/QStar/log/syslog file.
Page 22 of 32
DISPLAYING AND MONITORING CACHE
INFORMATION
The mmparam command is used to display, modify and monitor cache information. To display the cache use the mmparam
command with no options, this will display the current status of the cache. To modify the cache use the mmparam command
with the flags and switches to alter the high_primary_capacity or the low_primary_capacity. To monitor the cache during
archiving use the mmparam command repeatedly to view the current state of the on going archive.
Using the mmparam command without any switches will display the following information.
Note: QStar recommends reviewing the explanation for the mmparam command in Chapter 9 - Command Reference of this
manual, while reading this section.
#>mmparam /mnt
Note: On the Linux and HP-UX platforms instead of “Mount point” the “Share name” will be displayed.
Page 23 of 32
Information Displayed for the ISO 9660 or UDF File System
To display the cache parameters for an Integral Volume set named Test, enter:
#>mmparam /mnt
Note: On the Linux and HP-UX platforms instead of “Mount point” the “Share name” will be displayed.
Page 24 of 32
The main parameters are described as follows:
Page 25 of 32
Medium drive type: ERASABLE Type of current writing medium of the Integral
Volume set
For SDF only
Writing to partition:jb:1a (SDF) Device name of the current write surface
Last write on: /opt/QStar/dev/jb/rjb1a (UDF)
Number of partitions: 2 Total number of “partitions” (sides of double-sided media
or individual tapes) allocated to the sdf set
This may grow when the Volume Librarian adds new
volumes to the Integral Volume set
For SDF only
Max.number of opened partitions: 8 Maximum number of partitions that the sdf_migrator may
keep open at one time, the default is 8. This is
meaningless for sdf on MO/WORM disks, but should not
be more than the actual number of drives in a jukebox
when tapes are used (jbscheduler can not unload a tape
from a drive if the tape is open). This number instructs
the sdf_migrator to close one of the partitions when it
wants to open another and shows the number of currently
open partitions that exceeds this max limit.
For SDF only
Max. buffer size: 15488 Display the buffer size of the drives with a write buffer.
For SDF only
Free space on current partition: 3.0 GB Displays the space available on the current media/surface.
For SDF only
Compression: off This flag displays if compression is used on the tape
drive; for optical media it is Off
For SDF only
Page 26 of 32
MANAGING THE CACHE PARAMETERS
The QStar Software includes several commands that allow the System Administrator to tune the cache parameters to achieve the
best performance and optimal setting for his environment.
A description for each command is made in order to explain how and when the following commands should be used. QStar
recommends reviewing the explanation of the following commands in Chapter 9 - Command Reference of this manual, while
reading this section.
A) The mmls command is used to display the status of the files in the cache and check the attributes for files and directories.
The mmls command prints the cache information on the files specified by the filename argument. If the files are not specified
the current directory is used. If a file has a zero size and has not been created in the covered file system, its migration status is
“Non-covered”. A page that is present in the cache can be primary, replicated, or archived. The mmls command does not copy
the directories it lists into the cache, if the files are not present the mmls command displays the directory as empty. The mmls
command does not communicate with the cache server (even when the system is mounted) and reads the data directly from the
cache files. If the system is mounted and the server uses a log facility for writing into the cache files, the mmls output may not
be up-to-date or accurate.
To display the status of the files in the cache for an Integral Volume set named Test mounted on /mnt, enter:
#>mmls -R /mnt
Directory -f-k /
Directory -f-k SVN
Regular Out-of-cache -f-k qstar-471-5.tar.bz2
Regular Archived -f-k winapps-357-5.tar.bz2
Regular Archived -f-k winapps-357-4.tar.bz2
Regular Archived -f-k winapps-357-3.tar.bz2
Regular Archived -f-k winapps-357-2.tar.bz2
Regular Out-of-cache -f-k winapps-208.tar.bz2
Regular Out-of-cache -f-k winapps-221.tar.bz2
Regular Out-of-cache -f-k qstar-464.tar.bz2
Regular Out-of-cache -f-k qstar-472.tar.bz2
Regular Out-of-cache -f-k qstar-465.tar.bz2
Regular Archived -f-k winapps-317-4.tar.bz2
To display detailed information of the files in the cache for an Integral Volume set named Test mounted on /mnt, enter:
Page 27 of 32
To display detailed information including online/offline status of the files in the cache for an Integral Volume set named Test
mounted on /mnt, enter:
B) The mmchmod command is used to change the migration attributes of specified cache files. This command is useful if the
System Administrator does not want to archive some files to the archival media but wants to keep them in the cache.
mmchmod [-R] [-p file_pattern] [-t {file|dir}][-u user_name] [-U uid] [-g group_name] [-G gid][-m mode]
[{+|-}{fk}] ... filename ...
C) The mmsubtree command removes or adds a subtree within the cache. This command is useful for rebuilding one part of
the directory subtree tree information stored in the cache database without rebuilding the whole directory structure within
the cache.
mmsubtree -a path/new_subdir_name
mmsubtree -a [hostname:]setname/path/new_subdir_name
mmsubtree -r {tree|data|kill} path
mmsubtree -r {tree|data|kill} [hostname:]setname/path
mmsubtree -c {tree|data} path
mmsubtree -c {tree|data} [hostname:]setname/path
Note: The mmsubtree -c data path command is used for Prefetching files. Once the mmsubtree command has started access to
the cache will be denied until the mmsubtree command has finished.
Page 28 of 32
D) The mmparam command is used to change the High and Low Water Mark Level of the cache in order to tune the cache to
allow more reads than write requests or vice versa.
E) The vlinset command depending on the file system being used allows editing the offline location, adding or removing a
media from the covered file system, copying the information from the media into the cache, locking the data related to a
media into the cache, removing related information for the media from the cache (tree, data, media or all), specifying the
subdirectory name where the media will be mounted and specifying the filename format.
set_type set_type_specific_options:
sdf
udf [-R device_name:shelf_number]
Note: The vlinset command is used primarily with CD/DVD-ROM Integral Volume sets to implement Full Directory Caching of
the contents of a selected CD/DVD-ROM media. Caching the directory structures of a selected CD/DVD-ROM into the cache
increases the read performance by eliminating the need to repeatedly access the jukebox and allows removal of the media from
the jukebox by keeping the contents of the CD/DVD-ROM online in the cache.
Page 29 of 32
ERROR HANDLING AND RECOVERY FOR ALL FILE
SYSTEMS
The archive component of an Integral Volume set is typically a mass storage device such as a Tape, Optical, DVD or CD
jukebox connected either to the local computer or to another computer on the network. These mass storage devices, as well as
the network, can have hardware faults, which cause an error to be produced during archiving. The Migration Server protects the
integrity of the Integral Volume set, and its data, by maintaining the currently processed delayed event in the queue until the
Migrator has notified it of successful completion.
The status of the cache can be monitored using the mmparam command and if an error occurs, the “Error Condition” line of
this command will display the following message:
Error condition: COVERED ERROR
At this point, the System Administrator can fix the problem with the archive and resume normal processing by clearing the error
condition of the Integral Volume set using the following command:
Note: This command can be used in conjunction with two different flags, “–e” and “–n”. Never use these flags without
contacting QStar Technical Support Personnel first. For more detailed information on the mmresume command, please refer
to Chapter 9 - Command Reference in this manual.
Note1: If a DVD jukeboxes is used once the covered error is cleared using the mmresume command, QStar highly recommends
checking to see if the media type information of the current write surface is still reported correctly in the jbstatus output . If the
media type information is suspicious or is not displayed correctly the System Administrator must clear the media type
information and refresh it. To achieve this follow the procedure explained in the Example of Recovery for Unknown Shelf
Type Information session on Chapter 8.
If necessary, the Integral Volume set may be unmounted and the system halted to repair the problem with the archive prior to
issuing the mmresume command. During this entire process, the maximum level of availability to data is maintained while at
the same time protecting the Integral Volume set from data loss or corruption.
Page 30 of 32
POWER FAILURE, SYSTEM CRASH OR REBOOTING
WITHOUT UNMOUNTING
In the event of a system crash due to power failure or other cause, the Integral Volume sets will not be cleanly unmounted.
Some steps will be taken care of automatically, but the System Administrator must ensure other steps are carried out to bring the
Integral Volume sets back online. The set database will be initialized on startup by _vlserver and any media left in drives will be
returned to their shelves when the jbscheduler starts. The first time the Integral Volume sets are mounted after the sever was
rebooted the QStar Software will perform a consistency check between the cache file system and the cache log file (called
Transaction Logging Cache), this action is completely transparent to the users.
1) Check the consistency of the disk partition containing the QStar cache using the UNIX fsck command:
2) Remount the sets using the mountiv command. Some sets may take longer to mount, as the QStar Software may need to
carry out further recovery procedures or consistency checks.
3) After the set is mounted, try to access a file. If an I/O error is received it means that the db_files (sdf_db or udf_db files)
present in the cache partition are corrupted.
To rebuild these index_files, umount the sets and run the following commands:
vlrestore_fsdb [-H host_name] set_name For SDF and UDF file system.
For SDF file system, specify the SDF volume number (starting from 1) which must be used for restoring SDF database.
Without this option (or if volume number is equal to 0) the SDF database will be restored from the last surface in the
set. The database will be restored from specified volume and SDF events will be replayed from that medium. The
saved database on the next volume will not be used to restore data base. Rather the data portion of the SDF volume will
be scanned and events replayed. This process continues until last medium (surface) in the set is scanned. The mirrored
SDF volume set restore with this option is not supported.
For UDF file system with Spanning Interchange Level. Specify the span number of the surface which must be used for
restoring a spanning database. Without this option the database will be restored from the last surface in the set. If this
number is "+", a spanning database will be incrementally built (data from volumes not represented in the existing
database will be added to it).
Once the vlrestore_fsdb command has completed remount the Integral Volume sets.
Note: This command will require a long time to restore all the db_files. For more detailed information on the vlrestore_fsdb
command, please refer to Chapter 9 - Command Reference in this manual.
Page 31 of 32
Transaction Logging Cache
The QStar Software checks and repairs any file system inconsistencies in the cache automatically at the next mount. In the case
of a disk crash, the cache may need to be rebuilt; however, do this only if absolutely necessary.
Before mounting the Integral Volume set, the QStar Software activates the Transaction Logging feature that performs a
consistency check between the cache file system and the log file. The consistency check is completely transparent to the users
and the QStar Software keeps the results of in /opt/QStar/log/syslog file.
Example - If there is not an inconsistency between the file system and the log file, the /opt/QStar/log/syslog file will contain the
following lines:
qs_open_tlog: log file not empty, replaying...
qs_open_tlog: log file replayed successfully.
/export/home/cache_Test: File system is mountable
Note: If file names are displayed during this check, the listed files should be examined to see if they are corrupted.
Page 32 of 32
QStar Software allows the creation of different types of media configurations, depending which file system is used. A
combination of any of the types of media configuration can co-exist within the same jukebox. This allows the user to tailor the
media sets within the jukebox to their own requirements. There follows a detailed description on how to create and manage each
of the types of media configuration.
Page 1 of 88
Starting the CD/DVD-R Delayed Write Procedure ......................................................... 56
Delayed Write Procedure Using the Any Shelf Option .............................................. 56
Delayed Write Procedure Using a Specified Shelf ..................................................... 57
Delayed Write Procedure Using the Any Option and Multiple Copy....................... 58
Information Displayed During the Delayed Write Procedure .................................. 59
Displaying the Delayed Jobs Status in the Delayed Jobs Queue List.................... 60
Displaying the Delayed Jobs Status for a Single Copy............................................. 61
Displaying the Delayed Jobs Status for a Multiple Copy.......................................... 62
Displaying the Delayed Jobs Status in Long Format................................................. 64
Moving Delayed Jobs from the Delayed Jobs List...................................................... 66
Deleting Delayed Jobs from the Delayed Jobs List.................................................... 67
Burn Test Procedure Before Starting the Write Operation .......................................... 68
Laser OFF Burn Test......................................................................................................... 68
Write OFF Burn Test......................................................................................................... 70
ERROR CONDITIONS DURING RECORDING........................................................................ 72
MANAGING QSTAR CD/DVD MASTER SOFTWARE FOR UDF FILE SYSTEM WRITTEN
WITH PACKET WRITING .......................................................................................................... 73
MANAGING AN INTEGRAL VOLUME (I.V.) SET................................................................... 73
Design Considerations for Integral Volume Set ............................................................. 73
Overview of Creating an Integral Volume Set................................................................ 74
INTEGRAL VOLUME SET CONFIGURATION FOR A CD/DVD-R JUKEBOX OR
STANDALONE DRIVE WITH AUTOMOUNT AND SINGLE-VOLUME INTERCHANGE
LEVELS .................................................................................................................................... 75
INTEGRAL VOLUME SET CONFIGURATION FOR CD/DVD-R JUKEBOX WITH
SPANNING INTERCHANGE LEVEL AND PACKET WRITING........................................... 82
RECOVERING A DAMAGED CD/DVD-R MEDIA WRITTEN WITH UDF SPANNING
INTERCHANGE LEVEL AND PACKET WRITING USING THE BACKUP IMAGE ........ 88
Page 2 of 88
INTEGRAL VOLUME SET CONFIGURATION
All of the combined storage media that QStar Software manages in a set is referred to as an Integral Volume (I.V.) set. An
Integral Volume set is the sum total of all of the items in the storage hierarchy. The Integral Volume set configuration allows a
single piece, or a selected group of media to be bound together as a seamless file system. The Integral Volume set consists of
sequenced surfaces of the physical archival media. Further sequences (media), can be added manually, or dynamically as
required. As the Integral Volume set grows, sequences can be removed from the jukebox to an offline location, to free up shelf
space for new media to be added to the jukebox, utilizing the QStar offline Volume Management within the Volume Librarian
(V.L.). The data still appears online and media is requested to be inserted into the jukebox if needed. By viewing the archival
media as groups, or Integral Volume sets, rather than single, autonomous units, QStar Software lets you access large amounts of
stored data without having to track their location. To users, the QStar Integral Volume set seems like a standard magnetic disk
with unlimited storage capacity. It is completely compatible with existing applications and network shares mapped by the
System Administrator. Integral Volume sets can also be completely offline, such as volumes that contain infrequently accessed
data. QStar Software manages all of the media in the Integral Volume set as a single unit and knows the location of all of the
files and media (including those that are offline) at all times. Like a standard magnetic disk, an Integral Volume set has a
hierarchical directory structure, and it can be navigated by using normal system commands. The difference is that at any point in
time, a file on an Integral Volume set can actually reside on different types of storage media. For example, the entire file can be
on magnetic disk only or on removable media only; the entire file can be on removable media with a copy on magnetic disk; or
part of the file can be on magnetic disk, while the entire file is on removable media. As depicted in a tree hierarchy, the files
controlled by QStar are composed of independent data segments. The data segments that make up the file are migrated
according to user access patterns. A copy of directory trees and file attributes always resides on the magnetic disk. This allows
faster file query, file open, and directory listing operations without losing performance. In addition, a copy of this directory and
file information is maintained on archival media, using the QStar volume format feature, to prevent catastrophic loss in case of
total magnetic disk failure. In a properly configured QStar Software Integral Volume set, files are always first written to and
read from the magnetic disk; namely, users normally access the faster magnetic medium directly, rather than the slower archival
media. As the magnetic disk fills up, the least recently used data is moved to the archival media, where it can be easily retrieved
later, if needed. The magnetic disk portion of the Integral Volume set should be large enough to accommodate general usage,
based on the average file size and the average number of users who simultaneously access the Integral Volume set.
• Ease of administration: you can export a single file system rather than cope with multiple file systems.
• Ease of handling: large data files that require more than one surface are easily accommodated.
• Information security: media sets can be organized and controlled by the type of information stored in them (e.g.,
accounting, personnel, engineering), to which you can assign different levels of access security.
• Transportability: complete Integral Volume sets can be exported from a jukebox and then imported into another
jukebox.
• Duplication: you can make fast copies of the Integral Volume sets. This feature enables you to create baseline copies
of critical sets and then store these media volumes offline for disaster recovery.
• Dynamic Media Allocation means that media is added to each Integral Volume set as required, the jukebox can have
several Integral Volume sets, then a pool of blank media, as each Integral Volume set requires more media, it will be
dynamically added to the set, providing the set quota has not been reached.
• Offline Volume Tracking, if the reaches capacity, less frequently accessed media can be exported from the , but the
data stil appears online to the users.
Page 3 of 88
• QStar controls the Integral Volume sets according to each user’s needs. Some users may want to have one very large
Integral Volume set, while others may prefer to departmentalize their data into several sets. You have complete control
over the data, including who may access it, how, and when. You can configure Integral Volume sets to match your
needs in any combination of the following:
• A Single Integral Volume set per jukebox, or across all jukeboxes, or across the entire media library (online, near-
line or offline). Single Integral Volume sets give you greater ease of administration, handling, and transportability, and
lets you set common controls for entire sets.
• Multiple Integral Volume sets per jukebox, or across all jukeboxes, or across the entire media library (online, near-
line or offline). Multiple sets facilitate offline storage and transportability. They also let you conveniently segregate
data by type and set as many levels of security as required.
Page 4 of 88
MANAGING QSTAR HSM PRODUCT WITH SDF FILE
SYSTEM
In this section Optical (MO/UDO/PDD), DVD-RAM, Blu-ray and Tape media will be configured as an Integral Volume set
with the SDF file system. To easily understand how to configure an Integral Volume set a simple walk through will be presented
that will be suitable for every type of jukebox and standalone drive that QStar Software supports.
Page 5 of 88
MANAGING AN INTEGRAL VOLUME (I.V.) SET
Design Considerations for Integral Volume Set
The Standard Data Format (SDF) file system can be used with jukeboxes and standalone drives that support WORM or
rewritable Optical (MO/UDO/PDD) media, Blu-ray, DVD-RAM and Tape media.
The SDF file system used with a jukebox allows the use of multiple media to be created as a single seamless file system with a
magnetic cache, used with a standalone drive allows the use of a single surface media to be created as a single seamless file
system with a magnetic cache.
Page 6 of 88
INTEGRAL VOLUME SET CONFIGURATION FOR A
JUKEBOX OR STANDALONE DRIVE
Note: All the default parameters are used, for more detailed information, please refer to Chapter 5 - The Volume Librarian or
Chapter 9 - Command Reference in this manual.
1) To determine the jukebox shelf and media information in reference to the Volume Librarian, enter:
vllsdev device_name
Example - To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
----------------------------------------------------------------------------
1: empty Note: The shelf 1 is empty.
2: empty
3: empty
4: empty
5: empty
6: empty
7: empty
8: empty
9: empty
10: empty
11: empty
12: empty
13: empty
14: empty
15: empty
16: empty
Example - to import the media to shelf 1 of the jukebox identified as jb, enter:
#>vlimport jb 1
jb:refreshing shelf 1 ...
Page 7 of 88
Note: If a standalone drive is used manually load the media into the drive and then refresh the status of the media.
vlrefresh device_name
Example - to refresh the media in the standalone drive identified as jb, enter:
#>vlrefresh jb
3) To import additional media, repeat the above steps with the appropriate shelf number.
4) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
----------------------------------------------------------------------------
1a: unknown 2.4 GB Rewritable Note: This message appears if the media is rewritable and new.
1b: unknown 2.4 GB Rewritable
2: empty
3: empty
4: empty
5: empty
6: empty
7: empty
8: empty
9: empty
10: empty
11: empty
12: empty
13: empty
14: empty
15: empty
16: empty
Note: For Tape and single sided media only Shelf 1a information will be displayed and the Type column will display Tape for
Tape media, DVD-RAM for DVD-RAM media and BD-RS or BD-RE for Blu-ray media.
Page 8 of 88
6) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
----------------------------------------------------------------------------
1a: erased 2.4 GB Rewritable Note: The status in the VL database now displays erased.
1b: erased 2.4 GB Rewritable Note1: The status in the VL database for new WORM media is blank.
2: empty
3: empty
4: empty
5: empty
6: empty
7: empty
8: empty
9: empty
10: empty
11: empty
12: empty
13: empty
14: empty
15: empty
16: empty
Example-A - create a new Integral Volume set definition named Test for rewritable Optical media with an SDF file system,
enter:
Example-B - create a new Integral Volume set definition named Test for WORM Optical media with an SDF file system, enter:
Example-C - create a new Integral Volume set definition named Test for DVD-RAM media with an SDF file system, enter:
Example-D - create a new Integral Volume set definition named Test for Blu-ray BD-RE rewritable media with an SDF file
system, enter:
Page 9 of 88
Example-E - create a new Integral Volume set definition named Test for Blu-ray BD-RS WORM media with an SDF file
system, enter:
Example-A - create a new Integral Volume set definition named Test for tape media with an SDF file system and compression
option enabled, enter:
Example-B - create a new Integral Volume set definition named Test for tape media with an SDF file system and compression
option as default, enter:
Example-C - create a new Integral Volume set definition named Test for tape media with an SDF file system and compression
option disabled, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: The Integral Volume set is empty because no media (Media=0) is associated with it.
Test
Use_media=disk,writable Spread=no Quota=2048 Media=0
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
Set_Id=
No Cache
Note: The Use_Media information will display disk, writable or disk, worm for Optical media, tape, writable for Tape media,
bd,writable for Blu-ray BD-RE media, bd,worm,rdonly for Blu-ray BD-RS Media, and dvd, writable for DVD-RAM media.
For Tape media the additional information about compression will be displayed by default the comprssion is displayed as
Compression=On.
Example - to add the media on shelf 1 to the Integral Volume set Test, enter:
#>vladdtoset Test jb 1
jb:initializing side a ...
Note: If the media added to the Integral Volume set was media that has already been initialized with one of the QStar file
systems, then all the media present in the jukebox with the same Set_Id will be added to the Integral Volume set automatically. If
in the future a media with the same Set_Id is imported into the jukebox it will be added to the Integral Volume set automatically.
Page 10 of 88
10) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now one media is associated with the Integral Volume set Test that has the Set_Id.
Test
Use_media=disk,writable Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
Set_Id=c25b016a.3453d0e4
No Cache
0: Online=jb:1 Sequence_numbers=0,1
11) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
----------------------------------------------------------------------------
1a: sdf 2.4 GB Rewritable Seq=0 SetId=c25b016a.3453d0e4
1b: sdf 2.4 GB Rewritable Seq=1 SetId=c25b016a.3453d0e4
2: empty
3: empty
4: empty
5: empty
6: empty
7: empty
8: empty
9: empty
10: empty
11: empty
12: empty
13: empty
14: empty
15: empty
16: empty
12) To create the cache for the Integral Volume set, enter:
Example - to create a cache with 100 MB and cache located on /Cache_Test for the Integral Volume set Test, enter:
Page 11 of 88
13) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now the cache is associated with the Integral Volume set Test.
Test
Use_media=disk,writable Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
Set_Id=c25b016a.3453d0e4
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
0: Online=jb:1 Sequence_numbers=0,1
mkdir directory_name
#>mkdir /mnt
15) To mount the Integral Volume set with a new cache, enter:
Example - to mount the Integral Volume set Test on the mount point /mnt, enter:
Note: The “-n” option is used only with the first mount, on subsequent mounts, do not use the “-n” option in the mountiv
command syntax.
Note1: When using Tape media the number of Integral Volume sets that can be mounted at one time is limited by the
number of drives available in the jukebox.
16) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now the Integral Volume set Test is mounted.
Test
Use_media=disk,writable Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
Set_Id=c25b016a.3453d0e4
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_numbers=0,1 Mounted=a
Page 12 of 88
17) To monitor the Integral Volume set, enter:
#>df -k /mnt
Example - to monitor the cache status of the Integral Volume set Test, enter:
#>mmparam /mnt
#>mmparam Test
19) To start archiving files from the cache to the archival media, enter:
mmarc [-H host_name] {-l | -e | -a age | -s} [-w][-j {delayed_job_name | "default"}] [-S cron_like_schedule]
{set_name | filename}
Example - to start archiving files from the cache of the Integral Volume set Test, enter:
#>mmarc -e /mnt
#>mmarc -e Test
umount /mount_point
umountiv set_name
Example - to unmount the Integral Volume set Test on the mount point /mnt, enter:
#>umount /mnt
Note: QStar does not recommend using the umount command for Linux or HP-UX platforms; this ensures the Integral Volume
set is completely unmounted. Please refer to Chapter 6 - Migration Manager in this manual for more detailed information.
#>vlexport jb 1
Page 13 of 88
MANAGING QSTAR HSM PRODUCT WITH THE UDF
FILE SYSTEM
In this section Optical (MO/UDO/PDD), DVD-RAM and Blu-ray media will be configured as an Integral Volume set with the
UDF or ISO 9660 file systems. To easily understand how to configure an Integral Volume set, a simple walk through will be
presented that will be suitable for every type of jukebox and standalone drive that QStar Software supports.
Page 14 of 88
MANAGING AN INTEGRAL VOLUME (I.V.) SET
The Interchange Level defines how many volumes are in the Integral Volume set. The UDF file system allows three Interchange
Level configurations:
Note: The Integral Volume set configuration for CD/DVD with UDF and ISO 9660 file systems are explained in the Master
product section.
Page 15 of 88
Overview of Creating an Integral Volume Set
The following is a summary of the steps performed to create, mount and monitor an Integral Volume set using the QStar
commands. Detailed information follows in subsequent topics.
Page 16 of 88
INTEGRAL VOLUME SET CONFIGURATION
FOR A JUKEBOX OR STANDALONE DRIVE WITH AUTOMOUNT AND
SINGLE-VOLUME INTERCHANGE LEVELS
Note: All the default parameters are used, for more detailed information, please refer to Chapter 5 - The Volume Librarian or
Chapter 9 - Command Reference in this manual.
To create a UDF Automount or Single-Volume Integral Volume set, follow the directions below.
1) To determine the jukebox shelf and media information in reference to the Volume Librarian, enter:
vllsdev device_name
Example - To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1-1: empty Note: The shelf 1 is empty.
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
11-1: empty
12-1: empty
13-1: empty
14-1: empty
15-1: empty
16-2: empty
Example - to import the media to shelf 1 of the jukebox identified as jb, enter:
#>vlimport jb 1
jb:refreshing shelf 1 ...
Page 17 of 88
Note: If a standalone drive is used manually, load the media into the drive and then refresh the status of the media.
vlrefresh device_name
Example - to refresh the media in the standalone drive identified as jb, enter:
#>vlrefresh jb
3) To import additional media, repeat the above steps with the appropriate shelf number.
4) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1a-1: unknown 4.3 GB DVD-RAM Note: This message appears if the media is rewritable and new.
1b-1: unknown 4.3 GB DVD-RAM
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
11-1: empty
12-1: empty
13-1: empty
14-1: empty
15-1: empty
16-2: empty
Note: For single sided media only Shelf 1a information will be displayed and the Type column will display Rewritable or
Worm for Optical media, DVD-RAM for DVD-RAM media and BD-RS or BD-RE for Blu-ray media.
Example - to erase the media in shelf 1 of the jukebox identified as jb, enter:
#>vlerase jb 1
Page 18 of 88
6) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1a-1: erased 4.3 GB DVD-RAM Note: The status in the VL database now displays erased.
1b-1: erased 4.3 GB DVD-RAM Note1: The status in the VL database for new WORM media is blank.
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
11-1: empty
12-1: empty
13-1: empty
14-1: empty
15-1: empty
16-2: empty
Example-A - create a new Integral Volume set definition named Test for rewiteable Optical media with a UDF file system and
single-volume interchange level, enter:
Example-B - create a new Integral Volume set definition named Test for WORM Optical media with a UDF file system and
single- volume interchange level, enter:
Example-C- create a new Integral Volume set definition named Test for DVD-RAM media with a UDF file system and single-
volume interchange level, enter:
Example-D - create a new Integral Volume set definition named Test for Blu-ray BD-RE rewritable media with a UDF file
system and single-volume interchange level, enter:
Page 19 of 88
Example-E - create a new Integral Volume set definition named Test for Blu-ray BD-RS WORM media with a UDF file system
and single-volume interchange level, enter:
Example-F - create a new Integral Volume set definition named Test for rewiteable Optical media with a UDF file system and
automount interchange level, enter:
Example-G - create a new Integral Volume set definition named Test for WORM Optical media with a UDF file system and
automount interchange level, enter:
Example-H- create a new Integral Volume set definition named Test for DVD-RAM media with a UDF file system and
automount interchange level, enter:
Example-I - create a new Integral Volume set definition named Test for Blu-ray BD-RE rewritable media with a UDF file
system and automount interchange level, enter:
Example-L - create a new Integral Volume set definition named Test for Blu-ray BD-RS WORM media with a UDF file system
and automount interchange level, enter:
Note: For more detailed information of the UDF specific options, please refer to “Creating an Integral Volume Set with UDF
or ISO 9660 File System” session on Chapter 5 - The Volume librarian in this manual.
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: The Integral Volume set is empty because no media (Media=0) is associated with it.
Test
Use_media=dvd,writable Spread=no Quota=1 Media=0
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=single-volume
Packet_writing_init=no Space_calculation=yes Verify_write=no
No cache
Page 20 of 88
Automount Interchange Level output:
Test
Use_media=dvd,writable Spread=no Quota=2048 Media=0
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
No cache
Note: The difference between the two above outputs are in the Interchange Level type and in the Quota number.
Note1: The Use_Media information will display disk, writable or disk, worm for Optical media, bd,writable for Blu-ray BD-
RE media, bd,worm,rdonly for Blu-ray BD-RS media, and dvd, writable for DVD-RAM media.
Example - to add the media on shelf 1 to the Integral Volume set Test, enter:
#>vladdtoset Test jb 1
jb:initializing side a ...
Note: If dual sided media was used with the single-volume configuration, then the A side of the media is initialized with a UDF
file system and the B side will not change its status. Adding this media under automount control will include the file system on
the A side and automatically the B side will also be initialized and added under the automount control.
10) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now one media is associated with the Integral Volume set Test.
Test
Use_media=dvd,writable Spread=no Quota=1 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_3c0ec380
UDF_revision=150 Interchange_level=single-volume
Packet_writing_init=no Space_calculation=yes Verify_write=no
No cache
0: Online=jb:1 Sequence_number=1
Page 21 of 88
Automount Interchange Level output:
Test
Use_media=dvd,writable Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
No cache
0: Online=jb:1 Automount_sequence_numbers=0,1
Note: In the automounter configuration the Logical_volume_identifier is equal to NA (Not Available) and instead the
Automount_Sequence_number is displayed. When a media is added to the Integral Volume set, every surface will be initialized
wih a unique Set_id number (Logical Volume Identifier). By default, this unique Set_id number is equal to “q_number”. The
Automount_Sequence_numbers represent the sequence number of the surfaces in the root directory of the file system once it is
mounted. All sub-directories (surfaces) in the root directory will be labeled by default as vol_Automount_Sequence_number
(i.e. vol_0, vol_1, vol_#) if the Set_id number is one that is assigned by default by QStar Software, if not, theVolume Label will
be used as the sub-directories name. With the vladdtoset command it is possible to specify the Logical Volume Identifier using
the -A -B options. If the media is blank/erased the specified Logical Volume Identifier will be written to the surface as a unique
surface_id number and used as the directory name that identifies the surfaces under the Automount mount point. If the Media
already has the Logical Volume Identifier (initialized) the -A and -B option will only change the default vol_0, vol_1 and vol_#
directory names that identified the surfaces under the Automount mount point with the specified name. In this case, the new sub-
directories name will be printed in the set information for each surface.
Note1: In the rest of the walk through only the automout interchange level output will be diplayed.
11) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1a-1: udf-150 4.3 GB DVD-RAM Seq=1 Log_vol_id=q_a0ce5c5e
1b-1: udf-150 4.3 GB DVD-RAM Seq=1 Log_vol_id=q_b0ce5c5e
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
11-1: empty
12-1: empty
13-1: empty
14-1: empty
15-1: empty
16-2: empty
Page 22 of 88
12) To create the cache for an Integral Volume set, enter:
Example - to create a cache with 100 MB and cache located on /Cache_Test for the Integral Volume set Test, enter:
13) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now a cache is associated with the Integral Volume set Test.
Test
Use_media=dvd,writable Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
0: Online=jb:1 Automount_sequence_numbers=0,1
mkdir directory_name
#>mkdir /mnt
15) To mount the Integral Volume set with a new cache, enter:
Example - to mount Integral Volume set Test on the mount point /mnt, enter:
Note: The “-n” option is used only with the first mount, on subsequent mounts, do not use the “-n” option in the mountiv
command syntax.
Page 23 of 88
16) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now the Integral Volume set Test is mounted.
Test
Use_media=dvd,writable Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Automount_sequence_numbers=0,1 Mounted=a,b
#>df -k /mnt
#>df -k /mnt Note: This command will display the total capacity of all the surfaces already accessed
#>udfdf -t /mnt
#>udfdf -f -a 0 /mnt
Note: QStar recommends reviewing the explanation for the udfdf command in Chapter 9 - Command Reference of this manual.
Example - to monitor the cache status of the Integral Volume set Test, enter:
#>mmparam /mnt
#>mmparam Test
19) To start archiving files from the cache to the archival media, enter:
mmarc [-H host_name] {-l | -e | -a age | -s} [-w][-j {delayed_job_name | "default"}] [-S cron_like_schedule]
{set_name | filename}
Page 24 of 88
Example - to start archiving files from the cache of the Integral Volume set Test, enter:
#>mmarc -e /mnt
#>mmarc -e Test
umount /mount_point
umountiv set_name
Example - to unmount the Integral Volume set Test on the mount point /mnt, enter:
#>umount /mnt
Note: QStar does not recommend using the umount command for Linux or HP-UX platforms; this ensures the Integral Volume
set is completely unmounted. Please refer to Chapter 6 - Migration Manager in this manual for more detailed information.
#>vlexport jb1 1
Page 25 of 88
INTEGRAL VOLUME SET CONFIGURATION FOR A
JUKEBOX WITH SPANNING INTERCHANGE LEVEL
Note: All the default parameters are used, for more detailed information, please refer to Chapter 5 - The Volume Librarian or
Chapter 9 - Command Reference in this manual.
To create a UDF Spanning Integral Volume set, follow the directions below.
1) To determine the jukebox shelf and media information in reference to the Volume Librarian, enter:
vllsdev device_name
Example - To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
----------------------------------------------------------------------------
1: empty Note: The shelf 1 is empty.
2: empty
3: empty
4: empty
5: empty
6: empty
7: empty
8: empty
9: empty
10: empty
11: empty
12: empty
13: empty
14: empty
15: empty
16: empty
Example - to import the media to shelf 1 of the jukebox identified as jb, enter:
#>vlimport jb 1
jb:refreshing shelf 1 ...
Page 26 of 88
3) To import additional media, repeat the above steps with the appropriate shelf number.
4) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
----------------------------------------------------------------------------
1a: blank 2.4 GB Worm Note: The status in the VL database for new WORM media is blank.
1b: blank 2.4 GB Worm
2: empty
3: empty
4: empty
5: empty
6: empty
7: empty
8: empty
9: empty
10: empty
11: empty
12: empty
13: empty
14: empty
15: empty
16: empty
Note: For single sided media only Shelf 1a information will be displayed and the Type column will display Rewritable or
Worm for Optical media, DVD-RAM for DVD-RAM media and BD-RS or BD-RE for Blu-ray media.
Example-A - create a new Integral Volume set definition named Test for WORM media with a UDF file system, spanning
interchange level and the close of full volume option enabled, enter:
Example-B - create a new Integral Volume set definition named Test for DVD-RAM media with a UDF file system, spanning
interchange level and the close of full volume option enabled, enter:
Page 27 of 88
Example-C - create a new Integral Volume set definition named Test for Blu-ray BD-RS WORM media with a UDF file
system, spanning interchange level and the close of full volume option enabled, enter:
Note: For more detailed information of the UDF specific options, please refer to “Creating an Integral Volume Set with UDF
or ISO 9660 File System” session on Chapter 5 - The Volume librarian in this manual.
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: The Integral Volume set is empty because no media (Media=0) is associated with it.
Test
Use_media=disk,worm Spread=no Quota=2048 Media=0
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=no Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=no
No cache
Note: The Use_Media information will display disk, writable or disk, worm for Optical media, bd,writable for Blu-ray BD-RE
media, bd,worm,rdonly for Blu-ray BD-RS Media, and dvd, writable for DVD-RAM media.
Example - to add the media on shelf 1 to the Integral Volume set Test, enter:
#>vladdtoset Test jb 1
jb:initializing side a ...
Note: If the media added to the Integral Volume set was media that has already been initialized with one of the QStar file
systems, then all the media present in the jukebox with the same Set_Id will be added to the Integral Volume set automatically. If
in the future a media with the same Set_Id is imported into the jukebox it will be added to the Integral Volume set automatically.
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now one media is associated with the Integral Volume set Test that has the Set_Id.
Test
Use_media=disk,worm Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_a40a36f87
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=no Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=no
No cache
0: Online=jb:1 Span_numbers=1,2
Page 28 of 88
10) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
------------------------------------------------------------------------------
1a: udf-150 2.4 GB Worm Span=1 Log_vol_id=q_a40a36f87-1
1b: udf-150 2.4 GB Worm Span=2 Log_vol_id=q_a40a36f87-2
2: empty
3: empty
4: empty
5: empty
6: empty
7: empty
8: empty
9: empty
10: empty
11: empty
12: empty
13: empty
14: empty
15: empty
16: empty
11) To create the cache for the Integral Volume set, enter:
Example - to create a cache with 100 MB and cache located on /Cache_Test for the Integral Volume set Test, enter:
12) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now the cache is associated with the Integral Volume set Test.
Test
Use_media=disk,worm Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_a40a36f87
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=no Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=no
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
0: Online=jb:1 Span_numbers=1,2
Page 29 of 88
13) To create the mount point directory, enter:
mkdir directory_name
#>mkdir /mnt
14) To mount the Integral Volume set with a new cache, enter:
Example - to mount the Integral Volume set Test on the mount point /mnt, enter:
Note: The “-n” option is used only with the first mount, on subsequent mounts, do not use the “-n” option in the mountiv
command syntax.
15) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now the Integral Volume set Test is mounted.
Test
Use_media=disk,worm Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_a40a36f87
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=no Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=no
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Span_numbers=1,2 Mounted=a,b
#>df -k /mnt
Example - to monitor the cache status of the Integral Volume set Test, enter:
#>mmparam /mnt
#>mmparam Test
Page 30 of 88
18) To start archiving files from the cache to the archival media, enter:
mmarc [-H host_name] {-l | -e | -a age | -s} [-w][-j {delayed_job_name | "default"}] [-S cron_like_schedule]
{set_name | filename}
Example - to start archiving files from the cache of the Integral Volume set Test, enter:
#>mmarc -e /mnt
#>mmarc -e Test
umount /mount_point
umountiv set_name
Example - to unmount the Integral Volume set Test on the mount point /mnt, enter:
#>umount /mnt
Note: QStar does not recommend using the umount command for Linux or HP-UX platforms; this ensures the Integral Volume
set is completely unmounted. Please refer to Chapter 6 - Migration Manager in this manual for more detailed information.
Page 31 of 88
MANAGING QSTAR CD/DVD AXXESS PRODUCT WITH
ISO 9660 AND UDF FILE SYSTEMS
The Universal Disk Format (UDF) file system can be used with CD/DVD-ROM media pre-recorded with UDF file system or
pre-recorded with ISO 9660, Rock Ridge and Microsoft extensions, standard file systems. In this section, to understand how to
configure the CD/DVD-ROM media, a simple walk through will be presented that will support every type of jukebox and
standalone drive that QStar Software supports.
Page 32 of 88
INTEGRAL VOLUME SET CONFIGURATION
FOR A CD/DVD-ROM JUKEBOX OR STANDALONE WITH AUTOMOUNT
AND SINGLE-VOLUME INTERCHANGE LEVELS
Note: All the default parameters are used, for more detailed information, please refer to Chapter 5 - The Volume Librarian or
Chapter 9 - Command Reference in this manual.
To create a UDF Automount or Single-Volume Integral Volume set, follow the directions below.
1) To determine the jukebox shelf and media information in reference to the Volume Librarian, enter:
vllsdev device_name
Example - To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
-------------------------------------------------------------------------------
1-1: empty Note: The shelf 1 is empty.
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
11-2: empty
12-2: empty
13-2: empty
14-2: empty
15-2: empty
16-2: empty
Page 33 of 88
Example - to import the CD/DVD-ROM on shelf 1 of the jukebox identified as jb, enter:
#>vlimport jb 1
jb: refreshing shelf 1 ...
Note: If a standalone drive is used manually load the media into the drive and then refresh the status of the media.
vlrefresh device_name
Example - to refresh the media in the standalone drive identified as jb, enter:
#>vlrefresh jb
3) To import additional CD/DVD-ROM, repeat the above steps with the appropriate shelf number.
4) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
-------------------------------------------------------------------------------------
1a-1: udf-150-F 85 MB CD-ROM Seq=1 Log_vol_id=QStar_Software
2a-1: udf-150-F 700 MB CD-ROM Seq=1 Log_vol_id=Backup_01
3a-1 udf-150-F 700 MB CD-ROM Seq=1 Log_vol_id=Backup_02
4a-1: udf-150-F 150 MB CD-ROM Seq=1 Log_vol_id=windows_manual
5a-1: udf-150-F 3.7 GB DVD-ROM Seq=1 Log_vol_id=unix_manual
6a-1: udf-150-F 650 MB CD-ROM Seq=1 Log_vol_id=Data_01
7a-1: udf-150-F 650 MB CD-ROM Seq=1 Log_vol_id=Data_02
8a-1: 9660-RJ 3.8 GB DVD-ROM Manual_01 3a14c0.8ee56da1
9a-1: 9660-RJ 4.2 GB DVD-ROM Manual_02 3c04c0.8dd75dc0
10a-1: udf-150-F 3.5 GB DVD-ROM Seq=1 Log_vol_id=data2000
10b-1: udf-150-F 4.2 GB DVD-ROM Seq=1 Log_vol_id=data2001
11-2: empty
12-2: empty
13-2: empty
14-2: empty
15-2: empty
16-2: empty
5) To create a new Integral Volume set to contain the CD/DVD-ROM media, enter:
Note: The UDF file system used with the CD/DVD-ROM media is used with the automount interghange level and as a read only
file system. The Readonly flag must be applied to mount the Integral Volume set with QStar CD/DVD Axxess product. If the
flag is not applied, the mount will be denied.
Page 34 of 88
Example-A - create a new Integral Volume set definition named Test for CD/DVD-ROM media with a UDF file system, single-
volume interchange level and the read only option enabled, enter:
Example-B - create a new Integral Volume set definition named Test for CD/DVD-ROM media with a UDF file system,
automount interchange level and the read only option enabled, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated CD/DVD-ROM.
Note1: The Integral Volume set is empty because no CD/DVD-ROM (Media=0) are
associated with it.
Test
Use_media= cd,dvd,worm,rdonly Spread=no Quota=1 Media=0
Restore_fsdb=no Read_only=yes Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=single-volume
Packet_writing_init=no Space_calculation=yes Verify_write=no
No cache
Test
Use_media= cd,dvd,worm,rdonly Spread=no Quota=2048 Media=0
Restore_fsdb=no Read_only=yes Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
No cache
Note: The difference between the two above outputs are in the Interchange Level type and in the Quota number. The
Use_Media information will display bd,worm,rdonly for Blu-ray BD-ROM media.
Note1: In the rest of the walk through only the automout interchange level output will be diplayed.
Example - to add media from shelf 1 to 9 to the Integral Volume set Test, enter:
Note: The media were added to the Integral Volume set without specifying the set type specific option.
Page 35 of 88
Example - to add media on shelf 10 (side a and b) to the Integral Volume set Test with identifier equal to JB10a and JB10b,
enter:
Note: The media on shelf 10 was added using the UDF (valid also for ISO 9660) specific option –A/B [identifier]. This option
specifies the identifier assigned to surface A/B. If the option was specified, the system tries to use it as a root directory name for
the surface. Otherwise, it tries to use the Logical Volume Identifier.
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Ten media are associated to the Integral Volume set Test.
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=10
Restore_fsdb=no Read_only=yes Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
No cache
0: Online=jb:1 Automount_sequence_number=0
1: Online=jb:2 Automount_sequence_number=1
2: Online=jb:3 Automount_sequence_number=2
3: Online=jb:4 Automount_sequence_number=3
4: Online=jb:5 Automount_sequence_number=4
5: Online=jb:6 Automount_sequence_number=5
6: Online=jb:7 Automount_sequence_number=6
7: Online=jb:8 Automount_sequence_number=7
8: Online=jb:9 Automount_sequence_number=8
9: Online=jb:10 Automount_sequence_numbers=9,10 A_dir=JB10a B_dir=JB10b
Example - to create a cache with 100 MB and cache located on /Cache_Test for the Integral Volume set Test, enter:
10) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: The cache is associated to the Integral Volume set Test.
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=10
Restore_fsdb=no Read_only=yes Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
Cache: Cache_root=/Cache_Test
Page 36 of 88
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
0: Online=jb:1 Automount_sequence_number=0
1: Online=jb:2 Automount_sequence_number=1
2: Online=jb:3 Automount_sequence_number=2
3: Online=jb:4 Automount_sequence_number=3
4: Online=jb:5 Automount_sequence_number=4
5: Online=jb:6 Automount_sequence_number=5
6: Online=jb:7 Automount_sequence_number=6
7: Online=jb:8 Automount_sequence_number=7
8: Online=jb:9 Automount_sequence_number=8
9: Online=jb:10 Automount_sequence_numbers=9,10 A_dir=JB10a B_dir=JB10b
mkdir directory_name
#>mkdir /mnt
12) To mount the Integral Volume set with a new cache, enter:
Example - to mount the Integral Volume set Test on the mount point /mnt, enter:
Note: The “-n” option is used only with the first mount, on subsequent mounts, do not use the “-n” option in the mountiv
command syntax.
13) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now the Integral Volume set Test is mounted.
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=10
Restore_fsdb=no Read_only=yes Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=no Space_calculation=yes Verify_write=no
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Automount_sequence_number=0
1: Online=jb:2 Automount_sequence_number=1
2: Online=jb:3 Automount_sequence_number=2
3: Online=jb:4 Automount_sequence_number=3
4: Online=jb:5 Automount_sequence_number=4
5: Online=jb:6 Automount_sequence_number=5
6: Online=jb:7 Automount_sequence_number=6
Page 37 of 88
7: Online=jb:8 Automount_sequence_number=7
8: Online=jb:9 Automount_sequence_number=8
9: Online=jb:10 Automount_sequence_numbers=9,10 Mounted=a,b A_dir=JB10a B_dir=JB10b
#>df -k /mnt
#>df -k /mnt Note: This command will display the total capacity of all the surfaces already accessed
#>udfdf -t /mnt
#>udfdf -f -a 0 /mnt
Note: QStar recommends reviewing the explanation for the udfdf command in Chapter 9 - Command Reference of this manual.
Example - to monitor the cache status of the Integral Volume set Test, enter:
#>mmparam /mnt
#>mmparam Test
umount /mount_point
umountiv set_name
Example - to unmount the Integral Volume set Test on the mount point /mnt, enter:
#>umount /mnt
Note: QStar does not recommend using the umount command for Linux or HP-UX platforms; this ensures the Integral Volume
set is completely unmounted. Please refer to Chapter 6 - Migration Manager in this manual for more detailed information.
#>vlexport jb1 1
Page 38 of 88
MANAGING QSTAR CD/DVD MASTER PRODUCT WITH
ISO 9660 AND UDF FILE SYSTEMS
This manual describes how to create an Integral Volume set for CD/DVD-ROM devices and how to set-up, configure and use
the QStar CD/DVD Master product. The QStar Software can control CD/DVD-ROM media written with the ISO 9660 or the
UDF file systems by using the CD/DVD Axxess product. Both products allow CD/DVD-ROMs to be bound together as an
Integral Volume set. The Integral Volume is created with a cache and each CD/DVD-ROM is seen as a separate directory
within the Integral Volume set. The CD/DVD-R media are recorded using the QStar CD/DVD Master product and if required
the media, once recorded can be automatically added to a specified Integral Volume set.
Page 39 of 88
MANAGING QSTAR CD/DVD MASTER SOFTWARE FOR
ISO/UDF IMAGES RECORDED AS DISC-AT-ONCE
The following sections will give a detailed walk through on how to use the QStar CD/DVD Master Software, create an
ISO/UDF image and record it to CD/DVD-R media and how to use the QStar CD/DVD Axxess Software to manage the jukebox
and the Integral Volume sets.
The QStar Software also allows the use of CD/DVD-RW with the disc-at-once recording procedure. This media can only
be used to record an ISO image and should not be used to write a UDF image, this is only supported by QStar with
CD/DVD-R media. Before use the media must be fully erased using the vlerase command.
The walk through will be divided into the following main sections:
Note: In the walk through described below a CD-R jukebox is used in the examples, but the explanation is also valid for DVD-R
jukeboxes.
Page 40 of 88
INTEGRAL VOLUME SET CONFIGURATION FOR A CD/DVD-
ROM JUKEBOX
In this section an Integral Volume set will be created, some media will be added to it, and the Integral Volume set will be
mounted. This initial procedure is explained because mounting an Integral Volume set that does not contain any media is not a
valid operation. In order to have the data written on the new CD/DVD-ROM media available the Integral Volume set must be
mounted. If the Integral Volume set is mounted any new CD/DVD-ROM media recorded may be automatically added to the
Integral Volume set allowing the data recorded on the CD/DVD-ROM to be accessible online.
This walk through is described for both ISO and UDF file systems on the QSTAR CD/DVD AXXESS PRODUCT -
MANAGING CD-ROM/DVD-ROM MEDIA section on this chapter. QStar recommends gaining some experience using the
QStar CD/DVD Axxess Software before using the QStar CD/DVD Master Software.
A) Direct write
The Direct write procedure sends the ISO/UDF image data directly to the CD/DVD-R drive and the ISO/UDF image is not
saved on the sever or on the remote client machine hard disk.
1) Locate the CD/DVD-R drives and the CD/DVD-ROM drives on separate buses in the jukebox and connected to the server
via different SCSI cards.
2) Only allow the Direct write procedure if the remote client machine is in a fast network environment.
These recommendations will avoid the “buffer underun” problem from occurring.
Note: Selecting the Direct write procedure does not deny the Delayed write procedure.
B) Delayed write
The ISO/UDF image is first transferred into an Images Directory on the server specified by the System Administrator and will
then be recorded according to the scheduled settings or can be canceled if required.
Note: Selecting the Delayed write procedure will deny the Direct write procedure.
Page 41 of 88
Displaying the Delayed Commands under VL Scheduler Control
QStar creates a special file called “conf” under the /opt/QStar/vl/files directory. The conf file keeps all the configuration
information for the QStar Commands that can run as delayed jobs. Once a command is submitted, a job will be created and
placed into the delayed jobs queue list that is managed and controlled by the QStar VL scheduler process.
The System Administrator can use the delayed queue commands option to manage and monitor the delayed commands in the
delayed jobs queue list by using the vlqlist command.
The options available in the conf file are represented with a key word that identifies the delayed command that can be under the
VL scheduler's control.
# VL Configuration File
Page 42 of 88
JB Server Port = "5002"
MM Server Port = "5003"
VL Server Port = "5004"
Mirror Slave Port = "5015"
Centera Server Port = "5281"
Crypto Server Port = "5007"
Qmage Server Port = "5006"
Note: In this section only the VL Configuration option for the CD/DVD-R recording procedure will be explained.
Number of latest records kept in the delayed jobs queue list. The default number is 7; the System Administrator can change this
by editing the /opt/QStar/vl/files/conf file and typing the new value.
Images Dir Path: The Images Directory on the server where the temporary image files that will be recorded to the CD/DVD-R
media will be stored.
Image Max Dir Size (Mb): Maximum Size of the Images Directory.
Delayed Start: Start Time and Stop Time when the VL scheduler processes the delayed jobs in 24-hour mode.
A 0:0 0:0 value ensures the jobs will not be delayed and will be processed immediately after the ISO/UDF
image has been completely transferred to the Images Directory.
Max Parallel Recording: The Number of parallel recordings defines the number of images that can be recorded at the same
time, the value entered defines the number of drives that can be used simultaneously for recording.
A “0”value ensures that all cd/dvd-r drives available will be used.
By default, the Delayed write is allowed and the Direct write is Prohibited. Select Allowed or Allowed Hosts to enable the
Direct write procedure.
Page 43 of 88
Select the Allowed option to enable the Direct write procedure for all users.
Select the Allowed Hosts option to enable the Direct write procedure for specific users only.
Specify in the Allowed Hosts option, the name of the hosts that are allowed Direct write access.
In the example a generic Host# name is used, the Host name must be separated with a comma and there is no limitation on the
number of hosts that can be specified.
Note: Also the Delayed write will be enabled for all users.
Specify the number of drives that can be used for recording. By default all drives available can be used. Please refer the next
section for more information about this option .
By default, the Delayed write is always allowed with the below default delayed write options:
The System Administrator can change any of the default parameters by typing the new value.
Page 44 of 88
To create the directory where the images will be temporarily transferred and kept until the delayed jobs are completely
processed, enter:
#>mkdir /export/home/cd_images
Note: Ensure the hard disk partition where the Images Directory was created has sufficient space for the required images.
Note1: There may be a requirement for the users of the QStar CD/DVD Master Software to transfer the image to the cd_images
directory from a client machine. To allow the users to access the Images Directory, the correct permissions must be applied to
the directory.
A) The option Max Parallel Recording can be used to specify how many drives can be used for recording at the same time. A
"0" value ensures that all CD/DVD-R capable drives available will be used. Setting a non-zero value will specify how many
drives can be used for recording. If the jukebox has multiple drive types, then the most appropriate drive type will be
selected first, for example, a CD/DVD-R drive will be selected in preference to a multi-function drive that also supports
DVD-RAM. This ensures the drive/drives that have the greater media type support are available for read/write requests on
any media type within the jukebox.
B) With the jbdrive command it is possible to configure each drives profile/priority in order to allow/deny the specified drive
to be used for recording or reading. The System Administrator can configure which drives are dedicated to which media type
over-riding the drives default capability, this can allow CD/DVD-R drives to be installed on a separate SCSI bus dedicated for
recording and with the jbdrive command, configure the drives on this SCSI bus for this purpose.
jbdrive [-H host_name] [-nfbr] [-u {priority | rrr:www:rw | auto | default}] [-p {cd-rom | cd-r | cd-rw | dvd-rom |
dvd-r | dvd-ram | dvd-rw | dvd-rw-s}] device_name drive_number
To set the priority for the usage of the drive, use the jbdrive command with the following flag:
The priority defines the order in which the drives are used by jbscheduler when it is looking for an appropriate drive. Example,
in a jukebox with 4 drives the priority numbers that can be used are 1,2,3,4. The jbscheduler searches for the drive, starting with
the lowest priority. The rrr:www:rw format assigns drive priority for read, write and read-write operations separately. The
keyword auto assigns drive priority according to drive capabilities. This allows drives with the least capabilities to be used first,
leaving multi-function drives with more capabilities available for a wider range of media types.
Below is displayed an example, using a CD/DVD jukebox with 4 Multi-function drives and 2 CD/DVD-ROM drives and
discrides how to use the profile and the Maximun Parallel Recording options.
Page 45 of 88
The jbstatus command shows the following information:
#>jbstatus –d jb
Drive 1: cd-rom cd-r cd-rw dvd-rom dvd-r dvd-ram dvd-rw dvd-rw-s online empty
Drive 2: cd-rom cd-r cd-rw dvd-rom dvd-r dvd-ram dvd-rw dvd-rw-s online empty
Drive 3: cd-rom cd-r cd-rw dvd-rom dvd-r dvd-ram dvd-rw dvd-rw-s online empty
Drive 4: cd-rom cd-r cd-rw dvd-rom dvd-r dvd-ram dvd-rw dvd-rw-s online empty
Drive 5: cd-rom dvd-rom online empty
Drive 6: cd-rom dvd-rom online empty
A) Set the /opt/QStar/vl/files/conf file with the option RECORD Max Parallel Recording = “2”
B) jbdrive -p cd-r -p cd-rw -p dvd-ram -p dvd-r -p dvd-rw -p dvd-rw-s jb 1
C) jbdrive -p cd-r -p cd-rw -p dvd-ram -p dvd-r -p dvd-rw -p dvd-rw-s jb 2
D) jbdrive -p cd-rom -p dvd-ram -p dvd-rom jb 4
#>jbstatus –d jb
Drive 1: cd-r cd-rw dvd-r dvd-ram dvd-rw dvd-rw-s online empty
Drive 2: cd-r cd-rw dvd-r dvd-ram dvd-rw dvd-rw-s online empty
Drive 3: cd-rom cd-r cd-rw dvd-rom dvd-r dvd-ram dvd-rw dvd-rw-s online empty
Drive 4: cd-rom dvd-rom dvd-ram online empty
Drive 5: cd-rom dvd-rom online empty
Drive 6: cd-rom dvd-rom online empty
Note: The values set by the jbdrive command are non-persistent, so a script would need to be applied in a system start-up file to
ensure this configuration is always implemented.
Page 46 of 88
CREATING AN ISO IMAGE
The mkiso command is used to create an ISO 9660 file system image from a specified file tree which may later be recorded
onto a CD/DVD-R media and it includes several options that will cover all the ISO standard requirements.
mkiso [-x exclude_path] [-c charset] [-s system_id] [-v volume_id][-V volume_set_id] [-p preparer_id] [-q quiet]
[-P publisher_id] [-a application_id] [-o image_file_name|-] [-R] [-J] [-D] [-S][cd_dir_name=]path [...]
Note: If the -o option is omitted the mkiso command only calculates the size of the image and exits.
Note1: On Unix platforms the default file system type is ISO-R (ISO 9660 with RockRidge extension).
The options available with the mkiso command are described as follows:
-R
Use RockRidge extensions with the ISO-9660 standard. These extensions are mainly used for UNIX systems.
-J
Use Microsoft Joliet extensions. These extensions are used for MS-Windows OS.
-D
Deference symlinks. This will force symlink files when encountered, to be replaced by the file or directory that they point to.
Without this option symlink files are either omitted from the ISO image or if the -R flag is specified they are preserved as the
original symlink file.
-S
Use strict attributes. With this option, owner and permissions of files and directories are preserved and device special files are
also saved into the image (the latter makes sense only if the CD is to be mounted on the same OS the image was created on).
This flag can only be specified if used in conjunction with the -R flag.
-q
Silently ignore large (>2GB) files. The ISO-9660 filesystem does not support such files. Without this option if a large file is
encountered, mkiso prints an error and exits. With this option mkiso skips the file and continues.
-v volume_id:
Sets the volume id of the image to volume_id (maximum 32 chars). The volume_id is used as the Volume Label of the
CD/DVD media that will be used by the QStar Software as the root directory of the CD/DVD media within the Integral Volume
set.
-V volume_set_id
-p preparer_id
-P publisher_id
-s system_id
-a application_id
Set optional volume_set_id, preparer_id, publisher_id, system_id or application_id fields of the ISO volume descriptor.
Page 47 of 88
-c charset
Specifying the charset to be used for translating filenames to unicode. This option will have no effect unless -J is also specified.
The Unicode translation table for the charset is required to be in the /opt/QStar/vl/files sub-directory.
-x exclude_path
Exclude files or directories matching the set pattern. This option allows specifying which types of files should not be included in
the ISO image. This option may be repeated as necessary.
-o image_file_name
-o -
Specifies the image output file name. In the first form the output image will be written to image_file_name. In second form the
output will be written to a standard output. If it is not a regular file but rather a pipe, 8 bytes of image size are written before the
actual image. If the -o is omitted no output is produced but the mkiso will print the information about image size only.
[cd_dir_name=]path
Directory of file named path will be copied into resulting image under name cd_dir_name. If cd_dir_name is omitted then root
directory is assumed. The argument may be repeated, but at least one path argument is required.
The command returns the exit code 0 in the case of a successful completion. Otherwise, a positive non-zero error code is
returned (see error codes in libqcommon API (3)) and an error message is printed to stderr.
2) To create an ISO CD/DVD image with Joliet extensions at /home/cdimage.iso and copy the subtrees /usr/docs/part2 and
/usr/docs/part3 into the CD/DVD directories /part2 and /part3 respectively with the name of the CD/DVD (Volume Label) set
to QSTAR_SOFTWARE_UNIX and excludes files with names ending with .bak, enter:
3) To create an ISO CD/DVD image at /home/QStar_Software_Unix.iso using the /Release48 subtree as the root of the
CD/DVD with the name of the CD/DVD (Volume Label) set to QSTAR_SOFTWARE_UNIX, enter:
Page 48 of 88
CREATING A UDF IMAGE
The mkudf command is used to create a UDF file system image containing file trees specified by path arguments, which may
later be recorded onto an optical or CD/DVD-R media. For every path argument, the file specified by path will keep its name in
the image (if dir_name= is omitted) or will be renamed to dir_name (if dir_name= is present). The UDF Revison Level of the
UDF file system can be 1.50, 2.00 or 2.01.
The options available with the mkudf command are described as follows:
-o image_file
Specifies the pathname of the file where the volume image will be stored. Specifying '-' for the image_file sends the image to
standard output.
-b block_size
Specifies the block size on the media. The default is 2048.
-l logical_volume_identifier
Specifies the logical volume identifier of the volume. The logical_volume_identifier is used as the Volume Label of the
CD/DVD media that will used by the QStar Software as a root directory of the CD/DVD media within the Integral Volume set.
-u {150|200|201}
Specifies the UDF revision. The default is 1.50.
-t
All file times will be set to the current system time. Without this option, they are inherited from the source file.
-m {rewritable|worm}
Specifies the media type: rewritable or WORM. The default is worm.
2) To create a UDF CD/DVD image at /home/cdimage.udf and copy the subtrees /usr/docs/part2 and /usr/docs/part3 into the
CD/DVD directories /part2 and /part3 respectively with the name of the CD/DVD (logical_ volume_identifier) set to
QSTAR_SOFTWARE_UNIX, enter:
3) To create a UDF CD/DVD image at /home/QStar_Software_Unix.udf using the /Release48 subtree as the root of the
CD/DVD with the name of the CD/DVD (logical_ volume_identifier) set to QSTAR_SOFTWARE_UNIX, enter:
Page 49 of 88
WRITING AN IMAGE FILE TO THE CD/DVD-R MEDIA
In this section using the vlrecord command both Direct and Delayed write procedures will be described in the examples using
ISO as the file system type. The same procedures are also applicable to the UDF file system.
vlrecord [-H host_name] [-v] [-x {speed_X|max}] [-b buffer_Mb][{-t |-T}] [-s set_name] [-j delayed_job_name]
[-d {[mmdd]HHMM|[cc]yymmddHHMM}] [-nnumber_of_copies] [-V] [-m mail_addr] [-p {cd-r|
cd-rw|dvd-r|dvd-ram|dvd-rw|dvd-rw-s|mo|mo-worm|udo|udo2|dvdram|dvd-r|cd-r|bd-re|bd-rs}
device_name: {shelf_number{a|b}|any} [image_path]
The options available with the vlrecord command are described as follows:
-H host_name
Specifies the name of the host where the device is connected. Without this option, the local host is used.
-v Verbose output.
-x speed_X
Specifies the recording speed at which all CD/DVDs will be recorded. Without this option the recording speed is selected
automatically based on the memory buffer filling time. The options available are any number below the maximum write speed of
the drive (i.e. 2x =2 3x = 3 4x =4), or Max.
The selection of “Auto” as the recording speed ensures that the server will automatically detect the writing speed. With a buffer
on the server, data is transferred from the client machine to the buffer first and then from the buffer to the drive. The server
waits until the buffer is full before it starts to write. It calculates the speed of transfer for the first 4MB (buffer size) of data and
sets the appropriate write speed for the drive. The auto speed selection of the software may not always be accurate as the server
assumes that all transfers will be made at the same speed calculated for the first 4MB.
If the recording procedure returns an error, the speed is not correct; a write speed test must then be carried out. This procedure is
described in the Burn Test Procedure Before Starting the Write Operation section of this manual, QStar recommends
reading the section before starting the recording procedure to determine the correct write speed for your drives.
-b buffer_Mb
Specifies memory buffer size used for recording. The default value is 4 Mb.
-t
The Laser OFF test mode is used to test and verify the optimum write speed to be used with the CD/DVD-R drive. When the
Laser OFF test mode is specified, the Software and the CD/DVD-R drive simulate the write process. The CD/DVD-R drive
does not actually write data to the media as the Laser power is turned off.
-T
The Write OFF test mode is used to measure the data transfer rate. When the Write OFF test mode is specified, the Software
will send the data to the drive, but will not perform the write operation on the media.
Note: For more detailed information about the test procedure, please refer to “Burn Test Before Start Write Operation”
section of this manual.
Page 50 of 88
-s set_name
Specifies the Integral Volume set name to which the newly written media will be automatically added.
-j delayed_job_name
Specifies the job name used to identify the job in the delayed job list. Without the -j flag the job will be executed according to
the -d flag (without the -d flag, the job will execute immediately).
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed on the delayed jobs list. The job will be executed immediately if there is
no -j flag and no -d flag. If there is a -j flag and there is no -d flag the job will be executed according to the “RECORD
Delayed Start” field in the /opt/QStar/vl/files/conf file.
The month, day, year, and century may be omitted; the current date values are supplied as defaults.
-m mail_addr
Specifies the E-mail address to which confirmation is sent when the job has been completed. An E-mail notification can be sent
reporting the exit status information of the recording operation using the -m option and specifying the E-mail address of the
person who should receive the notification.
-n number_of_copies
Specifies the number of copies of the same ISO/UDF image that will be recorded to the CD/DVD-R media. Without this option
only one ISO/UDF image will be recorded. This option is only available with the Delayed write procedure in conjunction with
any option and will be ignored if is used with the Direct write procedure.
-p
Sets the media type for the recording session. If the media type is omitted from the syntax of the command the first
available media in the jukebox, starting from the shelf with the lowest number, will automatically be used. If the jukebox
contains different types of media, (i.e. cd-r, dvd-r, dvd-rw, cd-rw, dvd-ram) the software will select the first available
media with a capacity that is equal to or larger than the ISO/UDF image, starting from the shelf with lowest number.
-V
Specifies verification mode. The vlrecord command reads recorded data back and compares with the source image.
Note: The recording is a long procedure, QStar suggests using the -v option to track the progress of the recording.
Page 51 of 88
Selecting Target Jukebox
In the vlrecord command the -H host_name option is used to select the hostname of the server to which the jukebox or
jukeboxes are connected. If the QStar Software is installed on the same server as the jukebox (es), the -H host_name option is
not required because by default the local host is used.
If the jukebox to use for recording the CD/DVD-R media is connected remotely, type the host name using the -H host_name
option.
Note: If the host name was not already inserted in the system /etc/hosts file, use the IP address.
1) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb and
connected to the remote server production1, enter:
1) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb,
enter:
2) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb,
enter:
2) To record the /home/QStar_Software_Unix.iso image to the first available DVD-R media in the jukebox identified as jb,
enter:
Page 52 of 88
Starting the CD/DVD-R Direct Write Procedure
The Direct write procedure is used with an existing ISO/UDF image; once the recording is completed the existing ISO/UDF
image will not be removed from the server hard disk. In the examples displayed below the recording speed is set to 2x and the -v
Verbose output option will be used to track the progress of the recording. QStar recomends to always use the -v Verbose
output option because the recording process is a long procedure.
The vlrecord command allows the use of the Direct write procedure only if it was enabled in the RECORD Direct entry on the
conf VL Configuration file. If the System Administrator tries to use the Direct write procedure without enabling it, the
following error messages will be returned to the vlrecord command:
1) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Direct write procedure, enter:
Note: In the example, the -s set_name option is used to add the new CD/DVD-ROM created to the Integral Volume set Test. The
new media will then be mounted immediately after the recording has been completed and the data will be available online.
2) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Direct write procedure, enter:
Note: In the example, the -m mail_addr option is used to send an E-mail notification reporting the exit status information of the
recording operation.
3) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Direct write procedure, enter:
Note: In the example, both -s set_name and -m mail_addr options are used.
4) To record the /home/QStar_Software_Unix.iso image to the first available DVD-R media in the jukebox identified as jb
using the Direct write procedure, enter:
Note: In the example, the-s set_name, the -V verification and -p dvd-r options are used.
Page 53 of 88
Direct Write Procedure Using a Specified Shelf
1) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Direct write procedure, enter:
Note: In the example, the -s set_name option is used to add the new CD/DVD-ROM created to the Integral Volume set Test. The
new media will then be mounted immediately after the recording has been completed and the data will be available online.
2) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Direct write procedure, enter:
Note: In the example, the -m mail_addr option is used to send an E-mail notification reporting the exit status information of the
recording operation.
3) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Direct write procedure, enter:
Note: In the example, both -s set_name and -m mail_addr options are used.
4) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb
using the Direct write procedure, enter:
Note: In the example, the -s set_name and the -V verification options are used.
Page 54 of 88
Information Displayed During the Direct Write Procedure
In order to displays the events performed during the record the -v Verbose output option must be used with the vlrecord
command, the Memory Buffer and Drive Buffer will then depict their relative values.
1) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Direct write procedure, enter:
jb:0 setup
jb:0 ready. Recording started
jb:0 5Mb of 85Mb (2560 blks)299Kb/s, Total:248Kb/s, buffers:memory 95%, drive 84% full
jb:0 10Mb of 85Mb (5120 blks)300Kb/s, Total:271Kb/s, buffers:memory 95%, drive 84% full
jb:0 15Mb of 85Mb (7680 blks)300Kb/s, Total:280Kb/s, buffers:memory 95%, drive 86% full
jb:0 20Mb of 85Mb(10240 blks)300Kb/s, Total:284Kb/s, buffers:memory 95%, drive 84% full
jb:0 25Mb of 85Mb(12800 blks)299Kb/s, Total:287Kb/s, buffers:memory 95%, drive 84% full
jb:0 30Mb of 85Mb(14848 blks)297Kb/s, Total:289Kb/s, buffers:memory 95%, drive 86% full
jb:0 35Mb of 85Mb(17408 blks)299Kb/s, Total:291Kb/s, buffers:memory 95%, drive 84% full
jb:0 39Mb of 85Mb(19968 blks)300Kb/s, Total:292Kb/s, buffers:memory 95%, drive 84% full
jb:0 44Mb of 85Mb(22528 blks)300Kb/s, Total:293Kb/s, buffers:memory 95%, drive 84% full
jb:0 49Mb of 85Mb(25088 blks)300Kb/s, Total:293Kb/s, buffers:memory 95%, drive 43% full
jb:0 54Mb of 85Mb(27648 blks)300Kb/s, Total:294Kb/s, buffers:memory 95%, drive 84% full
jb:0 59Mb of 85Mb(30208 blks)300Kb/s, Total:294Kb/s, buffers:memory 95%, drive 84% full
jb:0 64Mb of 85Mb(32768 blks)364Kb/s, Total:293Kb/s, buffers:memory 95%, drive 34% full
jb:0 69Mb of 85Mb(34816 blks)300Kb/s, Total:295Kb/s, buffers:memory 95%, drive 84% full
jb:0 74Mb of 85Mb(37376 blks)300Kb/s, Total:295Kb/s, buffers:memory 95%, drive 84% full
jb:0 78Mb of 85Mb(39936 blks)300Kb/s, Total:296Kb/s, buffers:memory 95%, drive 84% full
jb:0 83Mb of 85Mb(42496 blks)300Kb/s, Total:296Kb/s, buffers:memory 75%, drive 84% full
jb:0 85Mb of 85Mb(43971 blks)103Kb/s, Total:294Kb/s, buffers:memory 0%, drive 45% full
jb:0 closing
85 Mb done
Note: The shelf used for recording is displayed as "0" because the any option was used in the example.
Additional information relating to the write will be reported in the QStar /opt/QStar/log/syslog file.
Page 55 of 88
Starting the CD/DVD-R Delayed Write Procedure
If the Delayed write procedure is used with an existing ISO/UDF image, the image is first transferred to the Images Directory
specified in the RECORD Images Dir Path entry of the conf VL Configuration file. Then in accordance with the RECORD
Delayed Start Time settings also specified in the conf VL Configuration file, the image will be recorded to the CD/DVD-R
media. When the record procedure has completed the existing ISO/UDF image will be not removed from the server hard disk
however, the transferred image will be removed from the Images Directory.
To select the Delayed write procedure the System Administrator will need to use the -j delayed_job_name option and assign a
name to the job using the vlrecord command. The job name must be a unique name, if the same job name is already present on
the delayed jobs queue list then the job will be denied and the following message will be returned to the vlrecord command:
By default, the recording Start Time will follow the setting inserted in the RECORD Delayed Start Time setting specified in
the conf VL Configuration file. The System Administrator can change the recording Start Time specifying the date and time
the jobs should be executed on the delayed jobs list using the -d [mmdd]HHMM | [cc]yymmddHHMM option using the
vlrecord command.
Note: If the Delayed write procedure is interrupted, the interruption will cancel the delayed job request and the partial image
that has been transferred will be removed from the Images Directory.
1) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example, the -s set_name option is used to add the new CD/DVD-ROM created to the Integral Volume set Test. The
new media will then be mounted immediately after the recording has been completed and the data will be available online.
2) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example, the -m mail_addr option is used to send an E-mail notification reporting the exit status information of the
delayed recording operation.
3) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example, both -s set_name and -m mail_addr options are used.
Page 56 of 88
4) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example, the -d option is used to set the Delayed Start Time to 23:30.
5) To record the /home/QStar_Software_Unix.iso image to the first available DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example, the-s set_name, the -V verification and -p dvd-r options are used.
1) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Delayed write procedure, enter:
Note: In the example, the -s set_name option is used to add the new CD/DVD-ROM created to the Integral Volume set Test. The
new media will then be mounted immediately after the recording has been completed and the data will be available online.
2) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Delayed write procedure, enter:
Note: In the example, the -m mail_addr option is used to send an E-mail notification reporting the exit status information of the
recording operation.
3) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Delayed write procedure, enter:
Note: In the example, both -s set_name and -m mail_addr options are used.
4) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb using
the Delayed write procedure, enter:
Note: In the example, the -d option is used to set the Delayed Start Time to 23:30.
Page 57 of 88
5) To record the /home/QStar_Software_Unix.iso image to the CD/DVD-R media in shelf 1 in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: In the example, the -s set_name and the -V verification options are used.
Delayed Write Procedure Using the Any Option and Multiple Copy
The Delayed write procedure allows creating multiple copies of CD/DVD using the same ISO/UDF image specifying the
-n number_of_copies and any options on the vlrecord command.
In the examples, the QStar_Release is the name assigned to the delayed_job_name option.
1) To record the /home/QStar_Software_Unix.iso image to the first three available CD/DVD-R media in the jukebox identified
as jb using the Delayed write procedure, enter:
If the -n number_of_copies option is used with a specified shelf an error is returned to the vlrecord command.
2) To record the /home/QStar_Software_Unix.iso to the first three available CD/DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: If the -s set_name option is used with the -n number_of_copies option, the first media that will be recorded as first copy
will be added automatically to the Integral Volume set and the other media will be available in the jukebox but will not be
added to the Integral Volume set.
Page 58 of 88
Information Displayed During the Delayed Write Procedure
In order to display the events performed during the transfer of the ISO/UDF image to the Images Directory the -v Verbose
output option must be used with the vlrecord command.
1) To record the /home/QStar_Software_Unix.iso image to the first available CD/DVD-R media in the jukebox identified as jb
using the Delayed write procedure, enter:
Note: The example shows that the transfer has completed without any errors and now the ISO image is ready to be recorded to
the first available shelf that contains a Blank CD/DVD-R media.
Additional information relating to the transfer will be reported in the QStar /opt/QStar/log/Syslog file.
Page 59 of 88
Displaying the Delayed Jobs Status in the Delayed Jobs Queue List
The vlqlist command is used to list all the information for the delayed jobs present in the delayed jobs queue list, which is
controlled by the QStar VL scheduler process. The VL scheduler will start to process the jobs in the list at the time set by the
System Administrator. The System Administrator using the vlqlist command can manage and monitor the delayed jobs in the
delayed jobs queue list.
vlqlist [-H host_name] [-j [a][d][c][m][r][e][A][i][o]] [-s [w][s][d][e]] [-l] [-h sender_hostname] [-u user_id]
The options available with the vlrecord command are described as follows:
-H host_name
Specifies the name of the host where the device is connected. Without this option, the local host is used.
-j [d][c][m][r][e][g][A]
The –j flag allows specific job type filters to be used. Multiple filters may be used together on the same command line.
-s [w][s][d][e]
The -s flag allows specific job state filters to be used. Multiple filters may be used together on the same command line.
-h sender_hostname
Display all records that came from the host specified by sender_hostname
-u user_id
Display all records that originated from the user specified by user_id.
-l
Output long format.
Page 60 of 88
Displaying the Delayed Jobs Status for a Single Copy
The delayed jobs listed in the vlqlist command output are displayed in the order they were added to the delayed jobs queue.
#>vlqlist
In the example, the job with the name QStar_Release is present on the delayed jobs queue list and was registered on the list
with Job ID 1 and Registration Date 2002/03/10 at 21:43 and currently this job has a Status of Waiting.
The Delayed Start Date information is empty because the scheduling procedure follows the general settings made in the
RECORD Delayed Start Time setting specified in the conf VL Configuration file.
#>vlqlist
The Status of the job with Job ID 1 has changed to Started and the recording was started at 2002/03/10_21:44 Delayed Start
Date.
#>vlqlist
The Status of the job with Job ID 1 has changed to Done and the recording has been completed without any errors at
2002/03/10_21:50 End Date.
Note: If the Status displays Error the recording procedure has failed to write the image on the media.
Note1: The image transferred to the Images Directory will be removed in both cases, whether the recording procedure was
successful, or if it ended with an error.
Page 61 of 88
Displaying the Delayed Jobs Status for a Multiple Copy
The delayed jobs listed in the vlqlist command output are displayed in the order they were added to the delayed jobs queue. If
the Number of Copies option is used to create multiple CD/DVD-ROM media with the same image, a job will be created for
each copy in the delayed jobs queue. These jobs will differ in the Job ID and the copy number will be added to Job Name. The
jobs will be processed according to the priority order specified. The job at top of the delayed jobs queue list has the highest
priority.
#>vlqlist
In the example, the jobs with the name QStar_Release<#1 copy>, QStar_Release<#2 copy>, QStar_Release<#3 copy> are
present in the delayed jobs queue list. They were registered in the list respectively with Job ID 1, Job ID 2, Job ID 3 and
Registration Date 2002/03/10 at 21:43. Currently these jobs have a Status of Waiting. The Delayed Start Date information
is empty because the scheduling procedure follows the general settings made in the RECORD Delayed Start Time setting
specified in the conf VL Configuration file
#>vlqlist
The Status of the job with Job ID 1 has changed to Started and the recording was started at 2002/03/10_21:44 Delayed Start Date.
#>vlqlist
The Status of the job with Job ID 2 has changed to Started and the recording was started at 2002/03/10_21:45 Delayed Start
Date.
Note: The QStar CD/DVD Master Software will use all the CD/DVD-R drives available simultaneously. With the jukebox used
in the example, two CD-R drives are available.
Page 62 of 88
4) To display the delayed jobs status, enter:
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
2 2002/03/10_21:43 QStar_Release<#2 copy> Record Started 0:natasha 2002/03/10_21:45
3 2002/03/10_21:43 QStar_Release<#3 copy> Record Waiting 0:natasha
1 2002/03/10_21:43 QStar_Release<#1 copy> Record Done 0:natasha 2002/03/10_21:44 2002/03/10_21:50
The recording of the first copy has been completed successfully. The Status of the job with Job ID 1 has changed to Done and
the job details are then moved to the bottom of the delayed jobs queue list.
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
2 2002/03/10_21:43 QStar_Release<#2 copy> Record Started 0:natasha 2002/03/10_21:45
3 2002/03/10_21:43 QStar_Release<#3 copy> Record Started 0:natasha 2002/03/10_21:51
1 2002/03/10_21:43 QStar_Release<#1 copy> Record Done 0:natasha 2002/03/10_21:44 2002/03/10_21:50
The Status of the job with Job ID 3 has changed to Started and the recording was started at 2002/03/10_21:51 Delayed Start Date.
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
3 2002/03/10_21:43 QStar_Release<#3 copy> Record Started 0:natasha 2002/03/10_21:51
1 2002/03/10_21:43 QStar_Release<#1 copy> Record Done 0:natasha 2002/03/10_21:44 2002/03/10_21:50
2 2002/03/10_21:43 QStar_Release<#2 copy> Record Done 0:natasha 2002/03/10_21:45 2002/03/10_21:51
The recording of the second copy has been completed successfully. The Status of the job with Job ID 2 has changed to Done
and the job details are then moved to the bottom of the delayed jobs queue list.
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
1 2002/03/10_21:43 QStar_Release<#1 copy> Record Done 0:natasha 2002/03/10_21:44 2002/03/10_21:50
2 2002/03/10_21:43 QStar_Release<#2 copy> Record Done 0:natasha 2002/03/10_21:45 2002/03/10_21:51
3 2002/03/10_21:43 QStar_Release<#3 copy> Record Done 0:natasha 2002/03/10_21:51 2002/03/10_21:57
The recording of the third copy has been completed successfully. The Status of the job with Job ID 3 has changed to Done and
the job details are then moved to the bottom of the delayed jobs queue list.
Note: The QStar syslog file will report detailed information about the recording for all three copies.
The image transferred to the Images Directory is kept until the recording is completed for all the copies. When all the jobs are
completed with or without error the image is deleted from the Images Directory.
Page 63 of 88
The vllsdev command output will display all these copies as duplicate. The QStar Software will not allow duplicate media in
the same jukebox, it prevents the addition of these media to an Integral Volume set or locks the Integral Volume set if the
original media is already part of the Integral Volume set. In order to add media or unlock the Integral Volume set the two copies
must first be exported from the jukebox.
Note: For more detailed information about duplicate media, please refer to Chapter 8 Disaster Recovery on the QStar System
Administrator's Guide.
If the System Administrator has changed the recording Start Time specifying the date and time the jobs should be executed on
the delayed jobs list using the -d [mmdd]HHMM | [cc]yymmddHHMM option on the vlrecord command, this new recording
start time information will be displayed on the vlqlist output on the Delayed-Start-Date information.
#>vlqlist
Note: The Registration-Date reports the Date and Time when the delayed job was added to the delayed jobs queue list and the
Delayed-Start-Date shows the Date and Time when the job is to be processed.
#>vlqlist –l
Record ID: 1
Job: Record
Job Status: Waiting
Job Name: QStar_Release
Sender Hostname: natasha
Sender UID: 0
Registration Date: 2002/03/10_21:43
Start Date:
End Date:
Error:
Delayed Start Date:
Notification Mail Address:
Test Write Mode: laser off
Write Speed: 2
Buffer Size(Mb): default
Media profile: cd-r
Device Name: jb
Shelf Number: 0
Side: A
Image Size: 68960256 – 69Mb
Image Path: /opt/QStar/vl/files/cd_images/nataha.1019164293.img
Set Name:
Leave Open: No
Verify After Recording: No
Page 64 of 88
Record ID: 2
Job: Record
Job Status: Waiting
Job Name: QStar_Release 1
Sender Hostname: brian
Sender UID: 0
Registration Date: 2002/04/19_13:15
Start Date:
End Date:
Error:
Delayed Start Date:
Notification Mail Address: [email protected]
Test Write Mode: no test
Write Speed: 4
Buffer Size(Mb): default
Media profile: cd-r
Device Name: jb
Shelf Number: 6
Side: A
Image Size: 86372352 – 87Mb
Image Path: /opt/QStar/vl/files/cd_images/brian.1019214846.img
Set Name:
Leave Open: No
Verify After Recording: No
Record ID: 3
Job: Record
Job Status: Done
Job Name: QStar_Release 3
Sender Hostname: brian
Sender UID: 0
Registration Date: 2002/04/19_15:24
Start Date: 2002/04/19_15:25
End Date: 2002/04/19_15:29
Error:
Delayed Start Date:
Notification Mail Address: [email protected]
Test Write Mode: no test
Write Speed: 4
Buffer Size(Mb): default
Media profile: cd-r
Device Name: jb
Shelf Number: 1
Side: A
Image Size: 86372352 – 87Mb
Image Path: /opt/QStar/vl/files/cd_images/brian.1019222594.img
Set Name:
Leave Open: No
Verify After Recording: No
Page 65 of 88
Moving Delayed Jobs from the Delayed Jobs List
The vlqmove command is used to move the jobs in the delayed jobs queue list that is controlled by the QStar VL scheduler
process. The delayed jobs listed in the vlqlist command output are displayed in the order they were added to the delayed jobs
queue. The job that has the highest priority in the queue is the job that is displayed at the top of the list. When the recording
starts, the job at the top of the list will be the first delayed job to be processed. The System Administrator using the vlqmove
command can change the order the jobs will be processed.
The options available with the vlqmove command are described as follows:
-H host_name
Specifies the name of the host where the device is connected. Without this option, the local host is used.
[after]
Specifies that job_id1 should be placed after job_id2.
Example:
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
1 2002/03/11_00:57 QStar_Release<#1 copy> Record Waiting 0:natasha 2002/03/11_01:30
2 2002/03/11_00:57 QStar_Release<#2 copy> Record Waiting 0:natasha 2002/03/11_01:30
3 2002/03/11_00:57 QStar_Release<#3 copy> Record Waiting 0:natasha 2002/03/11_01:30
Note: In the example, the job with Job ID 1 will be the first to be recorded.
#>vlqmove 2 1
Note: In the example, the job with Job ID 2 is selected to move this job to the top of the list.
#>vlqlist
Note: Now the job with Job ID 2 is at the top of the list and will be the first job that will be processed.
Page 66 of 88
Deleting Delayed Jobs from the Delayed Jobs List
The vlqmove command is used to remove the job records in the delayed jobs queue list that is controlled by the QStar VL
scheduler process. This command can be used to clear completed, completed with error, and unwanted incomplete records.
The options available with the vlqremove command are described as follows:
-H host_name
Specifies the name of the host where the device is connected. Without this option, the local host is used.
Example:
#>vlqlist
JobID Registration-Date Job-Name Job-Type Status UserID:User-Hostname Delayed-Start-Date End-Date
1 2002/03/11_00:57 QStar_Release1 Record Waiting 0:natasha 2002/03/11_01:30
2 2002/03/11_01:10 QStar_Release2 Record Waiting 0:natasha 2002/03/11_01:30
3 2002/03/11_01:17 QStar_Release3 Record Waiting 0:natasha 2002/03/11_01:30
#>vlqremove 1
Note: In the example, the job with Job ID 1 is removed from the list.
#>vlqlist
Note: Once a job is removed from the list the job is canceled and the associated image file in the Images Directory is removed.
Page 67 of 88
Burn Test Procedure Before Starting the Write Operation
Before starting the actual write operation, QStar suggests carrying out a recording test. This will ensure that the write speed
between the CD/DVD-R drive and the CD/DVD-R media is adequate without wasting any media.
The QStar CD/DVD Master Software allows two types of test procedures:
Typically a client machine on a 1Mb network will have drive transfer rates of, 1x = 150k/sec, 2x = 300k/sec, 6x = 1mb/sec,
12x = 2mb/sec. Therefore, write speeds greater than 6x will generate a buffer under run error.
Either test can be carried out using the Direct or Delayed write procedures.
In the following example, an existing ISO image is transferred to the media on shelf 1 using the Direct write procedure.
A) In the first test the write speed of the CD/DVD-R drive is selected as Max.
1) To enable the Laser OFF test procedure using the /home/QStar_Software_Unix.iso image, enter:
During the test the Verbose output will display the events performed and the progress of the test.
jb:1 setup
jb:1 ready. Recording started
jb:1 5Mb of 85Mb (2560 blks)600Kb/s, Total:407Kb/s, buffers:memory 95%, drive 83% full
jb:1 6Mb of 85Mb (3072 blks)576Kb/s, Total:430Kb/s, buffers:memory 95%, drive 85% full
vlrecord: I/O error
If a problem is encountered during the test an error will be generated, the test will be stopped and the Verbose output will
display the error generated.
Page 68 of 88
Note: In the example, an error is generated.
Detailed information about the error is reported in the QStar syslog file.
B) The first test shows that at the maximum write speed allowed by the CD/DVD-R drive, the recording procedure can have a
problem that will cause an error. To find the correct write speed, the speed is set to a lower value (in the example it is 2x) and
the test is re-run.
Note: The maximum speed for the drive used on the first example is 4x.
1) To enable the Laser OFF test procedure using the /home/QStar_Software_Unix.iso image, enter:
During the test the Verbose output will display the events performed and the progress of the test.
jb:1 setup
jb:1 ready. Recording started
jb:1 5Mb of 85Mb (2560 blks)299Kb/s, Total:248Kb/s, buffers:memory 95%, drive 84% full
jb:1 10Mb of 85Mb (5120 blks)299Kb/s, Total:272Kb/s, buffers:memory 95%, drive 84% full
jb:1 15Mb of 85Mb (7680 blks)1684Kb/s, Total:273Kb/s, buffers:memory 95%, drive 84% full
jb:1 20Mb of 85Mb (10240 blks)299Kb/s, Total:283Kb/s, buffers:memory 95%, drive 77% full
jb:1 25Mb of 85Mb (12800 blks)299Kb/s, Total:287Kb/s, buffers:memory 95%, drive 84% full
jb:1 30Mb of 85Mb (14848 blks)299Kb/s, Total:289Kb/s, buffers:memory 95%, drive 84% full
jb:1 35Mb of 85Mb (17408 blks) 57Kb/s, Total:286Kb/s, buffers:memory 95%, drive 25% full
jb:1 39Mb of 85Mb (19968 blks)299Kb/s, Total:292Kb/s, buffers:memory 95%, drive 84% full
jb:1 44Mb of 85Mb (22528 blks)299Kb/s, Total:293Kb/s, buffers:memory 95%, drive 84% full
jb:1 49Mb of 85Mb (25088 blks)1505Kb/s,Total:292Kb/s, buffers:memory 95%, drive 84% full
jb:1 54Mb of 85Mb (27648 blks)300Kb/s, Total:294Kb/s, buffers:memory 95%, drive 84% full
jb:1 59Mb of 85Mb (30208 blks)300Kb/s, Total:294Kb/s, buffers:memory 95%, drive 84% full
jb:1 64Mb of 85Mb (32768 blks)1699Kb/s,Total:295Kb/s, buffers:memory 95%, drive 84% full
jb:1 69Mb of 85Mb (34816 blks)1560Kb/s,Total:294Kb/s, buffers:memory 95%, drive 49% full
jb:1 74Mb of 85Mb (37376 blks)299Kb/s, Total:295Kb/s, buffers:memory 95%, drive 84% full
jb:1 78Mb of 85Mb (39936 blks)299Kb/s, Total:296Kb/s, buffers:memory 95%, drive 84% full
jb:1 83Mb of 85Mb (42496 blks)300Kb/s, Total:296Kb/s, buffers:memory 75%, drive 84% full
jb:1 85Mb of 85Mb (43971 blks)111Kb/s, Total:296Kb/s, buffers:memory 0%, drive 96% full
jb:1 closing
85 Mb done
Page 69 of 88
The Verbose output displays that this time the test procedure completed without any errors. The selected write speed is clearly
the correct speed for the CD/DVD-R drive.
Detailed information about the exit status of the test is reported in the QStar syslog file.
Note: The QStar syslog file shows that the test was completed with “0” error.
A) In the test the write speed of the CD/DVD-R drive is selected as Max.
1) To enable the Write OFF test procedure using the /home/QStar_Software_Unix.iso image, enter:
During the test the Verbose output will display the events performed and the progress of the test.
jb:1 setup
jb:1 ready. Recording started
jb:1 1Mb of 85Mb (512 blks) 0Kb/s, Total: 0Kb/s, buffers:memory 78%, drive 100% full
………
jb:1 5Mb of 85Mb(2560 blks)864Kb/s, Total:4376Kb/s, buffers:memory 1%, drive 100% full
jb:1 6Mb of 85Mb(3072 blks)864Kb/s, Total:2603Kb/s, buffers:memory 1%, drive 100% full
jb:1 7Mb of 85Mb(3584 blks)864Kb/s, Total:2019Kb/s, buffers:memory 1%, drive 100% full
jb:1 8Mb of 85Mb(4096 blks)864Kb/s, Total:1728Kb/s, buffers:memory 1%, drive 100% full
jb:1 9Mb of 85Mb(4608 blks)864Kb/s, Total:1554Kb/s, buffers:memory 1%, drive 100% full
jb:1 10Mb of 85Mb(5120 blks)853Kb/s, Total:1438Kb/s, buffers:memory 1%, drive 100% full
jb:1 40Mb of 85Mb(20480 blks)864Kb/s, Total:952Kb/s, buffers:memory 1%, drive 100% full
jb:1 41Mb of 85Mb(20992 blks)864Kb/s, Total:950Kb/s, buffers:memory 1%, drive 100% full
jb:1 42Mb of 85Mb(21504 blks)864Kb/s, Total:947Kb/s, buffers:memory 1%, drive 100% full
jb:1 43Mb of 85Mb(22016 blks)864Kb/s, Total:945Kb/s, buffers:memory 1%, drive 100% full
jb:1 44Mb of 85Mb(22528 blks)864Kb/s, Total:943Kb/s, buffers:memory 1%, drive 100% full
jb:1 45Mb of 85Mb(23040 blks)864Kb/s, Total:941Kb/s, buffers:memory 1%, drive 100% full
jb:1 46Mb of 85Mb(23552 blks)864Kb/s, Total:938Kb/s, buffers:memory 1%, drive 100% full
………
jb:1 82Mb of 85Mb(41984 blks)853Kb/s, Total:901Kb/s, buffers:memory 1%, drive 100% full
jb:1 83Mb of 85Mb(42496 blks)864Kb/s, Total:900Kb/s, buffers:memory 1%, drive 100% full
jb:1 84Mb of 85Mb(43008 blks)864Kb/s, Total:900Kb/s, buffers:memory 1%, drive 100% full
jb:1 85Mb of 85Mb(43520 blks)864Kb/s, Total:899Kb/s, buffers:memory 1%, drive 100% full
jb:1 85Mb of 85Mb(43965 blks)865Kb/s, Total:899Kb/s, buffers:memory 1%, drive 100% full
jb:1 closing
85Mb done
Page 70 of 88
The Verbose output displays that this time the test procedure completed without any errors. The Kb/sec information relates to
the transfer rate achieved over the network.
Detailed information about the exit status of the test is reported in the QStar syslog file.
Note: The QStar syslog file shows that the test was completed with “0” error.
Page 71 of 88
ERROR CONDITIONS DURING RECORDING
If an error occurred during the Direct write procedure the error will be displayed during the recording if the Vebose output
option was specified in the vlrecord command. The QStar syslog file will report additional information about the error
encountered during the recording procedure.
If an error occurred during the Delayed write pocedure the error information will be displayed on the record regarding the job
that encountered the error in delayed jobs queue list, displayed using the vlqlist command. The syslog file will report additional
information about the error encountered during the recording procedure.
If an error is frequently encountered during the recording procedure, QStar suggests monitoring the CD/DVD-R drive to detect
which error the device returns using the qscsi_log command with the option that allows collecting all the SCSI command
information in the /opt/QStar/log/scsi_log file. For more detailed information regarding the qscsi_log command, please refer to
Chapter 8 Disaster Recovery on this manual.
The vlqlist command used with the -l (Output on Long Format) option allows displaying detailed error information for the
delayed jobs present in the delayed jobs queue list.
#>vlqlist -l
Record ID: 2
Job: Record
Job Status: Error
Job Name: QStar Release
Sender Hostname: brian
Sender UID: 0
Registration Date: 2002/04/19_13:15
Start Date: 2002/04/19_13:29
End Date: 2002/04/19_13:30
Error: USCSICMD ioctl: try jb:6a 82 Mb: cdr_write: write process was interrupted:
SCSI cmd 0x2a (write): I/O error
Delayed Start Date:
Notification Mail Address: [email protected]
Test Write Mode: no test
Write Speed: 4
Buffer Size(Mb): default
Media profile: cd-r
Device Name: jb
Shelf Number: 6
Side: A
Image Size: 86372352 – 85Mb
Image Path: /opt/QStar/vl/files/cd_images/brian.1019214846.img
Set Name:
Leave Open: No
Verify After Recording: No
Note: In the example, an error occurred during the delayed recording procedure is displayed.
Page 72 of 88
MANAGING QSTAR CD/DVD MASTER SOFTWARE FOR UDF
FILE SYSTEM WRITTEN WITH PACKET WRITING
In this section, to understand how to configure the CD/DVD-R media with the UDF file system and Packet Writing option
enabled, we will present a simple walk through that will support every type of jukebox and standalone drive that the QStar
Software supports.
The Interchange Level defines how many volumes are in the Integral Volume set. The UDF file system allows three Interchange
Level configurations:
Page 73 of 88
Overview of Creating an Integral Volume Set
The following is a summary of the steps performed to create, mount and monitor an Integral Volume set using the QStar
commands. Detailed information follows in subsequent topics.
Page 74 of 88
INTEGRAL VOLUME SET CONFIGURATION
FOR A CD/DVD-R JUKEBOX OR STANDALONE DRIVE WITH
AUTOMOUNT AND SINGLE-VOLUME INTERCHANGE LEVELS
Note: All the default parameters are used, for more detailed information, please refer to Chapter 5 - The Volume Librarian or
Chapter 9 - Command Reference in this manual.
To create a UDF Automount or Single-Volume Integral Volume set, follow the directions below.
1) To determine the jukebox shelf and media information in reference to the Volume Librarian, enter:
vllsdev device_name
Example - To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1-1: empty Note: The shelf 1 is empty.
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
11-1: empty
12-1: empty
13-1: empty
14-1: empty
15-1: empty
16-2: empty
Example - to import the media to shelf 1 of the jukebox identified as jb, enter:
#>vlimport jb 1
jb:refreshing shelf 1 ...
Page 75 of 88
Note: If a standalone drive is used manually load the media into the drive and then refresh the status of the media.
vlrefresh device_name
Example - to refresh the media in the standalone drive identified as jb, enter:
#>vlrefresh jb
3) To import additional media, repeat the above steps with the appropriate shelf number.
4) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1a-1: blank 4.4 GB DVD-R Note: The status in the VL database for new CD/DVD-R media is blank.
1b-1: blank 4.4 GB DVD-R
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
11-1: empty
12-1: empty
13-1: empty
14-1: empty
15-1: empty
16-2: empty
Note: For single sided media only Shelf 1a information will be displayed. and the Type column will display BD-RS for Blu-ray
media.
Example-A - create a new Integral Volume set definition named Test for CD/DVD-R media with a UDF file system, single-
volume interchange level and the packet writing option enabled, enter:
Page 76 of 88
Example-B - create a new Integral Volume set definition named Test for CD/DVD-R media with a UDF file system,
automount interchange level and the packet writing option enabled, enter:
Note: The Packet Writing option is available when selecting CD/DVD or Blu-ray (BD-RS) media as the Archive Media Type.
The CD/DVD-R or BD-RS media can be added directly to the Integral Volume set only if the Packet Writing option is selected.
If Packet Writing is not selected, the adding procedure will be denied and QStar will return an error message of incompatible
media type. For more detailed information of the UDF specific options, please refer to “Creating an Integral Volume Set with
UDF or ISO 9660 File System” session on Chapter 5 - The Volume librarian in this manual.
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: The Integral Volume set is empty because no media (Media=0) is associated with it.
Test
Use_media= cd,dvd,worm,rdonly Spread=no Quota=1 Media=0
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=single-volume
Packet_writing_init=yes Space_calculation=yes Verify_write=no
No cache
Test
Use_media= cd,dvd,worm,rdonly Spread=no Quota=2048 Media=0
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=yes Space_calculation=yes Verify_write=no
No cache
Note: The difference between the two above outputs are in the Interchange Level type and in the Quota number.
Note1: The Use_Media information will display bd,worm,rdonly for Blu-ray BD-RS media.
Example - to add the media on shelf 1 to the Integral Volume set Test, enter:
#>vladdtoset Test jb 1
jb:initializing side a ...
Page 77 of 88
Note: If dual sided media was used with the single-volume configuration, then the A side of the media is initialized with a UDF
file system and the B side will not change its status. Adding this media under automount control will include the file system on
the A side and automatically the B side will also be initialized and added under the automount control.
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now one media is associated with the Integral Volume set Test.
Test
Use_media= cd,dvd,worm,rdonly Spread=no Quota=1 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_3c0ec380
UDF_revision=150 Interchange_level=single-volume
Packet_writing_init=yes Space_calculation=yes Verify_write=no
No cache
0: Online=jb:1 Sequence_number=1
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=yes Space_calculation=yes Verify_write=no
No cache
0: Online=jb:1 Automount_sequence_numbers=0,1
Note: In the automounter configuration the Logical_volume_identifier is equal to NA (Not Available) and instead the
Automount_Sequence_number is displayed. When a media is added to the Integral Volume set, every surface will be initialized
wih a unique Set_id number (Logical Volume Identifier). By default, this unique Set_id number is equal to “q_number”. The
Automount_Sequence_numbers represent the sequence number of the surfaces in the root directory of the file system once it is
mounted. All sub-directories (surfaces) in the root directory will be labeled by default as vol_Automount_Sequence_number
(i.e. vol_0, vol_1, vol_#) if the Set_id number is one that is assigned by default by QStar Software, if not, theVolume Label will
be used as the sub-directories name. With the vladdtoset command it is possible to specify the Logical Volume Identifier using
the -A -B options. If the media is blank/erased the specified Logical Volume Identifier will be written to the surface as a unique
surface_id number and used as the directory name that identifies the surfaces under the Automount mount point. If the Media
already has the Logical Volume Identifier (initialized) the -A and -B option will only change the default vol_0, vol_1 and vol_#
directory names that identified the surfaces under the Automount mount point with the specified name. In this case, the new sub-
directories name will be printed in the set information for each surface.
Note1: In the rest of the walk through only the automout interchange level output will be diplayed.
Page 78 of 88
9) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1a-1: udf-150 4.4 GB DVD-R Seq=1 Log_vol_id=q_a3e82f5cd
1b-1: udf-150 4.4 GB DVD-R Seq=1 Log_vol_id=q_b3e82f5cd
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
11-1: empty
12-1: empty
13-1: empty
14-1: empty
15-1: empty
16-2: empty
Example - to create a cache with 100MB and cache located on /Cache_Test for the Integral Volume set Test, enter:
#>vlcache -p 100MB -c /Cache_Test Test
11) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now a cache is associated with the Integral Volume set Test.
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=yes Space_calculation=yes Verify_write=no
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
0: Online=jb:1 Automount_sequence_numbers=0,1
mkdir directory_name
Page 79 of 88
Example - to create the mount point /mnt, enter:
#>mkdir /mnt
13) To mount the Integral Volume set with a new cache, enter:
Example - to mount Integral Volume set Test on the mount point /mnt, enter:
Note: The “-n” option is used only with the first mount, on subsequent mounts, do not use the “-n” option in the mountiv
command syntax.
14) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now the Integral Volume set Test is mounted.
Test
Use_media=cd,dvd,worm,rdonly Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=automount
Packet_writing_init=yes Space_calculation=yes Verify_write=no
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Automount_sequence_numbers=0,1 Mounted=a,b
#>df -k /mnt
#>df -k /mnt Note: This command will display the total capacity of all the surfaces already accessed
#>udfdf -t /mnt
#>udfdf -f -a 0 /mnt
Note: QStar recommends reviewing the explanation for the udfdf command in Chapter 9 - Command Reference of this manual.
Page 80 of 88
16) To monitor the cache status of an Integral Volume set, enter:
Example - to monitor the cache status of the Integral Volume set Test, enter:
#>mmparam /mnt
#>mmparam Test
17) To start archiving files from the cache to the archival media, enter:
mmarc [-H host_name] {-l | -e | -a age | -s} [-w][-j {delayed_job_name | "default"}] [-S cron_like_schedule]
{set_name | filename}
Example - to start archiving files from the cache of the Integral Volume set Test, enter:
#>mmarc -e /mnt
#>mmarc -e Test
Example - to close the surface “a” of the media on shelf 1 belonging to the Integral Volume set Test, enter:
#>vlclose jb 1a
Note: With Automount Interchange level the close procedure will be allowed with the Integral Volume set mounted if at least
two media are added to the Integral Volume set. If only one media was added, unmount the Integral Volume set before running
the vlclose command. For the standalone drive the close procedure will be allowed only if the Integral Volume set is
unmounted. For more detailed information about the vlclose command, please refer to Chapter 9 - Command Reference in this
manual.
umount /mount_point
umountiv set_name
Example - to unmount the Integral Volume set Test on the mount point /mnt, enter:
#>umount /mnt
Note: QStar does not recommend using the umount command for Linux or HP-UX platforms; this ensures the Integral Volume
set is completely unmounted. Please refer to Chapter 6 - Migration Manager in this manual for more detailed information.
#>vlexport jb1 1
Page 81 of 88
INTEGRAL VOLUME SET CONFIGURATION FOR CD/DVD-R JUKEBOX
WITH SPANNING INTERCHANGE LEVEL AND PACKET WRITING
Note: In the walk through described below, a DVD-R jukebox and all the default parameters are used, for more detailed
information, about the QStar commands referenced in this procedure, please refer to Chapter 5 - The Volume Librarian or
Chapter 9 - Command Reference in this manual.
1) To determine the jukebox shelf and media information in reference to the Volume Librarian, enter:
vllsdev device_name
Example - To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
----------------------------------------------------------------------------
1: empty Note: The shelf 1 is empty.
2: empty
3: empty
4: empty
5: empty
6: empty
7: empty
8: empty
9: empty
10: empty
11: empty
12: empty
13: empty
14: empty
15: empty
16: empty
Example - to import the media to shelf 1 of the jukebox identified as jb, enter:
#>vlimport jb 1
jb:refreshing shelf 1 ...
3) To import additional media, repeat the above steps with the appropriate shelf number.
Page 82 of 88
4) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
---------------------------------------------------------------------------------
1a-1: blank 4.4 GB DVD-R Note: The status in the VL database for new CD/DVD-R media is blank.
1b-1: blank 4.4 GB DVD-R
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
11-1: empty
12-1: empty
13-1: empty
14-1: empty
15-1: empty
16-2: empty
Note: For single sided media only Shelf 1a information will be displayed. and the Type column will display BD-RS for Blu-ray
media.
Example - create a new Integral Volume set definition named Test for CD/DVD-R media with a UDF file system, spanning
interchange level, packet writing and close of full volume options eanbled, enter:
Note: The Packet Writing option is available when selecting CD/DVD or Blu-ray (BD-RS) media as the Archive Media Type.
The CD/DVD-R or BD-RS media can be added directly to the Integral Volume set only if the Packet Writing option is selected.
If Packet Writing is not selected, the adding procedure will be denied and QStar will return an error message of incompatible
media type. For more detailed information of the UDF specific options, please refer to “Creating an Integral Volume Set with
UDF or ISO 9660 File System” session on Chapter 5 - The Volume librarian in this manual.
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: The Integral Volume set is empty because no media (Media=0) is associated with it.
Test
Use_media= cd,dvd,worm,rdonly Spread=no Quota=2048 Media=0
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=NA
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=yes Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=yes
No cache
Page 83 of 88
Note: Use_image_backup option is set to yes by default for CD/DVD-R media. The image backup can be used to burn a backup
media in order to replace the original if damaged. The procedure to burn the image backup onto a new media can be done using
the vlinset command with -R flag.
Note1: The Use_Media information will display bd,worm,rdonly for Blu-ray BD-RS media.
Example - to add the media on shelf 1 to the Integral Volume set Test, enter:
#>vladdtoset Test jb 1
jb:initializing side a ...
Note: Include media 1 and any other media in the jukebox with the same Set_Id in this Integral Volume set.
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now one media is associated with the Integral Volume set Test that has the Set_Id.
Test
Use_media= cd,dvd,worm,rdonly Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_a30a36f78
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=yes Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=yes
No cache
0: Online=jb:1 Span_numbers=1,2
9) To display the jukebox shelf information for a jukebox identified as jb, enter:
#>vllsdev jb
jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
--------------------------------------------------------------------------------
1a: udf-150 4.4 GB DVD-R Span=1 Log_vol_id=q_a30a36f78-1
1b: udf-150 4.4 GB DVD-R Span=2 Log_vol_id=q_a30a36f78-2
2-1: empty
3-1: empty
4-1: empty
5-1: empty
6-1: empty
7-1: empty
8-1: empty
9-1: empty
10-1: empty
11-1: empty
12-1: empty
13-1: empty
14-1: empty
15-1: empty
16-2: empty
Page 84 of 88
10) To create the cache for the Integral Volume set, enter:
Example - to create a cache with 100 MB and cache located on /Cache_Test for the Integral Volume set Test, enter:
11) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now the cache is associated with the Integral Volume set Test.
Test
Use_media= cd,dvd,worm,rdonly Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_a30a36f78
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=yes Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=yes
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
0: Online=jb:1 Span_numbers=1,2
mkdir directory_name
#>mkdir /mnt
13) To mount the Integral Volume set with a new cache, enter:
Example - to mount the Integral Volume set Test on the mount point /mnt, enter:
Note: The “-n” option is used only with the first mount, on subsequent mounts, do not use the “-n” option in the mountiv
command syntax.
Page 85 of 88
14) To display the status of the Integral Volume set Test, enter:
#>vllsset –v Test Note: List the Integral Volume set definition and associated media.
Note1: Now the Integral Volume set Test is mounted.
Test
Use_media= cd,dvd,worm,rdonly Spread=no Quota=2048 Media=1
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=udf (Universal Disk Format)
Logical_volume_identifier=q_a30a36f78
UDF_revision=150 Interchange_level=spanning
Packet_writing_init=yes Verify_write=no
Close_full_volume=yes File_spanning=yes Use_image_backup=yes
Cache: Cache_root=/Cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Span_numbers=1,2 Mounted=a,b
#>df -k /mnt
Example - to monitor the cache status of the Integral Volume set Test, enter:
#>mmparam /mnt
#>mmparam Test
17) To start archiving files from the cache to the archival media, enter:
mmarc [-H host_name] {-l | -e | -a age | -s} [-w][-j {delayed_job_name | "default"}] [-S cron_like_schedule]
{set_name | filename}
Example - to start archiving files from the cache of the Integral Volume set Test, enter:
#>mmarc -e /mnt
#>mmarc -e Test
18) Using the Spanning configuration, it is possible to Automatically close a full media. This option should be specified at the creation
of the Integral Volume set. QStar highly recommends using this option with CD/DVD-R media, but the System Administrator can
also close the media as follows.
Page 86 of 88
To close a media once full, enter:
Example - to close the surface “a” of the media on shelf 1 belonging to the Integral Volume set Test1, enter:
#>vlclose jb 1a
Note: For more detailed information about the vlclose command, please refer to Chapter 9 - Command Reference in this
manual.
umount /mount_point
umountiv set_name
Example - to unmount the Integral Volume set Test on the mount point /mnt, enter:
#>umount /mnt
Note: QStar does not recommend using the umount command for Linux or HP-UX platforms; this ensures the Integral Volume
set is completely unmounted. Please refer to Chapter 6 - Migration Manager in this manual for more detailed information.
Page 87 of 88
RECOVERING A DAMAGED CD/DVD-R MEDIA WRITTEN WITH UDF SPANNING
INTERCHANGE LEVEL AND PACKET WRITING USING THE BACKUP IMAGE
This procedure is designed for CD/DVD-R media with the Spanning Interchange level and Packet Writing. If a problem is
encountered with the current write surface, a new media can be created from the backup image. This option is enabled by
default for CD/DVD-R media, but may also be used on Optical WORM media. By default, the QStar Software will create the
backup image in the cache root of each Integral Volume set, the System Administrator needs to be sure there is adequate disk
space for this purpose. The backup images can be stored in another location, the System Administrator can change it by editing
the in the /opt/QStar/vl/files/conf file and typing a new value between the quotes of the following line:
The directory entered between the quotes will need to exist. With this option set, the backup images of all sets will be stored in
this common location.
The backup image is named as udf_image_backup_set_name and will be the same block size and capacity as the media
surface currently being written to. When the media is closed, the backup image is deleted and a new one is created for the next
media in the Integral Volume set, if there is a failure, the vlinset command is used to create a new media surface for the Integral
Volume set from the backup image.
Example - to use the backup image to restore to the media number “4” with a new media in shelf 10 for jukebox named jb for an
Integral Volume set named Test, enter:
The backup image will be used to create a new media for the Integral Volume set; the media will be the same as the original,
with a copy number increased by “1”.
If the media is single sided, once the vlinset command has completed the recording of the backup image, it will automatically
substitute the original media in the Integral volume set with the new backup media.
If the media is double sided and the problem occurred to the side A, once the vlinset command has completed the recording of
the backup image to the side A will initialize side B and after that will automatically substitute the original media in the Integral
volume set with the new backup media.
If the media is double sided and the problem occurred to the side B, the vlinset command first will copy the side A of the
original media to the side A of the backup media and when the copy is completed it will record the backup image to the side B.
Once the vlinset command has completed the recording of the backup image to the side B, it will automatically substitute the
original media in the Integral volume set with the new backup media.
Note: For more detailed information about the vlinset command, please refer to Chapter 9 - Command Reference in this
manual.
Page 88 of 88
This chapter describes how to recover from various hardware failures. Earlier sections covered error recovery for each module,
this section covers overall steps to recovering Media sets in the event of a hardware failure, while ensuring minimum downtime
and preventing data loss or corruption. Any message relating to a hardware problem will be sent to the system console window
and recorded in the QStar syslog file.
• Diagnostic utilities
• Jukebox failure
Page 1 of 22
DIAGNOSTIC UTILITIES
The QStar Software contains several diagnostic utilities allowing users to easily collect information about the status of the QStar
Software and the devices it is managing. They can be used as tools to monitor the system status and view events, errors and
warnings messages. These utilities provide a quick look at the activity of the actions performed by the QStar Software and can
help to identify and solve potential problems that occurred during the runtime of the system.
- The QStar syslog file where all events, errors and warning messages are chronologically logged. This information can then
be used for debugging, detecting and diagnosing system errors or problem identification in the system.
- The qscsi_log command is used for device debugging purposes and allows the System Administrator to collect and view all
the SCSI commands issued to and received from the device in order to detect hardware errors.
- The vlconsole command is used to list and manage warning messages and Software requests sent by the QStar Software to
the System Administrator.
- The mail notification service will inform System Administrators of issues that arise in the storage configuration as soon
as they appear.
Page 2 of 22
The syntax of the qscsi_log command is as follows:
The qscsi_log command can be run with different options, the options are specified using the flags listed below:
-n|-f Enable (-n) or disable (-f) SCSI command logging for the selected device(s).
-g Get the SCSI log. The SCSI log is printed on stdout and saved in /opt/QStar/log/last_scsi_log file.
-L Print sense key, additional sense key and additional sense key qualifier only. This is the default.
Select the device(s) that should have the SCSI information logged by specifying the device_name and the optional drive_number.
If the drive_number is omitted, the option is applied to the robot and all the drives of this device. If the drive_number is equal to
0, the option is applied to the robot. Otherwise, the drive_number specifies the drive it is applied to.
The qscsi_log command allows collecting all SCSI information for only one jukebox at a time.
1) To enable SCSI logging for the changer and all drives contained in the jukebox identified as jb, enter:
#>qscsi_log -n jb
2) To enable SCSI logging for drive 1 only contained in the jukebox identified as jb, enter:
#>qscsi_log -n jb 1
3) To enable SCSI logging for drive 2 only contained in the jukebox identified as jb, enter:
#>qscsi_log -n jb 2
4) To enable SCSI logging for all drives within the jukebox identified as jb, enter:
#>qscsi_log -n jb all
Page 3 of 22
5) To enable SCSI logging for a standalone drive identified as rsdo0, enter:
#>qscsi_log -n rsdo0
#>qscsi_log -n rdrive0
Immediately, for the selected device(s), the qscsi_log command will start to collect each SCSI command sent, including the
time, the device information (Scsi bus, Target ID, Lun), and the type and parameters of the SCSI command. In addition, the
sense key, additional sense key and additional sense key qualifier for the SCSI commands that return an error code will also be
logged.
The QStar Software can display the last 50 commands or all the SCSI information logged.
#>qscsi_log -g
2) To have the SCSI log daemon automatically collect all the SCSI command information in the /opt/QStar/log/scsi_log file,
enter:
#>qscsi_log -c
The QStar Software will collect all the SCSI information until the QStar scsi_log file reaches a size of 2 Mb. Once the 2 Mb size
is reached the QStar scsi_log file is automatically renamed to scsi_log.old and a new scsi_log file is created. The QStar
Software will save the last 4 Mb (2+2) of SCSI information, so very old information might be lost.
Note: The “-c” option disables the “-g” option; to reinstate the “-g” option run qscsi_log -C command.
Note1: In both case the most recent SCSI information are listed at the end of the stdout or the scsi_log file.
Page 4 of 22
C) Change the characteristic of the SCSI information logged
Once the SCSI logging is enabled, it is possible to change the characteristic of the SCSI information that is logged.
1) To collect all the SCSI information including all bytes of the SCSI sense, enter:
#>qscsi_log -l
Note: This option is useful for the SCSI commands that return an error code.
2) To collect sense key, additional sense key and additional sense key qualifier only (this is the default), enter:
#>qscsi_log -L
3) To collect only the SCSI commands that returns an error code (non-zero sense), enter:
#>qscsi_log -e
#>qscsi_log -E
1) To disable SCSI logging for the changer and all drives contained in the jukebox identified as jb, enter:
#>qscsi_log -f jb
2) To disable SCSI logging for drive 1 only contained in the jukebox identified as jb, enter:
#>qscsi_log -f jb 1
3) To disable SCSI logging for drive 2 only contained in the jukebox identified as jb, enter:
#>qscsi_log -f jb 2
3) To disable SCSI logging for all drives within the jukebox identified as jb, enter:
#>qscsi_log -f jb all
#>qscsi_log -f rsdo0
#>qscsi_log -f rdrive0
Note: If the qscsi_log command was started with one/or all of the options “-c”, “-e”, and/or “-l” and the qscsi_log command
was stopped using the “-f” flag. The next time the qscsi_log command is started the default will be whatever the previous
settings were. To reset the default before stopping the qscsi_log use the options “-C”, “-E” and /or “-L” before using the “-f”
flag.
Page 5 of 22
The VLconsole Command
The vlconsole command displays and manages warning messages and requests from the QStar Software to the System
Administrator.
Using the vlconsole command it is possible to list these requests, check the status and if required cancel an event. QStar allows
the System Administrator to decide to cancel a request or to satisfy it, whichever is more convenient. The vlconsole –l command
displays a list of all the pending requests that the VL module sent to the System Administrator and their status. For example, a
typical request can be to import an erased or an offline media and the status can be pending, satisfied, or canceled.
Note1: For more detailed information on the vlconsole command, please refer to Chapter 9 - Command Reference or read the
"Managing Offline Media under VL Control" section in Chapter 5 - The Volume librarian in this manual.
The System Administrators can get mail notification about abnormal events in the QStar Software.
Abnormal events are - drive/jukebox failures, unrecoverable write errors, requests for additional medium (no more space in the
Integral Volume set), requests for medium that is currently offline, etc.
QStar Software puts messages into the /opt/QStar/log/message file and then executes this script.
To receive the mail, please select the appropriate mail program for your computer and
set the DESTINATION_MAIL_ADDRESS ([email protected]).
To test this script please create the /opt/QStar/log/message file and execute the script.
DESTINATION_MAIL_ADDRESS=
if [ -n "$DESTINATION_MAIL_ADDRESS" -a -f /opt/QStar/log/message ]; then
#
# /bin/mail $DESTINATION_MAIL_ADDRESS < /opt/QStar/log/message
# /usr/sbin/Mail -s "message from QStar server" $DESTINATION_MAIL_ADDRESS < /opt/QStar/log/message
# /usr/sbin/mailx -s "message from QStar server" $DESTINATION_MAIL_ADDRESS < /opt/QStar/log/message
# /usr/bin/mailx -s "message from QStar server" $DESTINATION_MAIL_ADDRESS < /opt/QStar/log/message
#
mv /opt/QStar/log/message /opt/QStar/log/message.old
Page 6 of 22
DRIVE FAILURE IN A JUKEBOX
If the jbscheduler daemon detects an error during access to the media in a drive, jbscheduler automatically marks this drive as
bad and pauses all I/O requests to the device. All other drives will function as normal. The System Administrator can determine
where the problem originates by using the jbstatus command:
#>jbstatus jb
DISK-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online full bad loaded shelf 1a Note: Drive is marked bad.
Drive 2: online empty
-----------
Shelf 1: online loaded bad open drive 1 Note: Shelf is marked bad.
Shelf 2: online full
Shelf 3: online full
Shelf 4: online empty
Shelf 5: online empty
The System Administrator can follow two procedures to clear the drive and media bad status:
jbshelf [-H host_name] [-nfbr1AB] device_name shelf_number [-p {cd-rom | cd-r | cd-rw | dvd-rom | dvd-r | dvd-ram |
dvd-rw | dvd-rw-s}] device_name shelf_number
Both procedures will reset the drive, unload the media to its storage shelf and clear both bad flags. The I/O request will then
continue. If the same drive is again marked bad, the drive should be set offline using the jbdrive command until it is repaired.
Once the drive is functional, it can be set online with the jbdrive command.
Page 7 of 22
Example 1 - Clear the bad status on the drive and media using the jbreset command.
#>jbreset jb 1
JB: jb drive 1: is set offline
JB: jb shelf 1: is set offline
JB: jb drive 1: is set online
JB: jb shelf 1: is set online
#>jbstatus jb
DISK-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online empty Note: Drive is unloaded and bad flag is cleared.
Drive 2: online empty
-----------
Shelf 1: online full Note: Shelf’s bad flag cleared.
Shelf 2: online full
Shelf 3: online full
Shelf 4: online empty
Shelf 5: online empty
Example 2 - Clear a bad status for a drive and shelf using the jbdrive and jbshelf commands to take the drive and shelf offline
and online.
#>jbdrive -bf jb 1 Note: Sets the drive offline, this will eject the media from
JB: jb drive 1: is set offline the drive, and return it to the shelf.
#>jbshelf -bf jb 1 Note: Sets the shelf offline and reset the bad flag on shelf 1.
JB: jb shelf 1: is set offline
#>jbshelf -n jb 1
jb shelf 1: is set online Note: Sets the shelf 1 online, so it available.
Page 8 of 22
Recovery for Lost Source Shelf Information
This error can be introduced by human intervention or hardware failure. In this case, the jukebox loads a media into the drive,
and because of a hardware error, forgets which shelf the media came from. The jbstatus command output displays this media as
having lost the source shelf information. The QStar Software redirects the following message into the /opt/QStar/log/syslog file
as well as displaying it on the system console window:
To clear this error the System Administrator must use the jbreset command additionally specifying an empty shelf number
that will be used by the QStar Software as the destination for this media.
#>jbstatus jb
DISK-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online full lost source shelf Note: Drive is full with unknown media.
Drive 2: online empty
-----------
Shelf 1: online empty
Shelf 2: online full
Shelf 3: online full
Shelf 4: online empty
#>jbstatus jb
DISK-jb – JUKEBOX TYPE
-----------
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online empty Note: Drive is empty and the error is cleared.
Drive 2: online empty
-----------
Shelf 1: online full Note: Shelf is full.
Shelf 2: online full
Shelf 3: online full
Shelf 4: online empty
Page 9 of 22
Example of Recovery for Unknown Shelf Type Information
This error can be introduced by a hardware failure during the refreshing operation executed with the vlrefresh command and it
is specific for DVD/CD jukeboxes with mixed drives types or drives that support different types of media. Prior to the refresh
procedure, all media types are assigned for every full shelf. This allows the loading of the media into all drives during the
refresh procedure to determine the correct media type for each shelf. The media type is automatically set after the refresh
procedure. After that, the jbscheduler will only allow the correct media to be loaded into the drive that can handle the media
type. If during the refresh procedure the jukebox loads media into a drive and because of a hardware error could not detect the
media type of the shelf, the QStar Software automatically will remove all the profile information for the shelf in order to force
the System Administrator to refresh the shelf once again. The jbstatus command output displays this shelf without the media
type information. Using the jbshelf command with -r flag will reset the profile information for the media. The correct media
type for the shelf will then be determined at the next refresh.
#>jbshelf -r jb 2
jb shelf 1: is set online cd-rom dvd-rom dvd-r dvd-ram
Shelf 1: cd-rom dvd-rom dvd-r dvd-ram online full
#>jbstatus jb
DVD-jb – JUKEBOX TYPE
------------
Carrier 1: empty
------------
Mailslot 1: empty
------------
Drive 1: cd-rom dvd-rom dvd-r dvd-ram online empty
Drive 2: cd-rom dvd-rom dvd-r dvd-ram online empty
Drive 3: cd-rom dvd-rom dvd-r dvd-ram online empty
Drive 4: cd-rom dvd-rom dvd-r dvd-ram online empty
------------
Shelf 1: cd-rom 1-side online full
Shelf 2: cd-rom dvd-rom dvd-r dvd-ram online full
Shelf 3: dvd-ram online full
Shelf 4: dvd-r 1-side online full
Note: The Shelf 2 is displayed with all media types. The correct media type for the shelf will be determined by running the
vlrefresh command for the specific shelf.
Page 10 of 22
JUKEBOX FAILURE
In the event of jukebox failure, media cannot be moved between the shelves and drives. Depending upon jukebox manufacturer
and model, there may be an error code in the jukebox display. Refer to the jukebox manual for this information. The following
steps should be carried out:
5) Ensure the jukebox is configured the same as before the failure (SCSI Ids, etc), then restart the workstation.
6) Refresh the jukebox with vlverify and vlrefresh -f commands, for more detailed information see Chapter 9 - Command
Reference in this manual.
7) Remount all sets. All sets will mount quickly if they unmounted cleanly, sets that would not unmount may take longer to
mount.
Page 11 of 22
ERROR CONDITION DURING MOUNT
The mountiv command can return with an error condition.
This section will explain what these errors mean and how to remedy them.
mountiv: host_name: , set Test: Migrator files invalid or belong to different set
This error means that the sdf_db files are corrupted or are already in use with another Integral Volume set. Check to see if the
cache root directory specified for this Integral Volume set is the same as another Integral Volume set. If it is the same, change it
or remove all files inside the cache root directory and run the mountiv command.
mountiv: /export/home/Test: host_name: , set Test: prepare cache: Cache files belong to different filesystem
This error means that the “cfs_*” files are already in use with another Integral Volume set (set with cache). Check to see if the
cache root directory specified for this Integral Volume set is the same as another Integral Volume set. If it is the same, change it
or remove all files inside the cache root directory and run the mountiv command again with the option, “-n”.
This error means that the mount point specified for this Integral Volume set is already in use by another Integral Volume set or
file system. Change the mount point directory.
mountiv: /export/home/Test: clean_cache required: Cache files may need to be recreated. Use -f flag to mount with
existing cache
This error means that the “cfs_*” files may already be in use by another or old Integral Volume set. Check to see if the cache
root directory specified for this Integral Volume set is the same as another Integral Volume set. If it is the same, change it or
remove all files inside the cache root directory or run the mountiv -n command to clean the cache. If the cache root directory
belonged to an Integral Volume set that was recreated, run the mountiv -f command to mount using the existing cache files.
mountiv: /export/home/Test: Migrator files may need to be recreated. Use -f flag to mount with existing migrator
database
This error means that the Integral Volume set information has been recreated and the sdf_db files have been used with a
different or old Integral Volume set. If the Integral Volume set is the same as the old one and only the Integral Volume set
information has changed, run the mountiv -f command to mount using the existing migrator database. If the Integral Volume set
is not the same, remove all files inside the cache root directory or run the mountiv -n command to clean the cache.
Page 12 of 22
ERROR HANDLING AND RECOVERY FOR ALL FILE
SYSTEMS
The archive component of an Integral Volume set is typically a mass storage device such as a Tape, Optical, DVD or CD
jukebox connected either to the local computer or to another computer on the network. These mass storage devices, as well as
the network, can have hardware faults which cause an error to be produced during archiving. The Migration Server protects the
integrity of the Integral Volume set, and its data, by maintaining the currently processed delayed event in the queue until the
Migrator has notified it of successful completion.
The status of the cache can be monitored using the mmparam command and if an error occurs, the “Error Condition” line of
this command will display the following message:
Error condition: COVERED ERROR
At this point, the System Administrator can fix the problem with the archive and resume normal processing by clearing the error
condition of the Integral Volume set using the following command:
Note: This command can be used in conjunction with two different flags, “-e” and “-n”. Never use these flags without
contacting QStar Technical Support Personnel first. For more detailed information on the mmresume command, please refer
to Chapter 9 - Command Reference in this manual.
Note1: If a DVD jukeboxes is used once the covered error is cleared using the mmresume command, QStar highly recommends
checking to see if the media type information of the current write surface is still reported correctly in the jbstatus output . If the
media type information is suspicious or is not displayed correctly the System Administrator must clear the media type
information and refresh it. To achieve this follow the procedure explained in the Example of Recovery for Unknown Shelf
Type Information session on this chapter.
If necessary, the Integral Volume set may be unmounted and the system halted to repair the problem with the archive prior to
issuing the mmresume command. During this entire process, the maximum level of availability to data is maintained while at
the same time protecting the Integral Volume set from data loss or corruption.
Page 13 of 22
POWER FAILURE, SYSTEM CRASH OR REBOOTING
WITHOUT UNMOUNTING
In the event of a system crash due to power failure or other cause, the Integral Volume sets will not be cleanly unmounted.
Some steps will be taken care of automatically, but the System Administrator must ensure other steps are carried out to bring the
Integral Volume sets back online. The set database will be initialized on startup by _vlserver and any media left in drives will be
returned to their shelves when the jbscheduler starts. The first time the Integral Volume sets are mounted after the sever was
rebooted the QStar Software will perform a consistency check between the cache file system and the cache log file (called
Transaction Logging Cache), this action is completely transparent to the users.
1) Check the consistency of the disk partition containing the QStar cache using the UNIX fsck command:
2) Remount the sets using the mountiv command. Some sets may take longer to mount, as the QStar Software may need to
carry out further recovery procedures or consistency checks.
3) After the set is mounted, try to access a file. If an I/O error is received it means that the db_files (sdf_db or udf_db files)
present in the cache partition are corrupted.
To rebuild these index_files, umount the sets and run the following commands:
For SDF file system, specify the SDF volume number (starting from 1), which must be used for restoring SDF database.
Without this option (or if volume number is equal to 0) the SDF database will be restored from the last surface in the set.
The database will be restored from specified volume and SDF events will be replayed from that medium. The saved
database on the next volume will not be used to restore data base. Rather the data portion of the SDF volume will be
scanned and events replayed. This process continues until last medium (surface) in the set is scanned. The mirrored SDF
volume set restore with this option is not supported.
For UDF file system with Spanning Interchange Level. Specify the span number of the surface which must be used for
restoring a spanning database. Without this option the database will be restored from the last surface in the set. If this
number is "+", a spanning database will be incrementally built (data from volumes not represented in the existing database
will be added to it).
Once the vlrestore_fsdb command has completed remount the Integral Volume sets.
Note: This command will require a long time to restore all the db_files. For more detailed information on the vlrestore_fsdb
command, please refer to Chapter 9 - Command Reference in this manual.
Page 14 of 22
RECOVERY FROM MAGNETIC DISK CACHE FAILURE
In the event of a magnetic disk failure that contains the cache, the cache data will need to be rebuilt from the media contained in
the set. Since the media set is a self contained file system, the cache can be recovered from the media set. After the cache is
rebuilt, initial access to the set will be slow. Requests are serviced from the archive media. This information is then cached. This
is refereed to as “rebuild on demand”. To speed up this process, a user can force a demand by requesting the directory structure
in part or in full, the UNIX ls command can be used to achieve this. Then, any future access to files will ensure the directory
information is already in cache, improving performance. The cache can be rebuilt to the same or different location. If disk space
is available, you can change the location of the cache.
To rebuild the cache (in the same location), use the “-n” flag for the mountiv command to specify a new cache.
Example:
#>mountiv -n set1 /optical
To rebuild the cache in a new location, use the vlcache command to specify the new location. Next, use the mountiv command
with the “-n” flag.
Example:
#>vlcache -p XXX -c /cache/set1_cache set1
This specifies /cache/set1_cache as the cache location and XXX as the number of 64K pages in cache (cache size).
#>mountiv -n set1 /optical
This will mount the Integral Volume set with a new cache using the parameters specified in the vlcache command.
Page 15 of 22
ERROR RECOVERY IN THE VL DATABASE
QStar's Software contains features that allow you to recover from most errors introduced by human error or caused by hardware
failure. If the VL database gets out of synch with the jukebox status, this can be due to a hardware problem or human
intervention with the jukebox. To recover from this, there is a utility called vlrefresh that can be run on a single shelf, multiple
shelves or all the shelves contained in the jukebox. See the Chapter 9 - Command Reference for full details or Chapter 5 -
The Volume Librarian in the “Fixing Database Inconsistencies” section.
#>vlimport jb 1
jb: refreshing shelf 1 ...
vlimport: Medium in the VL database already exists
jb JUKEBOX TYPE
FS_type Size Type LabelName/Seq_no Set_id/SetName
----------------------------------------------------------------------------
1a: dup 2.4 Gb Rewritable Seq=0 SetId=807aeea2.34ba1fc5
1b: dup 2.4 Gb Rewritable Seq=2 SetId=807aeea2.34ba1fc5
2a: dup 2.4 Gb Rewritable Seq=0 SetId=807aeea2.34ba1fc5
2b: dup 2.4 Gb Rewritable Seq=2 SetId=807aeea2.34ba1fc5
Note: In the example, the SDF file system is used.
To solve the problem created by the duplicate media, it is sufficient to export one of the identical media from the jukebox using
the vlexport command.
The following example shows that exporting the media on shelf 1 with the vlexport command solves the duplicate media
problem. After the media is exported, the vllsdev command displays the appropriate information about the media. If the media
belongs to an Integral Volume set, the Integral Volume set is now mountable.
Using the vlexport command the duplicate media is removed from the jukebox:
#>vlexport jb 1
jb JUKEBOX TYPE
FS_type Size Type LabelName/Seq_no Set_id/SetName
----------------------------------------------------------------------------
1a: sdf 2.4 Gb Rewritable Seq=0 SetId=807aeea2.34ba1fc5
1b: sdf 2.4 Gb Rewritable Seq=2 SetId=807aeea2.34ba1fc5
Page 16 of 22
Set Status in the VL Database when a Duplicate Media is
Imported into the Jukebox
If the duplicate media is identical to a media already added to the Integral Volume set, the vlserver, that manages the VL
database, locks the Integral Volume set making the Integral Volume set temporarily unavailable until the duplicate media is
exported from the jukebox using the vlexport command.
#>vllsset -v Test
Test
Use_media=disk,writable Spread=no Quota=1024 Media=8
Restore_fsdb=no Read_only=no Make_copy=no
Set status=Not mountable. There are duplicate media
Set_type=sdf (standard data format)
SetId=5246b54c.36fa4670
Cache: Cache_root=/home/cache_Test
Max_number_of_pages=100
0: Online=jb:1 Sequence_numbers=0,1 Mounted=a,b
2: Online=jb:2 Sequence_numbers=2,3 Mounted=a,b
Page 17 of 22
TROUBLESHOOTING
In this section, the most frequently encountered warning and error messages are listed and explained with the relative solution.
Page 18 of 22
MESSAGE DISPLAYED FOR ALL VL COMMAND PROBLEM AND SOLUTION
Example: The specified set does not exist in the VL set database.
vldelset Test Using the vllsset –a command, check the set names that
Message: are available in the VL set database.
vldelset: host xxx: set Test: open set
database: Set does not exist
Page 19 of 22
Example: The specified shelf cannot be added to the set because
vladdtoset Test jb 6 it is empty or it contains a type of media that does not
Message: match the type of media specified for the set in the VL
vladdtoset: host xxx: , device jb: shelf 6: set database.
Medium cannot be added to set Using with vllsset –va command, check the
specification made for the media in the VL set database.
Page 20 of 22
MESSAGE DISPLAYED FOR QSTAR MOUNT COMMAND PROBLEM AND SOLUTION
Page 21 of 22
Page 22 of 22
This chapter describes all the QStar commands and displays some examples for more detail.
Page 1 of 138
VLCLOSE ..................................................................................................................................... 84
VLCMP.......................................................................................................................................... 85
VLCONSOLE................................................................................................................................ 87
VLCOPY........................................................................................................................................ 89
VLCRSET ..................................................................................................................................... 92
VLDELFROMSET....................................................................................................................... 100
VLDELSET ................................................................................................................................. 101
VLEDITSET ............................................................................................................................... 102
VLERASE ................................................................................................................................... 106
VLEXCHANGE ........................................................................................................................... 109
VLEXPORT................................................................................................................................. 110
VLIMPORT ................................................................................................................................. 112
VLINSET .................................................................................................................................... 117
VLLSDEV ................................................................................................................................... 119
VLLSSET.................................................................................................................................... 121
VLMAGAZINE............................................................................................................................ 123
VLMEDIAUSAGE ...................................................................................................................... 124
VLMVSET................................................................................................................................... 125
VLPING ...................................................................................................................................... 126
VLQLIST .................................................................................................................................... 127
VLQMOVE.................................................................................................................................. 128
VLQREMOVE ............................................................................................................................. 129
VLRECORD................................................................................................................................ 130
VLREFRESH .............................................................................................................................. 132
VLREPLACE ............................................................................................................................... 134
VLRESTORE_FSDB .................................................................................................................. 135
VLREUSE ................................................................................................................................... 136
VLVERIFY .................................................................................................................................. 138
Page 2 of 138
QSTAR REMOTE ADMINISTRATION INTERFACE
The QStar commands can be used to remotely configure and manage any devices controlled by another QStar server. If user
access is allowed, the Remote Administration can be run from any workstation on the network. The System Administrator can
remotely run all the QStar commands by including the “-H host_name” option with the command. In addition, it is possible to
use the admin.exe GUI program from Windows 2000/2003/XP/Vista/2008. Before using the admin.exe command to remote
administer a remote host, the Remote Administration option must be enabled on the local server.
Below are the fields related to the Remote Administration from the “/opt/QStar/vl/files/conf” file.
The Allowed option allows Remote Administration of the QStar Software from any client machine.
The Allowed Hosts option allows Remote Administration of the QStar Software only from specified hosts (client machine).
Note: For more detailed information about priv.users setting, please refer to Chapter 3 - Installing and Configuring QStar
Software in this manual.
All the QStar commands are available in the /opt/QStar/bin directory and the System Administrator can check which commands
can be run remotely by reading the description of the QStar commands found in this chapter.
Note: No license is required to intall the remote server to remotely run the QStar commands.
Page 3 of 138
A) Example of the vllsset command ran on the remote server:
Note: The server name is also diplayed in the vllsset command output.
alfa#>jbstatus -H beta jb
Carrier 1: empty
Carrier 2: empty
-----------
Mailslot 1: empty
-----------
Drive 1: online full loaded shelf 2a
Drive 2: online empty
-----------
Shelf 1: online empty
Shelf 2: online loaded open drive 1
Shelf 3: online empty
Shelf 4: online empty
Shelf 5: online empty
Shelf 6: online empty
Shelf 7: online empty
Shelf 8: online empty
Shelf 9: online empty
Shelf 10: online full
Shelf 11: online empty
Shelf 12: online empty
Shelf 13: online empty
Shelf 14: online empty
Shelf 15: online full
Shelf 16: online full
alfa#>vllsdev -H beta jb
beta: jb JUKEBOX TYPE
FS_type Size Type LabelName/BC/Seq_no Set_id/SetName
-----------------------------------------------------------------------------
1: empty
Page 4 of 138
2a: sdf 2.4 Gb Rewritable Seq=0 SetId=687077ff.3b535493
2b: sdf 2.4 Gb Rewritable Seq=1 SetId=687077ff.3b535493
3: empty
4: empty
5: empty
6: empty
7: empty
8: empty
9: empty
10a: sdf 2.4 Gb Rewritable Seq=2 SetId=687077ff.3b535493
10b: sdf 2.4 Gb Rewritable Seq=3 SetId=687077ff.3b535493
11: empty
12: empty
13: empty
14: empty
15a: sdf 2.4 Gb Rewritable Seq=4 SetId=687077ff.3b535493
15b: sdf 2.4 Gb Rewritable Seq=5 SetId=687077ff.3b535493
16a: erased
16b: erased
Note: The server name is also diplayed in the vllsdev command output.
Page 5 of 138
Remote Administration of a UNIX Server from a WINDOWS
Machine
QStar Software UNIX Version can be operated with limited functionality using the the admin.exe program from a Windows
2000/2003/XP/2008 Operating System. Once the Remote Administration is enabled the System Administrator can run the
admin.exe command. To Start the Remote Administration Interface run the following command.
If the hostname or IP address of the server is known the program can be started as follows:
Note: In the example, production is the hostname and 10.10.10.10 is the IP address of the server.
If the product installed is Data Director (Mirroring) add -ddr option to the command as follows:
Not all functionality is available for the remotely administered system and some view panes are missing completely from the
Remote Administration Interface. All the functionality of the QStar Administration Interface are explained in the QStar
System Administrator's Guide for Windows platforms.
Note: At the top of the QStar Administration Interface the IP and Sever Name are displayed for the system being remotely
managed.
The following outline is separated into the various view panes of the QStar Administration Interface. Starting from the top
all the view panes are listed displaying the functions that are Unavailable and Available from the Remote server.
Server:
Unavailable view pane:
Security
Available view panes:
Server Status
Unavailable Functions:
Change Server Priority
Access Security view pane
Starting / Stopping Servers
Installing / Un-installing Software
Changing Security
Available Functions:
Server / Daemons Status
Devices:
Unavailable view pane:
Jukebox Configuration
Unavailable Functions:
Reconfigure Jukebox
Troubleshooting
Available view pane:
Jukebox Status
Unavailable Functions:
Access To Troubleshooting (all low level qscsi commands)
Page 6 of 138
Available Functions:
Edit JB Parameters
Drive/Shelf Manipulation (On/Off/Reset)
Element Status
Jukebox Statistics
Media:
Unavailable view pane:
Available Functions:
Creating SDF/UDF Integral Volumes
Unmounting Sets
Starting / Stopping Secondary Mirrors
Viewing Sets Information
Altering Cache Size, and HPC/LPC Attributes
Switching to Mount on Clean Cache, and Rebuild Database
Page 7 of 138
Media Management
Available Functions:
Adding Media to an Integral Volume
Removing Media from an Integral Volume
Migration View
Available Functions:
Migration Parameters / Status
Archiving
HPC / LPC Adjustment
Restart Mirror
Compaction
Unavailable Functions:
Scheduling Compaction
Available Functions:
Media Usage Status
Media Usage Compaction
Explorer
Unavailable Functions:
Properties
Available Functions:
Keep in cache
Don't Keep in Cache
Keep Full File
Don't Keep Full File
Add tree
Copy Tree
Copy Data (Prefect)
Remove Tree
Remove Data
Attributes
Log:
Unavailable view pane:
Syslog
Scsi Log
Email Notification
Page 8 of 138
COMMAND CONVENTIONS
The commands available in the Windows and UNIX operating systems are the same. The only difference will be the name
convention used, in most cases for the comparable command under Windows, use the first two characters of the UNIX
command, then add CMD and a space, for example: JBIMPORT under UNIX will become JBCMD IMPORT under
Windows. For simplicity the commands reported in this chapter will follow the UNIX convention and below is a list of the
corresponding commands for Windows.
Note: In the examples, the Unix path and device name for the jukebox are used (example /opt/QStar/dev/jb/rjb1a; jb, jb1, jb2).
The default Windows name of the device is JB0, JB1, etc, and the path should be changed with the Windows path. For
Windows, the default path is C:\qstar\; an alternate path may be chosen at installation. For UNIX this path is /opt/QStar, but
this may be altered by installing QStar in an alternate directory, then creating a symbolic link to /opt/QStar.
Page 9 of 138
CMPDISK
NAME
cmpdisk - Compares two optical disk surfaces.
SYNOPSIS
DESCRIPTION
OPTIONS
-v Verbose.
EXAMPLES
Page 10 of 138
COPYDISK
NAME
copydisk - Makes a copy of an optical disk surface.
SYNOPSIS
DESCRIPTION
NOTES
These are raw devices, so, for example, to refer to the media on
shelf one, type /opt/QStar/dev/jb/rjb1a.
OPTIONS
-v Verbose.
NOTES
EXAMPLES
Page 11 of 138
FLOC
NAME
floc – Locates which media a file is located on.
SYNOPSIS
DESCRIPTION
OPTIONS
None
NOTES
EXAMPLES
/file1:
2 data_pages (128 KB)
Vol 0: 128 KB
/folder1/folder2/file2:
2 data_pages (128 KB)
Vol 0: 128 KB
Page 12 of 138
FLSVOL
NAME
flsvol – Lists all files located on a media surface.
SYNOPSIS
DESCRIPTION
OPTIONS
None
NOTES
EXAMPLES
flsvol /cache/test 1
Lists all files located on volume (sequence number) 1
where the cache root is /cache/test.
Page 13 of 138
JBCLEANING
NAME
jbcleaning - Loads a cleaning tape from the shelf into the drive.
SYNOPSIS
DESCRIPTION
The jbcleaning command loads a cleaning tape from the shelf to the
drive. The shelf is specified by the shelf_number argument. The
drive is specified by the drive_number argument.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbcleaning jb 1 2
Loads a cleaning tape from the shelf number 2 to drive
number 1.
Page 14 of 138
JBDRIVE
NAME
jbdrive – Changes or shows the status of a jukebox drive.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
Page 15 of 138
–u priority_number | rrr:www:rw | auto | default
Sets the priority for the usage of the drives. This flag
is used for jukeboxes with CD-ROM, CD-R,DVD-ROM, DVD-R
and DVD-RAM drives present. The priority defines the
order in which the drives are used by jbscheduler when
it is looking for an appropriate drive.
NOTES
- online/offline,
- full/empty,
- bad, if the last move operation with this drive failed.
- shelf_number and side ('a' or 'b'), if the drive
contains a media.
NOTES
EXAMPLES
jbdrive jb 1
Drive 1: online empty
Page 16 of 138
JBEXPORT
NAME
jbexport – Exports a media from the jukebox.
SYNOPSIS
DESCRIPTION
The first form of the jbexport command exports a media from the
shelf to the mailslot. The shelf is specified by the shelf_number
argument.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbexport jb 1
Export the media from shelf 1.
Page 17 of 138
JBFLIP
NAME
jbflip – Inverts a media in the drive.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbflip jb 1
Page 18 of 138
JBIMPORT
NAME
jbimport – Imports a media into the jukebox.
SYNOPSIS
Page 19 of 138
DESCRIPTION
The first form of the jbimport command imports a media from the
mailslot to the shelf. The shelf is specified by the
shelf_number argument.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-S [A=]disk_id:{rw|worm}:{number_of_blocks|xxMB|xxGB}:block_size
A new HD disk is created to represent a rewritable (rw) or
WORM(worm) disk with the capacity specified by
number_of_blocks and block_size. If A= is present,the disk
has side A only. Without A=,the disk is two-sided. Each
surface is represented by a file in directory dir_path
associated with the HD disk jukebox. The actual file name
is <disk_id>_A.rw_<number_of_blocks>_<block_size> for side
B and <disk_id>_B.rw_<number_of_blocks>_<block_size> (if
it exists). The block_size must be divisible by 512 and
not exceed 8192. The disk capacity must be greater than or
equal to 10MB and less than 100GB. Number_of_blocks may be
specified indirectly as xxMB or xxGB, where "xx" is the
number of megabytes(MB) or gigabytes(GB).
-S [A=]disk_id:[rw|worm]:shortcut
The same but the disk capacity is derived from a real disk type
specified by shortcut:
pdd Number_of_blocks 10789472, block_size 2048.
udo Number_of_blocks 1834348, block_size 8192.
udo2 Number_of_blocks 3669718, block_size 8192.
mo91 Number_of_blocks 1095840, block_size 4096.
dvdram Number_of_blocks 2236704, block_size 2048.
dvd-r Number_of_blocks 2297888, block_size 2048.
cd-r Number_of_blocks 327680, block_size 2048.
bd-re Number_of_blocks 11826176, block_size 2048.
bd-rs Number_of_blocks 12219392, block_size 2048.
With dvdram, dvd-r, cd-r, bd-re, or bd-rs, the medium type
(rw|worm) must be omitted. With pdd, udo, udo2, or mo91, the
medium type must be present.
-S [A=]disk_id
An existing HD disk is imported.
Page 20 of 138
-S tape_id:capacity_meg:{dlt|sdx|sdz|ultrium}:{rw|worm}
A new HD tape is created to represent a tape. Capacity_meg
specifies the tape capacity in megabytes and must be greater
than or equal to 10 MB and less than 1000 GB. A tape can
be rewritable (rw) or WORM (worm). A tape can be one of the
following types:
dlt DLT tape.
sdx SONY SDX tape.
sdz SONY SDZ (S-AIT) tape.
ultrium IBM/HP ULTRIUM tape.
-S tape_id
An existing HD tape is imported.
-S [A=]centera_disk_id:{number_of_blocks|xxMB|xxGB}:block_size
A new Centera disk is created to represent a WORM disk.
If A= is present, the disk has side A only. Without
A=, the disk is two-sided. The disk capacity is
specified as for HD disk and has the same limitations.
-S [A=]centera_disk_id:shortcut
The same as above but the disk capacity is derived from shortcut (see
above).
-S [A=]centera_disk_id
An existing Centera disk is imported.
-S centera_tape_id:capacity_meg:{dlt|sdx|sdz|ultrium}
A new Centera tape is created. The tape capacity and
type are specified as for HD tape.
-S centera_tape_id
An existing Centera tape is imported.
EXAMPLES
jbimport jb 1
Import a media from the mailslot to shelf 1.
Page 21 of 138
JBLOAD
NAME
jbload - Loads a media from the shelf into the drive.
SYNOPSIS
DESCRIPTION
The jbload command loads a media from the shelf to the drive. The
shelf is specified by the shelf_number{a|b} argument where the
shelf number is concatenated with the letter designating which
side('a' or 'b')is to be inserted. The drive is specified by the
drive_number.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-o {rdonly|wronly}
Specifies the mode in which loaded media should be
accessible: read or write-only. Without this option,
the read-write access is assumed.
NOTES
Either both the shelf and drive must be offline or the jbscheduler
should not be running.
EXAMPLES
jbload jb 1 2a
Loads a media from the shelf number 2 to drive number 1
with the A side up.
Page 22 of 138
JBMAGAZINE
NAME
jbmagazine - Exchanges media in the jukebox using the magazines.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-v Verbose
Prints a list of the shelves exchanged.
EXAMPLES
jbmagazine jb
Page 23 of 138
JBMOVE
NAME
jbmove - Moves a media from one shelf to another in the jukebox.
SYNOPSIS
DESCRIPTION
The jbmove command moves a media from the source shelf to the
destination shelf in the jukebox.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbmove jb 1 2
Moves the media from the shelf 1 to shelf 2.
Page 24 of 138
JBPARAM
NAME
jbparam – Prints or sets the tunable time parameters of the
jukebox.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is connected.
Without this option, the local host is used.
NOTES
This mechanism protects disks from spinning in the drives for long
periods of time with no activity. It also makes access to heavily
used platters quicker by leaving them in the drive for longer than
one access.
Page 25 of 138
If the inactive time is set to zero, a media loaded in a drive will
stay in the drive until another media needs to be loaded into the
drive.
The quantum time must be twice the value of the idle time if
the idle time is not zero.
ERROR MESSAGES
Page 26 of 138
ERROR MESSAGES
NOTES
The idle time must be set to a value between 5 seconds and one half
of the jukebox quantum time or to zero to disable this mechanism.
NOTES
The -idq options set the time parameter to the value of the seconds
argument. This value can be specified as a number of seconds or the
letter D that means the default value.
EXAMPLES
jbparam -q 20 jb
Sets the quantum time to 20 seconds.
Page 27 of 138
JBPING
NAME
jbping - Checks to see if the jbserver is running.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbping
jbping: JB server thread is running.
Page 28 of 138
JBRESERVE
NAME
jbreserve – Sets the reserve time for the surface.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbreserve jb 1a 15
Page 29 of 138
JBRESET
NAME
jbreset - Clears the bad status of a drive.
SYNOPSIS
DESCRIPTION
The jbreset command clears the possible bad status of a drive. The
drive is specified by the drive_number argument. If the drive
contains a medium, jbreset first clears the possible bad status of
the shelf and then moves the medium back to its shelf. The
online/offline status of the drive and shelf is not changed.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbreset jb 1
Page 30 of 138
JBSCHEDCHECK
NAME
jbschedcheck – Checks to see if the jbscheduler is running for a
jukebox.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbschedcheck jb
jb: Jbscheduler is running.
Page 31 of 138
JBSCHEDULER
NAME
jbscheduler – Starts the scheduler for a jukebox.
SYNOPSIS
DESCRIPTION
The jbscheduler command starts the scheduler daemon for the jukebox
specified by the device_name argument.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbscheduler jb
jb: Jbscheduler is running.
Page 32 of 138
JBSHELF
NAME
jbshelf – Changes or shows the status of the jukebox shelves.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-1 Sets single sided media type for the shelf. This flag
is used with jukeboxes that support single and double
sided media.
-A or –B
Sets specified profile for side A or side B
respectively. Without these options profile is set for
both sides of double sided media.
Page 33 of 138
-p Sets media type of the shelf.
This flag is used for jukeboxes with CD-ROM, CD-R, DVD-
ROM, DVD-R, DVD-RAM, BD-ROM, BD-RS drives present.
The jbstatus command shows drives capabilities and media
type of the shelves. The media type is automatically
set and can be altered with -p option, and after that,
the jbscheduler will only load a media to a drive, that
can handle this media type. The -p option can be used
several times. Value 1 is the same as -1 flag.
NOTES
EXAMPLES
jbshelf -f jb 2
Sets the shelf number 2 offline.
Page 34 of 138
JBSHUT
NAME
jbshut – Stops the jbscheduler for a jukebox.
SYNOPSIS
DESCRIPTION
The jbshut command stops the jbscheduler for the specified jukebox.
This command sends a stop request to the jbscheduler. The
jbscheduler will be stopped only if there are no outstanding
requests waiting for jbscheduler and all sets are unmounted.
- Exits.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbshut –f jb
Stop jbscheduler unconditionally.
Page 35 of 138
JBSIM
NAME
jbsim - Manages simulated devices.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the jukebox will be created.
Without this option, the local host is used.
-L Prints shelves and locations of imported media. For HD/proxy medium the
location is the pathname of the file representing the medium. For Centera
medium, it is just volume Ids of its surfaces. Without this option (and
without -P option) the location is just volume Ids.
-P Prints volume Ids of all media (imported and not imported) associated with
this jukebox.
-h {disk|tape}
Creates a simulated HD jukebox with name device_name and the
number of shelves equal to shelf_count. -h disk creates a disk
jukebox, -h tape - a tape jukebox. Each disk/tape is a file on
the hard drive (HD disk/tape). The last argument - dir_path -
specifies the directory where these files will be held. Each
shelf in the jukebox has two sides.
Page 36 of 138
The dir_path argument is the location where the simulated media will
be created. Inside the dir_path location a file called __links will
be automatically created. This file can be used to insert the
directories pathname of the other locations where the simulated media
will be created. This allows the System Administrator to specify
several locations where the simulated media will be created in case
the main partition has limited space. In the __links file every
continuation directory pathname occupies a single line. Empty lines
and lines that begin with the “#” sign are ignored. The simulated
media will be created on the main dir_path once there is no space
available for new simulated media the Software will start to create
the new simulated media in the location specified in the __links files
starting from the first pathname inserted.
-c {disk|tape}
Creates a simulated Centera jukebox with name device_name and
the number of shelves equal to shelf_count. -c disk creates a
disk jukebox, -c tape - a tape jukebox. Each disk/tape resides
on the Centera. Each shelf in the jukebox has two sides. An
optional argument centera_index specifies which Centera storage
system (1-30) will hold the jukebox. The default centera_index
is 1.
-q {disk|tape}
Creates a simulated CAS jukebox with name device_name and
the number of shelves equal to shelf_count. -q disk creates a
disk jukebox, -q tape - a tape jukebox. Each disk/tape resides
on the CAS. Each shelf in the jukebox has two sides. An
optional argument qcas_index specifies which Centera storage
system (1-30) will hold the jukebox. The default qcas_index is
1.
-p Creates a proxy disk jukebox with name device_name and the num-
ber of shelves equal to shelf_count. The device_name must be
in form "proxyN" where N is from 1 to 31 (for example proxy1,
proxy23). Each disk is a file on the hard drive. dir_path
specifies the directory where these files will be held. The
last argument specifies the destination jukebox: dst_device_name
is its device name. from_shelf and to_shelf specify the range
of shelves used to find a destination disk. If they are absent,
all shelves are used. With A=, the disks are 2-sided, otherwise
1-sided.
PROXY DISKS
All proxy disks are automatically imported at the time of the jukebox
creation. A proxy disk is automatically added to the set if the set
defintion includes proxy media. When the proxy disk becomes fully
written, it is copied to a disk in the destination jukebox. After the
copy, the destination disk is used in the set instead of the proxy
disk, whereas the proxy disk is declared empty and can be used again.
Page 37 of 138
IMPORT IN SIMULATED JUKEBOX
-S+ Import all existing media. Import starts from the shelf specified
by shelf_number. Already imported media and full shelves are skipped.
-S [A=]disk_id:{rw|worm}:{number_of_blocks|xxMB|xxGB}:block_size
A new HD disk is created to represent a rewritable (rw) or WORM
(worm) disk with the capacity specified by number_of_blocks and
block_size. If A= is present, the disk has side A only. With-
out A=, the disk is two-sided. Each surface is represented by a
file in directory dir_path associated with the HD disk jukebox.
The actual file name is <disk_id>_A.rw_<num-
ber_of_blocks>_<block_size> for side B and <disk_id>_B.rw_<num-
ber_of_blocks>_<block_size> (if it exists). The block_size must
be divisible by 512 and not exceed 8192. The disk capacity must
be greater than or equal to 10 MB and less than 100 GB. num-
ber_of_blocks may be specified indirectly as xxMB or xxGB, where
"xx" is the number of megabytes (MB) or gigabytes (GB).
-S [A=]disk_id:[rw|worm]:shortcut
The same as above but the disk capacity is derived from a real
disk type specified by shortcut:
pdd Number_of_blocks 10789472, block_size 2048.
udo Number_of_blocks 1834348, block_size 8192.
udo2 Number_of_blocks 3669718, block_size 8192.
mo91 Number_of_blocks 1095840, block_size 4096.
dvdram Number_of_blocks 2236704, block_size 2048.
dvd-r Number_of_blocks 2297888, block_size 2048.
cd-r Number_of_blocks 327680, block_size 2048.
bd-re Number_of_blocks 11826176, block_size 2048.
bd-rs Number_of_blocks 12219392, block_size 2048.
With dvdram, dvd-r, cd-r, bd-re, or bd-rs, the medium type
(rw|worm) must be omitted. With pdd, udo, udo2, or mo91, the
medium type must be present.
-S [A=]disk_id
An existing HD disk is imported.
-S tape_id:capacity_meg:{dlt|sdx|sdz|ultrium}:{rw|worm}
A new HD tape is created to represent a tape. Capacity_meg
specifies the tape capacity in megabytes and must be greater
than or equal to 10 MB and less than 1000 GB. A tape can
be rewritable (rw) or WORM (worm). A tape can be one of the
following types:
dlt DLT tape.
sdx SONY SDX tape.
sdz SONY SDZ (S-AIT) tape.
ultrium IBM/HP ULTRIUM tape.
Page 38 of 138
A tape is represented by a file in directory dir_path associated with
the HD tape jukebox. The actual file name is <disk_id>_A.<type> where
<type> is dlt, sdx, etc.
-S tape_id
An existing HD tape is imported.
-S [A=]centera_disk_id:{number_of_blocks|xxMB |xxGB}:block_size
A new Centera disk is created to represent a WORM disk. If A=
is present, the disk has side A only. Without A=, the disk is
two-sided. The disk capacity is specified as for HD disk and
has the same limitations.
-S [A=]centera_disk_id:shortcut
The same as above but the disk capacity is derived from shortcut (see
above).
-S [A=]centera_disk_id
An existing Centera disk is imported.
-S centera_tape_id:capacity_meg:{dlt|sdx|sdz|ultrium}
A new Centera tape is created. The tape capacity and type are
specified as for HD tape.
-S centera_tape_id
An existing Centera tape is imported.
EXAMPLES
Page 39 of 138
JBSTATISTICS
NAME
jbstatistics - Manages JB statistics.
SYNOPSIS
DESCRIPTION
The 1st form of the command prints or clears shelf statistics. The
2nd form of the command prints or clears drive statistics. The 3rd
form of the command prints or clears carrier statistics. The 4th
form of the command prints or clears statistics for all shelves,
drives, and carrier. With the –C option, the command clears
statistics, otherwise it prints it.
OPTIONS
-S {LRBPS}
Prints statistics in descending order according to the
value of number of loads (L), number of recovered errors
(R), number of cases when shelf/drive was marked bad (B),
number of PDL blocks (P), or number of SDL blocks (S).
-C {LRBPS...|a}
Clears statistics for number of loads (L), number of
recovered errors (R), number of cases when shelf/drive was
marked bad (B), number of PDL blocks (P), number of SDL
blocks (S). -Ca is equal to -CLRBPS and clears all
numbers.
Page 40 of 138
-s Used in the 1st form of the command and specifies that
the arguments after device_name are shelf numbers or
surfaces (Na or Nb where N is the shelf number). If
there are no arguments after device_name, the command is
applied to all shelves.
EXAMPLES
jbstatistics jb
Prints the statistics information of jukebox “jb”.
Page 41 of 138
JBSTATUS
NAME
jbstatus – Prints the status of the jukebox.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is connected. Without
this option, the local host is used.
EXAMPLES
jbstatus jb produces
-----------------
Carrier 1: empty
-----------------
Mailslot 1: empty
-----------------
Drive 1: online full loaded shelf 2a
-----------------
Shelf 1: online empty
Shelf 2: online loaded drive 1
Shelf 3: online empty
Shelf 4: online empty
Shelf 5: online full
Shelf 6: online empty
Shelf 7: online empty
Shelf 8: online empty
Shelf 9: online empty
Shelf 10: online full
Shelf 11: online empty
Shelf 12: online empty
Page 42 of 138
JBUNLOAD
NAME
jbunload – Unloads a medium from a drive.
SYNOPSIS
DESCRIPTION
The jbunload command unloads a medium from the drive back to the
shelf. The drive is specified by the drive_number argument. Either
the shelf and drive must be offline or the jbscheduler should not
be running. If a medium is an open tape it cannot be unloaded.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
jbunload jb 1
Unloads a medium back to the shelf.
Page 43 of 138
MKISO
NAME
mkiso - Creates an ISO 9660 image image for recording.
SYNOPSIS
mkiso [-RJDSq]
[-s system_id]
[-v volume_id]
[-V volume_set_id]
[-p preparer_id]
[-P publisher_id]
[-a application_id]
[-c charset]
[-x exclude_path]
[-o {image_file_name|-}]
[cd_dir_name=]path[...]
DESCRIPTION
OPTIONS
Page 44 of 138
-q Silently ignore large (>2GB) files. The ISO-9660
filesystem does not support such files. Without this
option if a large file is encountered, mkiso prints an
error and exits. With this option mkiso skips the file
and continues.
-v volume_id
Sets the volume id of the image to volume_id (maximum
32 chars). The volume_id is used as the Volume Label of
the CD/DVD media that will be used by the QStar Software
as the root directory of the CD/DVD media within the
Integral Volume set.
-V volume_set_id
-p preparer_id
-P publisher_id
-s system_id
-a application_id
Sets optional volume_set_id, preparer_id, publisher_id,
system_id or application_id fields of the ISO volume
descriptor.
-c charset
Specifies the charset to be used for translating
filenames to unicode. This option will have no effect
unless -J is also specified. The Unicode translation
table for the charset is required to be in the
/opt/QStar/vl/files sub-directory.
-x exclude_path
Excludes files or directories matching the set pattern.
This option allows specifying which types of files
should not be included in the ISO image. This option
may be repeated as necessary.
-o image_file_name
-o –
Specifies the image output file name. In the first form
the output image will be written to image_file_name. In
second form the output will be written to a standard
output. If it is not a regular file but rather a pipe,
8 bytes of image size are written before the actual
image. If the -o is omitted no output is produced but
the mkiso will print the information about image size
only.
Page 45 of 138
[cd_dir_name=]path
Directory of file named path will be copied into
resulting image under name cd_dir_name. If cd_dir_name
is omitted then root directory is assumed. The argument
may be repeated, but at least one path argument is
required.
EXAMPLES
Page 46 of 138
MKUDF
NAME
mkudf - Creates an UDF volume image from a specified file tree.
SYNOPSIS
DESCRIPTION
The mkudf command creates an UDF volume image containing file trees
specified by path arguments, which may later be recorded onto an
optical or CD/DVD disk.
For every path argument, the file specified by path will keep its
name in the image (if dir_name= is omitted) or will be renamed to
dir_name (if dir_name= is present).
OPTIONS
-o image_file
Specifies the pathname of the file where the volume image
will be stored. Specifing '-' for the image_file sends the
image to standard output.
-b block_size
Specifies the block size on the media. The default is 2048.
-l logical_volume_identifier
Specifies the logical volume identifier of the volume. The
logical_volume_identifier is used as the Volume Label of the
CD/DVD media that will used by the QStar Software as a root
directory of the CD/DVD media within the Integral Volume set.
-u {150|200|201}
Specifies the UDF revision. Default is 1.50.
-m {rewritable|worm}
Specifies the medium type: rewritable or WORM. Default is
worm.
EXAMPLES
Page 47 of 138
MMADMIN
NAME
mmadmin - Administrative operations for MCFS.
SYNOPSIS
mmadmin -s set_name
DESCRIPTION
OPTIONS
-c {all|rec,vbtree,pbtree,sbtree,page}
Checks MCFS consistency. The results are sent to the
log/<set_name> _manager_consistency file in the release area.
What is checked is a comma separated list of keywords:
-p dst_root_path
Saves files with primary data under the destination directory
dst_root_path.
Page 48 of 138
-d cache_root {info|chunk|entry|cnode|event|btree|acl|crypto|pte}
element_number
Prints dump of the cache file element. The cache is specified
by cache_root. The file whose element is to be dumped is
specified by one of the following words:
EXAMPLES
Page 49 of 138
MMARC
NAME
mmarc - Starts archiving.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-a age
Stops archiving when all delayed events created before
the agetime specified are processed.
-s Stops archiving.
.
-w Waits for archiving to stop. Without this option, the
command returns immediately.
-j delayed_job_name
Specifies the job name used to identify the job in the
delayed job list. If the delayed_job_name is the
keyword "default", the actual job name will be generated
automatically. Without the –j flag the job will be
executed according to the -d flag (without the -d flag,
the job will execute immediately).
Page 50 of 138
-S Schedules archiving by cron time. Cron schedule: Minute
Hour Day Month Weekday.
For more detailed information about the syntax, please
refer to the crontab man pages.
EXAMPLES
Page 51 of 138
MMCHMOD
NAME
mmchmod - Changes the migration attributes of the cache files.
SYNOPSIS
DESCRIPTION
OPTIONS
-U uid
Changes the owner of the files. New owner is specified
by uid.
-u user_name
Changes the owner of the files. New owner is specified
by user_name.
-G gid
Changes the group ID of the files. New group is
specified by gid.
-g group_name
Changes the group ID of the files. New group is
specified by group_name.
Page 52 of 138
-t file|dir
-p file_pattern
-p *.exe - changes attributes for all files with .exe at the end
of the file name.
-p m?x - changes attributes for files max, mox, mix. But files
max1, maax still unchanged.
NOTES
The current file attributes are printed by the mmls command. The
total number of keep in cache and archive never pages are printed
by the mmparam command.
Page 53 of 138
EXAMPLES
mmls /mnt
Directory -f-k /
Directory -f-k files
Directory -f-k scratch
The command mmls shows the current directory attributes.
mmchmod +k /mnt/files
Change the “Keep in cache” directory attibute.
mmls /mnt
Directory -f-k /
Directory -f+k files
Directory -f-k scratch
The command mmls shows the new directory attributes.
Page 54 of 138
MMEXEC
NAME
mmexec - Handles cache manager.
SYNOPSIS
mmexec -R cache_root [-p {max_number_of_pages | xxMB | xxGB}] [-s
page_size] [-m mount_point] [-y crypto_parameters}] [-l
{all|no|list_of_log_options}] [-nr] set_name
mmexec set_name
DESCRIPTION
The mmexec command allows starting the cache manager, setting log
options, stopping cache manager and migrator, and performing Unix-like
commands with files in cache. The set is specified by set_name
argument. The first form of the command starts the cache manager.
Options -c, -p, -s, -m, -y, -l, -n, and -r are valid only with -R
option. The second form allows stopping the cache manager or migrator.
The third form allows specifying the log options. The fourth form
allows talking to a mounted set (run Unix-like commands).
OPTIONS
-R cache_root
Starts the cache manager and specifies the root directory of
the cache. The following options can be used with -R:
-s page_size
Specifies page size in kilobytes. The default is 64KB.
-m mount_point
Specifies mount point. In this case, cache manager mounts the
set (as it happens when mountiv command is issued). If this
option is not present, the only way to talk to the set would
be the fourth form of mmexec command.
Page 55 of 138
-y crypto_parameters
Specifies cryptographic parameters: digest and encryption.
Digest is specified by "digest[=SHA1|=SHA256|=SHA512]", the
default is SHA1. Encryption is specified by
"encrypt[=AES128|=AES192|=AES256|=AES512]", the default is
AES256. If both digest and encryption are present, they are
separated by a comma.
-l {all|no|list_of_log_options}
Specifies log options for the cache manager (the same syntax
for options as in -L, see below).
-r Read-only mount.
-K man set_name
Stops cache manager.
-K mig cache_root
Stops migrator specified by cache_root argument.
-L {all|no|list_of_log_options}
Specifies log options for the cache manager. The set must be
mounted or the cache manager must be started by mmexec -R
command. The log options are either "all" or "no" or a comma
separated list of other words:
all logs everything
no stops logging
client logs client events
covered logs covered events
arch logs archiving decisions
sync logs sync operations
pte logs page operations
scalc logs space calculation
readdir logs readdir operations
consist logs consistency checks
rlookup logs recent lookup operations
rreaddir logs recent readdir operations
rpte logs recent pte operations
wait logs waits
incore logs incore operations
-I {all|no|list_of_log_options}
Specifies log options for the kernel or FSI. The set must be
mounted or cache manager must be started by mmexec -R command.
The log options are either "all" or "no" or a comma separated
list of other words:
all logs everything
no stops logging
trace logs all events
rdwr log rdwr events
Page 56 of 138
MMDELAY
NAME
mmdelay - Prints information about delayed events.
SYNOPSIS
DESCRIPTION
The mmdelay command prints the information about the delayed events
that have not been processed to the covered filesystem. This
information contains the total number of delayed events in the
delayed event queue and two lines of information per event.
The first line contains the time when the event occurred, the event
name and the UID and GID of the process (client) who produced the
event.
The second line contains the attribute address of the file involved
in the event and specific information depending on the event type:
Page 57 of 138
If an inode number is printed as 0, the file that is used in
the event has not been created in the covered filesystem.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-n number
Prints the specified number of delayed events. Without
this option, the mmdelay command tries to print all of
the delayed events.
-c cache_root
Cache_root Pathname of the directory used as a cache
root. This option allows printing mmdelay information
without mounting the cache.
EXAMPLE
mmdelay /mnt
Example of the mmdelay output:
Page 58 of 138
MMLS
NAME
mmls - Lists information about the cache files.
SYNOPSIS
DESCRIPTION
Primary
The page has been modified or added to the file.
Replicated
The page was copied from the covered filesystem and has
not been modified.
Archived
The page has been written from the cache to the covered
filesystem.
If a file has a zero size and has not been created in the
covered filesystem, its migration status is "Non-covered".
Page 59 of 138
but lists the contents of the directory. Additional information is
printed depending on options.
OPTIONS
NOTES
1. The mmls command does not copy the directories it lists into the
cache. If the directory has not been copied into the cache by the
normal access (like ls command), the mmls command displays the
directory as empty. It allows using the mmls command in cases when
the cache has behaved strangely or is not mounted at all.
2. The mmls command does not communicate with the cache server
(even when the system is mounted) and reads the data directly from
the cache files. If the system is mounted and the server uses log
facility for writing into the cache files, mmls output may not be
up-to-date and inaccurate.
EXAMPLES
mmls /mnt
The command prints the following:
Directory -f-k /
Directory -f-k files
Directory -f-k scratch
Page 60 of 138
MMPARAM
NAME
mmparam - Prints information and set parameters for the cache.
SYNOPSIS
DESCRIPTION
Standard migrator:
Covered root directory name.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
Page 61 of 138
-l low_primary_capacity
Number of pages used to control a stop archiving policy.
When archiving starts because of the number of primary
pages in the cache becomes equal to the
high_primary_capacity value, it proceeds until the
number of primary pages in the cache is equal to or less
than the low_primary_capacity value.
The maximum value is the maximum number of pages in the
cache minus 1. The default is 0. The value may also be
specified in MB, GB and %(percentage) as follows: -l
xxMB -l xxGB -l xx% where "xx" is the numeric value.
-h high_primary_capacity
Number of pages used to control the start archiving
policy. Archiving starts when the number of primary
pages in the cache becomes equal to the
high_primary_capacity value.
The default and the maximum value are the maximum number
of pages in the cache. The value may also be specified
in MB, GB and %(percentage) as follows: -h xxMB -h xxGB
-h xx% where "xx" is the numeric value.
EXAMPLES
mmparam /mnt
The command prints the following:
Page 62 of 138
MMPING
NAME
mmping – Checks to see if the mmserver is running.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
mmping
mmping: MM server thread is running.
Page 63 of 138
MMPURGE
NAME
mmpurge - Removes pages from cache.
SYNOPSIS
DESCRIPTION
The mmpurge command removes from the cache all pages belonging to
the specified files. The files are specified by filename arguments.
A file must not have primary or keep-in-cache pages and must not be
active (open).
OPTIONS
-H host_name
Specifies the name of the host where the set
resides. Without this option, the local host is used.
EXAMPLES
Page 64 of 138
MMRESUME
NAME
mmresume - Resumes the cache.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
NOTES
EXAMPLES
mmresume /mnt
Page 65 of 138
MMSUBTREE
NAME
mmsubtree - Removes and/or adds a subtree in cache.
SYNOPSIS
mmsubtree -a path/new_subdir_name
mmsubtree -a [hostname:]setname/path/new_subdir_name
DESCRIPTION
OPTIONS
-r {tree|data|kill}
Remove a subtree from the cache. The root directory of
the subtree is specified by the path argument and must
exist in the cache. Specifying the data option means
that only data pages will be removed from the cache.
Specifying the tree option means that both directory
structure and data pages will be removed from the cache.
To remove data pages, all files in the subtree must not
be active (open).
The kill option removes a subtree without archiving. All
delayed events related to that subtree are removed. The
kill option is available for UDF file system used with
Automount Interchange Level and ISO file system.
Page 66 of 138
-c {tree|data}
Copy a subtree into the cache. The root directory of the
subtree is specified by the path argument and must exist
in the cache. Specifying the tree option means that only
directory structure will be copied into the cache.
Specifying the data option means that both directory
structure and data pages will be copied into the cache.
EXAMPLES
mmsubtree –r /images/dir10
Removes the hierarchy below directory dir10 from the
cache, resynchronizing on next access of the directory.
Page 67 of 138
MOUNTIV
NAME
mountiv - Mounts an Integral Volume set.
SYNOPSIS
DESCRIPTION
The mountiv command mounts the Integral Volume set to the mount
point specified by the mount_point argument. The Integral Volume
set name is specified by the set_name argument. An Integral Volume
set is a media set with a cache.
OPTIONS
-H host_name
Specifies the name of the host where the Integral Volume
set resides. Without this option, the local host is
used.
Page 68 of 138
-c cache_root
Specifies an alternative cache root for "dated mount" (see below).
The directory must exist and be different from regular cache
root for the set.
-t {[mmdd]HHMM|[cc]yymmddHHMM}
Specifies the date and time for "dated mount". The set will be
mounted (read-only) reflecting file system state on the specified
date/time. Cache root must also be specified for dated mount.
The dated mount is an SDF specific option.
mm is the month
dd is the day of month
HH is the hour (24 hour system)
MM is the minute
cc is the century
yy is the last 2 digits of the year
The month, day, year, and century may be omitted, in this case,
the current values are supplied as defaults.
NOTES
EXAMPLES
Page 69 of 138
QCENTERA
NAME
qcentera - Manages a Centera connection.
SYNOPSIS
qcentera [-i storage_index] -L{0|1}
qcentera -c {host=host_name|lib=lib_path|=}
qcentera -c pool[_centera_index]=pool_address
qcentera -c dir[_centera_index]=dir_path
qcentera -c ret[_centera_index]=ret_string
DESCRIPTION
Linux
LD_LIBRARY_PATH <centera_root>/lib/32
HP-UX
SHLIB_PATH <centera_root>/lib/32
Page 70 of 138
Aix
LIBPATH <centera_root>/lib/{32 or 64}
Windows
<centera_root>/lib
Solaris
<centera_root>/lib
Linux
<centera_root>/lib
HP-UX
<centera_root>/lib/32
Aix
<centera_root>/lib/{32 or 64}
The retention period is the time the volume can reside on the
Centera storage system before the system allows removing it.
By default the retention period is equal to 0 which indicates
that the disk/tape can be removed at any time. To set an
arbitrary retention period, ret_string has to be assigned to
ret in the Centera configuration (ret=ret_string). The
general form for ret_string is either "0" (set the retention
period to 0) or YyMmDdHh, where Y is the number of years, M
is the number of months, D is the number of days, H is the
number of hours. A month is equal to 30 days, a year - to
365 days. Any part can be omitted.
Page 71 of 138
The Centera daemon and the QStar servers exchanging data with
the Centera can run on different hosts. In this case, the name
of the Centera daemon host is the value (host_name)assigned to
host in the Centera configuration (host=host_name).
OPTIONS
-c lib=lib_path
Sets the path to the Centera SDK lib directory.
-c host=host_name
Sets the name of the host where the Centera daemon is
to run. The default is the local host.
-c pool[_centera_index]=pool_address
Sets the Centera pool IP address(es). The pool_address
is a comma-separated (without spaces) string of IP
addresses or DNS names of available Centera Access
Nodes. The default centera_index is 1.
“10.2.3.4,10.6.7.8?c:\centera\rwe.pea”
Page 72 of 138
Example - to specify the PEA file in the qcentera command,
enter:
qcentera –c pool=10.2.3.4,10.6.7.8?/centera/rwe.pea
This value will be passed to the pool, open the SDK function
and the PEA file will be used during authentication.
-c dir[_centera_index]=dir_path
Sets the root directory of the Centera volumes on the
Centera daemon host. The default centera_index is 1.
-c ret[_centera_index]=ret_string
Sets the retention period. The default centera_index is 1.
-c=
Prints the current configuration.
-d {start|stop|ping}
Handles the Centera daemon.
-d start starts the daemon.
-s {on|off|ping}
Handles Centera storage systems.
-s on sets the storage on.
-m store
Stores a volume map on the Centera. The Centera daemon
must be running. The ClipId of the clip where the
map has been stored is printed in the QStar Syslog tab.
-m store +
Stores all volume maps on the Centera.
Page 73 of 138
-m restore
Finds the last clip where the volume map was stored
and restores the map from that clip. If -h hours is
present it specifies the number of hours (to the current
moment) for which the clips are queried.
Without this option the number of hours is 24. For map
restoration, the Centera capability "clip-enumeration"
must be true. The Centera daemon must be running and
the volume must not be in use (e.g. mounted).
-m print
Prints the map contents. This operation does not need
the daemon and is always performed on the local host.
-R volume_id
Prints the retention information (creation date and
retention period) for the Centera volume specified by
volume_id.
-r volume_id
Removes the Centera volume specified by volume_id. The
Centera daemon must be running. The volume cannot be in
use (e.g. mounted). Clips comprising a Centera volume are
written with the retention period 0, which means that
they can be removed at any time. This operation removes
the clips belonging to the volume; the blobs will be
removed by the Centera garbage collection. Make sure that
the Centera capability "delete" is true and "garbage-
collection" and "data-shredding" are enabled.
-L {0|1}
Turns the Centera daemon debug log on (1) or off (0).
The daemon must be running.
EXAMPLES
qcentera -c=
Prints the Centera configuration.
qcentera -d start
Starts the Centera daemon.
Page 74 of 138
UDFDF
NAME
udfdf - Reports number of blocks and files in UDF set.
SYNOPSIS
DESCRIPTION
The udfdf command prints the total number of kbytes, the number of
used kbytes, the number of available kbytes, the percentage of used
kbytes, and the total number of files in the mounted UDF set. The
filename is a mount point or any file under it. The command is
primarily dedicated to auto-mount, where every volume is an
independent file system. Without options, prints a line for every
volume in auto-mount. Prints "deleted" or "not accessed yet", if
the volume in question has been deleted and has not been accessed.
OPTIONS
-H host_name
Specifies the name of the host where the set resides.
Without this option, the local host is used.
-a sequence_number
Prints the values for a specified volume.
-d dir_name
Prints the values for a volume whose root directory is
dir_name.
EXAMPLES
udfdf -f /mnt
Page 75 of 138
UMOUNT
NAME
umount - Unmounts a Volume set or a Integral Volume set.
SYNOPSIS
DESCRIPTION
EXAMPLES
umount /mnt
Unmounts the set mounted in /mnt mount_point.
Page 76 of 138
UMOUNTIV
NAME
umountiv - Unmounts an Integral Volume set.
SYNOPSIS
DESCRIPTION
The umountiv command finds the mount_point for the Integral Volume
set specified by the set_name argument. It then detaches the
mount_point from the Integral Volume set. If the mount_point and
Integral Volume set are located on the same host, umountiv closes
the Integral Volume set making the Integral Volume set unavailable
to all clients.
OPTIONS
-H host_name
Specifies the name of the host where the Integral Volume
set resides. Without this option, the local host is
used.
EXAMPLES
umountiv alpha
Unmount the Integral Volume set "alpha" on the local host.
Page 77 of 138
VLADDTOSET
NAME
vladdtoset - Adds media to set (Volume set or Integral Volume set).
SYNOPSIS
set_type set_type_specific_options:
sdf
udf [-A identifier][-B identifier]
uvfs [-X directory][-Y directory]
[-A identifier][-B identifier]
DESCRIPTION
The first form of the command initializes and adds media to the
set.
The second form of the command includes in the set all the media
in the device specified by the device_name argument which are
compatible with the set specified by the set_name argument. The
shelf_number argument specifies any shelf containing such a medium.
The third form of the command includes in the set all the media in
the device specified by the device_name argument which are
compatible with the set specified by the set_name argument and
occupy the shelves in the range specified by the
shelf_number:shelf_number argument.
The fouth form of the command adds an offline medium to the set
specified by the set_name and specifies its offline location.
Page 78 of 138
If the medium contains a set identification, the second or third
form of the command does not expand the set. It merely
includes media in the database for the specified set. If a medium
is already included in the set command does nothing. Such
operation is usually required after the device has been refreshed.
OPTIONS
-H host_name
Specify the name of the host where the device is
connected. Without this option, the local host is used.
-n number_of_media
Specifies the number of additional media which will be
initialized and added to the set. The total number of
media in the set must be less than or equal to the set
quota.
-f offline
Specifies the offline location for a medium offline.
-A identifier
Specifies the logical volume identifier assigned to the
surface A in the case of a single-volume or automount
set, if the surface is blank/erased and will be
initialized. If the option is not specified for the
surface, the logical volume identifier is generated by
the system.
-B identifier
Specifies the logical volume identifier assigned to the
surface B in the case of an automount set, if the
surface is blank/erased and will be initialized. If the
option is not specified for the surface, the logical
volume identifier is generated by the system.
-A identifier
Specifies the logical volume identifier assigned to the
surface A in the case of an automount set. If the
option is not specified for the surface, the logical
volume identifier is generated by the system.
Page 79 of 138
-B identifier
Specifies the logical volume identifier assigned to the
surface B in the case of an automount set. If the
option is not specified for the surface, the logical
volume identifier is generated by the system.
-X directory
Specifies the directory that will be assigned as surface
A of the virtual media.
-Y directory
Specifies the directory that will be assigned as surface
B of the virtual media.
EXAMPLES
vladdtoset -n 3 alpha
Initializes three media and adds them to the set
"alpha".
vladdtoset beta jb 4
Adds to the set "beta" all media (one of them is on the
shelf 4) which are compatible with the set "beta".
Page 80 of 138
VLCACHE
NAME
vlcache - Creates or edits cache information for an Integral Volume
set.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the set resides.
Without this option, the local host is used.
Page 81 of 138
-p{max_number_of_pages | xxMB | xxGB}
Sets the maximum number of pages that can be used for
caching data. If the -n is specified, this option is
mandatory. The -p xxMB -p xxGB syntax is also supported.
-s page_size
Sets the page size for the cache. The number should be
power of 2 in range from 1 to 128 and specifies page
size in K. Default is 64K and 128K is only for AIT tape.
-l low_primary_capacity
The number of pages used to control the stop archiving.
When archiving starts because of the number of primary
pages in the cache becomes equal to the
high_primary_capacity value, it proceeds until the
number of primary pages in the cache is equal to or less
than the low_primary_capacity value. The maximum value
is the maximum number of pages in the cache minus 1. The
default is 0. The value may also be specified in MB, GB
and %(percentage) as follows: -l xxMB -l xxGB -l xx%
where "xx" is the numeric value.
-h high_primary_capacity
The number of pages used to control the start archiving.
Archiving starts when the number of primary pages
in the cache becomes equal to or greater than
high_primary_capacity value. The maximum value is the
maximum number of pages in the cache (see the -p
option). The default value is 80% of the maximum number
of pages. The value may also be specified in MB, GB and
%(percentage) as follows: -h xxMB -h xxGB -h xx% where
"xx" is the numeric value.
-c cache_root
Specifies the cache root directory. If the cache_root
has not been specified or has been deleted by the –D
option, no cache is supposed to be assigned to the set.
-w {0|1}
With -w1, filesystem is worm. It is prohibited to
overwrite a file, remove it, or set its size. A
file can be only appended. With this option, grace and
retention periods are ignored. With -w0 or by
default, filesystem is not worm.
-x {0|1}
With -x1, file renaming in the worm filesystem or
after the grace period expires is prohibited. With -x0
or by default, it is allowed.
-g rdonly_grace_period
Specifies the grace period option. The grace period
option is used to specify a period of years, days,
hours, minutes and seconds as a timeout for modifying
Page 82 of 138
the state of an existing file or directory. Once the
grace period has expired, the file will be treated as a
read only file even for the Super User, so no one can
modify the files or directory on the volume. The
only way to modify the files is to remove the grace
period option from the set properties.
-R retention_period
Specifies the retention period option. The retention
period option is used to specify a period of years,
days, hours, minutes and seconds as a timeout
prohibiting modification/removal of the file. Once
the retention period has expired, the file can be
removed. If both the retention and rdonly grace periods
are specified, a file can be modified either before the
rdonly grace period expires or after the retention
period expires.
EXAMPLES
vlcache -l 2 set2
Sets the low primary capacity in set "set2" to 2.
Page 83 of 138
VLCLOSE
NAME
vlclose - Closes volume.
SYNOPSIS
DESCRIPTION
The command works with UDF disks only. If the disk belongs to a
single-volume set, it must be not mounted. If the disk
belongs to an automount set, during close procedure the disk is
deleted from the set, closed, and added back to the set.
After the disk is closed it is refeshed to update VL
databases.
OPTIONS
-H host_name
Specifies the name of the host where the set resides.
Without this option, the local host is used.
EXAMPLES
vlclose jb 1a
Closes the session on shelf 1a.
Page 84 of 138
VLCMP
NAME
vlcmp - Compares two media.
SYNOPSIS
DESCRIPTION
The vlcmp command compares two media to ensure that their contents
are identical. This command is used to verify a copy of a media
made with the vlcopy command to ensure it has copied correctly.
OPTIONS
-H host_name
Specifies the name of the host where the source_jukebox
and destination_jukebox are connected. Without this
option, the local host is used.
-v Verbose output.
-j delayed_job_name
Specifies the job name used to identify the job in the
delayed job list. If the delayed_job_name is the
keyword "default", the actual job name will be generated
automatically. Without the -j flag the job will be
executed according to the -d flag (without the -d
flag, the job will execute immediately).
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed
on the delayed jobs list. The job will be executed
immediately if there is no -j flag and no -d flag. If
there is a -j flag and there is no -d flag the job will
be executed according to the "CMP Delayed Start" field
in the vl/files/conf file. Note - the -d flag is only
usable by the superuser.
Page 85 of 138
mm is the month number
dd is the day number in the month
HH is the hour number (24 hour system)
MM is the minute number
cc is the century
yy is the last 2 digits of the year number
EXAMPLES
Page 86 of 138
VLCONSOLE
NAME
vlconsole - Manages the list of requests for manual assistance.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
Page 87 of 138
With the -E (-I) option, a request to export (import) a
medium is canceled. A medium is specified either by
device_name and shelf_number or (with -s option) by
set_name and in_set_number.
EXAMPLES
vlconsole –l
Prints all request.
vlconsole –r –S
Removes all satisfied events.
Page 88 of 138
VLCOPY
NAME
vlcopy - Creates a (backup) copy of a media.
SYNOPSIS
DESCRIPTION
NOTES
Both the copy and the original must reside on the same host. If
the media is double-sided both sides are copied.
OPTIONS
-H host_name
Specifies the name of the host where the device is
physically connected. Without this option, the local
host is used.
-h and -t
Flags -h and -t allows performing volume copy in SDF
mirror configuration. Here -h and -t should specify
set ID (which is a combination of the hostid and
timeid) for mirror set. For example, -h 0x12345678 -t
0xaabcd123. In this case volume copy will create a
Page 89 of 138
volume which belongs to mirror set 12345678.aabcd123.
Both options -h and -t should be specified. Supported
for SDF mirror sets only.
-c copy_number
Forces the value of the copy number in the volume_id
block to copy_number. Without this option, the
copy_number on the destination media is equal to the
copy_number of the original plus one.
-C yes|no
Compares source and target media after copy. This flag
takes effect only for delayed jobs.
-j delayed_job_name
Specifies the job name used to identify the job in the
delayed job list. If the delayed_job_name is the
keyword "default", the actual job name will be generated
automatically. Without the -j flag the job will be
executed according to the -d flag (without the -d flag,
the job will execute immediately).
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed
on the delayed jobs list. The job will be executed
immediately if there is no -j flag and no -d flag. If
there is a -j flag and there is no -d flag the job will
be executed according to the "COPY Delayed Start" field
in the vl/files/conf file. Note - the -d flag is only
usable by the superuser.
-r source_host_name
Remote sorce host name.
Page 90 of 138
EXAMPLES
vlcopy jb:3
Copies the media on shelf 3. The destination media will
be determined by the "COPY Jb Name", "COPY Start Shelf
Number", "COPY End Shelf Number" fields in the
vl/files/conf file.
Page 91 of 138
VLCRSET
NAME
vlcrset - Creates a set (Volume set or Integral Volume set).
SYNOPSIS
set_type set_type_specific_options:
uvfs [-v{s|a}]
nom
DESCRIPTION
The vlcrset command creates a new volume set. The set is specified
by the set_name argument. If the number_of_media argument is
present, it specifies the number of media which will be initialized
and included in the set. Without this argument the command does
not include any media in the set, it merely creates a record about
the set in the VL database. The number_of_media must be less than
or equal to the set quota.
Page 92 of 138
OPTIONS
-H host_name
Specifies the name of the host where the set resides.
Without this option, the local host is used.
-T set_type
Specifies the set type which defines the set specific
options in the command (see below). The default is nom
(set with no media).
-u use_media
Specifies the type of media which can be used in the set.
use_media is one of the following words:
disk Magnetic, optical, or simulated disks.
cd CD-ROM and CD-R disks.
tape Tapes.
dvd DVD disks.
writable Rewritable disks.
worm WORM disks.
rdonly Read-only disks.
cd-dvd CD-ROM, CD-R, DVD-ROM, and DVD-R disks.
bd-re Rewritable BD disks.
bd-rs Sequentially written and read-only BD disks.
bd-rom Read-only BD disks.
hd-sdisk Simulated HD disks.
hd-stape Simulated HD tapes.
c-sdisk Simulated CENTERA disks.
c-stape Simulated CENTERA tapes.
-q quota
Specifies the quota for the set. The quota is defined as
the maximum number of media that can be allocated to the
set. The default value depends on the set type.
Page 93 of 138
-r Filesystem is mounted read-only.
-U {local|share}
Used to specify whether an Integral Volume set can only
be mounted and accessed from the local server. The
default value is share.
[-p{yes|no}]
Used to specify whether an Integral Volume set can be
mounted at server restart.from The default value is no.
-b {full|cron_like_schedule|Publisher_schedule}
full
Automatic start of vlcopy (Copy Media). When current
media is filled up, vlcopy command copies it to first
available medium with the same capacity. This
option is available for SDF file system. It is also
available in spanning UDF for finalized media.
cron_like_schedule
Incremental start of vlcopy (Copy Media).
At a scheduled time the vlcopy command will
incrementally copy data to the first available
erased or blank media with the same capacity. Cron
schedule: Minute Hour Day Month Weekday. For
more detailed information about the syntax, please
refer to the crontab man pages. This option is
available only for SDF filesystem.
Publisher_schedule
Using Publisher device for copying the disks
(available only for simulated spanned UDF file
system).Publisher_schedule is in form Rn where n is
a number from 1 to 99 and it specifies the number of
copies required. If -b Rn is used, additional
Publisher options can be used later (-E, -Q, -Y, -L,
-k and -e).
Page 94 of 138
SET TYPES AND SPECIFIC OPTIONS
All set specific options must be used after the generic options listed
above. Not all set specific options that can be used in vlcrset can be
used in vleditset and vice versa. It makes sense not to use generic
option letters in the specific options of newly created set types.
sdf:
-c {default|on|off}
This option specifies the compression option.
on enable the compression.
off disable the compression.
default the compression is set as default.
This option is available only for tape jukeboxes.
-Z{1}
This option specifies the shredding mode. Only
RW disks are available for shredding mode. For
UDO WORM COMPLIANCE disks shredding mode
activated automatically. 1 is the shredding
algorithm number.
udf:
-v {s|a}
Specifies the interchange level: s - spanning set,
and a - automount set. Without this option the set
is single-volume.
-R {150|200|201|250|260}
Specifies UDF revision which will be assigned
to a blank/erased disk when it is initialized and
added to the set. The default is 150.
Page 95 of 138
-P {0|1}
With -P1, CDR/DVDR blank surface or a surface with
an empty last session can be initialized for packet
writing and added to the set. With –P 0 (default),
such a surface is considered uninitial-izable and
left intact.
-S {0|1}
For single-volume and automount sets. With -S1,
the system will make space calculation in order to
prevent accepting data into the cache if there is
no enough space on the disk. This is the default.
With -S0, space calculation is disabled and lack
of disk space will result in a covered error.
-W {0|1}
With -W1, write verification is enabled: after
write, data is read and tested for comparison
against the data that has been written. With -W0,
write verification is disabled (default).
-F {0|1}
For spanning sets. With -F1, file spanning is
enabled: if there is no space on the last volume
where the file resides, the file will be spanned
to the next volume with enough space. This is the
default. With -F0, file spanning is disabled: if
there is no space on the volume where the file
resides, the file will be moved to the next volume
with enough space.
-V {0|1}
For spanning sets. With -V1, once the WORM volume
becomes full it is closed. With -V0, there is no
automatic closing (default).
-B {0|1}
For spanning sets. With -B1, image backup is used
for CD-R/DVD-R (default). With -B0, image backup
is not used.
-E {CDR|DVDR}
For vlcopy with using Publisher device.
To use this parameter, option -b Rx should be
specified on the command-line before.
Parameter allows to select what disk type is used
by Publisher.
Page 96 of 138
-A {Publisher_media_retained}
For vlcopy with using Publisher device.
To use this parameter, option -b Rx should be
specified on the command-line before.
Publisher_media_retained specifies the number of
last media retained in set, other finalized
media are exported and disk space freed.
-D {0|1|2|3}
For vlcopy with using Publisher device.
To use this parameter, option -b Rx should be
specified on the command-line before. Automount
set suppors this option. The number (0,1,2,3)
points to simulated medium disposal actions
after publishing.
0 declares media online (no addition actions).
1 declares media offline (export media from set).
2 declares media offline and reuse space (export
media from set and then add new empty simulated
media).
3 declares media offline, purge cache and reuse space.
Last two actions allows to use media retained
parameter together.
-Q {Publisher_host_name}
For vlcopy with using Publisher device. To use
this parameter, option -b Rx should be specified on
the command-line before. Publisher_host_name
specifies the host name where QPublisher daemon is
running. Now localhost is the only allowed value
for this option.
-Y {Publisher_port}
For vlcopy with using Publisher device. To use
this parameter, option -b Rx should be specified on
the command-line before. Publisher_port specifies
the port for QPublisher daemon. If omitted, the
default port (5006) will be used.
-L {label_file}
For vlcopy with using Publisher evice. To use this
parameter, option -b Rx should be specified on the
command-line before. Label_file specifies the label
file for the copying job. When the next disk is
being produced, it will be printed with the label.
The additional parameters may be specified with -k
and -e options.
Page 97 of 138
-k {Parameter_name}
For vlcopy with using Publisher device (printing
parameters). Parameter_name specifies the next
parameter name to be used with the label file (see
-L option). Every parameter (option -k) has to
have the corresponding value(option -v). There can
be more than one parameter/value pair in the
command line.
-e {Parameter_value}
For vlcopy with using Publisher device (printing
parameters). Parameter_value specifies the next
parameter value to be used with the label file (see
-L option). Every parameter value (option -v)
should have the corresponding parameter name
(option -k). There can be more than one
parameter/value pair in the command line.
nom:
uvfs:
-v {s|a}
Specifies the interchange level: s - spanning set,
and a - automount set. Without this option the set
is single-volume.
Page 98 of 138
EXAMPLES
Page 99 of 138
VLDELFROMSET
NAME
vldelfromset – Removes a media from a set (Volume set or Integral
Volume set).
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the set resides.
Without this option, the local host is used.
EXAMPLES
vldelfromset alpha 0
Removes the media with in_set_number="0" from the set
"alpha".
SYNOPSIS
DESCRIPTION
The vldelset command removes the record about the set from the VL
database. It does nothing with the media included in the set.
OPTIONS
-H host_name
Specifies the name of the host where the set resides.
Without this option, the local host is used.
EXAMPLES
vldelset alpha
Removes the set "alpha" from the VL database.
SYNOPSIS
set_type set_type_specific_options:
sdf [-c {default|on|off}](tape media only)
[{-m {-|[hostname_2]:setname_2} | -2
[hostname_1]:setname_1}] [-h {low|high|normal}]
udf [-R {150|200|201|250|260}] [-P {0|1}] [-S {0|1}] [-W {0|1}]
[-F {0|1}] [-V {0|1}] [-B {0|1}][-Q Publisher_host_name]
[-Y Publisher_port_name] [-L Pubisher_label_file]
[ [-k label_param1 -e label_value1] [-k label_param2 -e
label_value2] ...]
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the set resides.
Without this option, the local host is used.
-q quota
Specifies the quota for the set. The quota is defined as
the maximum number of media that can be allocated to the
set. The default value depends on the set type.
-r {0|1}
Disable and enable the read-only option.
-b {none|full|cron_like_schedule}
none
Disables any type of Automatic start of vlcopy
(Copy Media).
full
Automatic start of vlcopy (Copy Media). When
current media is filled up, vlcopy command copies
it to first available medium with the same
capacity. This option is available for SDF file
system. It is also available in spanning UDF
for finalized media.
cron_like_schedule
Incremental start of vlcopy (Copy Media). At a
scheduled time the vlcopy command will
incrementally copy data to the first available
erased or blank media with the same capacity. Cron
schedule: Minute Hour Day Month Weekday. This
option is available only for SDF file system.
sdf:
-c {default|on|off}
This option specifies the compression option.
on enable the compression.
off disable the compression.
default the compression is set as default.
This option is available only for tape jukeboxes.
-R {150|200|201|250|260}
Specifies UDF revision which will be assigned to a
blank/erased disk when it is initialized and added to the
set. The default is 150.
-P {0|1}
With -P1, CDR/DVDR blank surface or a surface with an
empty last session can be initialized for packet writing
and added to the set. With –P 0 (default), such a
surface is considered uninitializable and left intact.
-S {0|1}
For single-volume and automount sets. With -S1, the
system will make space calculation in order to
prevent accepting data into the cache if there is not
enough space on the disk. This is the default. With
-S0, space calculation is disabled and lack of disk
space will result in a covered error.
-W {0|1}
With -W1, write verification is enabled: after
write, data is read and tested for comparison
against the data that has been written. With -W0,
write verification is disabled (default).
-F {0|1}
For spanning sets. With -F1, file spanning is
enabled: if there is no space on the last volume
where the file resides, the file will be spanned
to the next volume with enough space. This is the
default. With -F0, file spanning is disabled: if
there is no space on the volume where the file
resides, the file will be moved to the next volume
with enough space.
-V {0|1}
For spanning sets. With -V1, once the WORM volume
becomes full it is closed. With -V0, there is no
automatic closing (default).
-B {0|1}
For spanning sets. With -B1, image backup is used
for CD-R/DVD-R (default). With -B0, image backup
is not used.
-Q {Publisher_host_name}
For vlcopy with using Publisher device. Publisher_host_
name specifies the host name where QPublisher daemon is
running. Now localhost is the only allowed value for
this option.
-L {label_file}
For vlcopy with using Publisher device. label_file spec
ifies the label file for the copying job. When the next
disk is being produced, it will be printed with the
label. The additional parameters may be specified with -k
and -e options.
-k {Parameter_name}
For vlcopy with using Publisher device (printing param
eters). Parameter_name specifies the next parameter name
to be used with the label file (see -L option). Every
parameter (option -k) has to have the corresponding value
(option -v). There can be more than one parameter/value
pair in the command line.
-e {Parameter_value}
For vlcopy with using Publisher device (printing paramet
ers). Parameter_value specifies the next parameter value
to be used with the label file (see -L option). Every
parameter value (optio
n -v) should have the corresponding parameter name
(option -k). There can be more than one parameter/value
pair in the command line.
EXAMPLES
vleditset -r 1 beta
Turns the read only option on for the set "beta".
SYNOPSIS
DESCRIPTION
The first form of the command erases both sides of the media if the
surface (a or b) is not specified. The shelf is specified by the
shelf_number argument.
The second form of the command erases all existing media in the
range of shelves specified by the shelf_number:shelf_number
argument.
NOTES
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-v Verbose
Prints the progress report on the user terminal. If
erasing a single shelf (surface), the command prints a
line with the number of blocks, block size and
approximate time needed for erasing. If erasing a range
of shelves the command prints a line with shelf number.
-e Emulate erase
A special pattern will be written on the media instead
of physically erasing it. By default the QStar software
erases only the first 2048 blocks on each side of the
media, with the -f option the pattern will be written in
every block on the media. For vlrefresh a block with
this pattern is recognized as an erased block. Erase
emulation is available for magneto-optical rewritable
media only and its main purpose is to ensure that there
are no blank blocks on the media (blocks that cannot be
read without error). It should be used on media that
will hold the UDF file system and then will be moved to
a non-QStar Windows UDF implementation (some of which
will not recognize blank blocks).
-j delayed_job_name
Specifies the job name used to identify the job in the
delayed job list. If the delayed_job_name is the key
word "default", the actual job name will be generated
automatically. Without the -j flag the job will be
executed according to the -d flag (without the -d flag,
the job will execute immediately).
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed
on the delayed jobs list. The job will be executed
immediately if there is no -j flag and no -d flag. If
there is a -j flag and there is no -d flag the job will
be executed according to the "ERASE Delayed Start" field
in the vl/files/conf file. Note - the -d flag is only
usable by the superuser.
vlerase jb 3:5
Erases media on shelves 3, 4 and 5 of the jukebox
specified by the jb VL name.
vlerase jb 8a
Erases surface "a" of the media on shelf 8.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
vlexchange jb 1 2
Moves the media from shelf 1 to shelf 2.
SYNOPSIS
DESCRIPTION
The first form of the command exports a media from the jukebox or
standalone drive specified by the device_name argument, the
shelf_number specifies the shelf.
The third form of the command exports all media included in a set.
The set_name argument specifies the name of the set.
OPTIONS
-H host_name
Specifies the name of the host where the device is connected.
Without this option, the local host is used.
-o open_door
Opens the door to access the mail slot(s)on specific
jukeboxes
-s set_name
Specifies the set name in the second and third forms of the
command.
EXAMPLES
vlexport jb 3
Exports a media from shelf number 3 of the jukebox specified
by the device_name jb.
SYNOPSIS
The first form of the command imports a media into the jukebox or
standalone drive specified by the device_name argument. The
shelf_number specifies the shelf (or starting shelf), optional
num_shelves specifies number of media to import.
The third form of the command imports all media included into the
set. The set_name argument specifies the name of the set.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-s set_name
Specifies the set name in the second and third forms of
the command.
-S [A=]disk_id:{rw|worm}:{number_of_blocks|xxMB|xxGB}:block_size
A new HD disk is created to represent a rewritable (rw)
or WORM (worm) disk with the capacity specified by
number_of_blocks and block_size. If A= is present, the
disk has side A only. Without A=, the disk is two-
sided. Each surface is represented by a file in direc-
tory dir_path associated with the HD disk jukebox. The
actual file name is
<disk_id>_A.rw_<number_of_blocks>_<block_size> for side
B and <disk_id>_B.rw_<number_of_blocks>_<block_size>
(if it exists). The block_size must be divisible by
512 and not exceed 8192. The disk capacity must be
greater than or equal to 10 MB and less than 100 GB.
number_of_blocks may be specified indirectly as xxMB or
xxGB, where "xx" is the number of megabytes (MB) or
gigabytes (GB).
-S [A=]disk_id
-S tape_id:capacity_meg:{dlt|sdx|sdz|ultrium}:{rw|worm}
A new HD tape is created to represent a tape. Capacity_meg
specifies the tape capacity in megabytes and must be greater
than or equal to 10 MB and less than 1000 GB. A tape can be
rewritable (rw) or WORM (worm). A tape can be of one of the
following types:
dlt DLT tape.
sdx SONY SDX tape.
sdz SONY SDZ (S-AIT) tape.
ultrium IBM/HP ULTRIUM tape.
-S tape_id
An existing HD tape is imported.
-S [A=]centera_disk_id:{number_of_blocks|xxMB|xxGB}:block_size
A new Centera disk is created to represent a WORM disk.
If A= is present, the disk has side A only. Without
A=, the disk is two-sided. The disk capacity is
specified as for HD disk and has the same limitations.
-S [A=]centera_disk_id:shortcut
The same as above but the disk capacity is derived from shortcut (see
above).
-S [A=]centera_disk_id
An existing Centera disk is imported.
-S centera_tape_id:capacity_meg:{dlt|sdx|sdz|ultrium}
A new Centera tape is created. The tape capacity and
type are specified as for HD tape.
-S centera_tape_id
An existing Centera tape is imported.
vlimport jb 3
Imports a media to shelf number 3 of the jukebox
specified by the device_name jb.
SYNOPSIS
set_type set_type_specific_options:
sdf
udf [-R] [device_name:shelf_number]
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-f offline
Changes the offline location of the media to a new
offline location. The media must be offline.
-c {tree|data}
Copies information from the medium into the cache.
tree Copies the tree structure only.
data Copies the tree structure and data.
-R [device_name:shelf_number]
Used with spanning sets to recover from the image backup.
The device_name:shelf_number argument specifies the
device name and shelf number of the new media that will
replace the original one in the in_set_number argument.
An image backup is maintained for CD-R and DVD-R disks.
The new media is initialized as a copy of the original
media but the current side is copied from the image
backup. The new media replaces the original one in the
VL set database and if the set is mounted, the UDF
migrator is notified of that.
EXAMPLES
SYNOPSIS
DESCRIPTION
The vllsdev command prints the VL status for the specified shelf,
device, or for all of them.
The first form of the command prints the status of the shelf
specified by the shelf_number.
The jukebox is specified by the device_name argument.
The second form of the command prints the status of the device
which may be a jukebox or a standalone drive. In the case of a
jukebox it prints the status of all the shelves in the jukebox. If
optional shelf_number:shelf_number argument is present the output
is limited by specified range of shelves. The device is specified
by the device_name argument.
The third form of the command prints the status of all the
devices on the host.
NOTES
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-v Prints the name of the device and the status of all the
shelves (if it is a jukebox). Without this option, the
status of shelves is not printed.
EXAMPLES
vllsdev jb 3
Prints the VL status of shelf number 3.
vllsdev -nbsa
Prints, for all devices on the current host, the status
of shelves with media which are erased (blank) or belong
to sets. The set name should be printed instead of the
Ids.
SYNOPSIS
DESCRIPTION
The vllsset command prints the VL status for the specified set,
specified in-set-medium or for all of them.
The first form of the command prints the status of the specified
in-set-medium in the set. The set_name argument specifies the name
of the set. The in_set_number argument specifies the in-set-
medium.
The second form of the command prints the status of the specified
set. The set_name argument specifies the name of the set.
The third form of the command prints the status of all the sets on
the host.
OPTIONS
-H host_name
Specifies the name of the host where the set resides.
Without this option, the local host is used.
vllsset -v Test
Test
Use_media=disk,writable Spread=no Quota=2048 Media=2
Restore_fsdb=no Read_only=no Make_copy=no
Set_type=sdf (standard data format)
SetId=807bef41.361b3d4d
Cache: Cache_root=/export/home/cache_Test
Max_number_of_pages=1600 (100 MB)
Page_size=64 Kbytes
Mounted at /mnt
0: Online=jb:1 Sequence_numbers=0,1 Mounted=a,b
2: Online=jb:2 Sequence_numbers=2,3 Mounted=a,b
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
vlmagazine jb
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specify the name of the host where the set resides.
Without this option, the local host is used.
EXAMPLES
vlmediausage alpha
Analyses media usage for the set alpha.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the set resides. Without
this option, the local host is used.
EXAMPLES
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
vlping
vlping: VL server thread is running.
SYNOPSIS
DESCRIPTION
The vlqlist command prints delayed job queue obtained from the
QStar scheduler daemon.
OPTIONS
-H host_name
Specifies the name of the host where the device is connected.
Without this option, the local host is used.
-j [d][c][m][r][e][g][A][i][o]
The –j flag allows for specific job type filters to be used.
Multiple filters may be used together on the same command line.
-s [w][s][d][e]
The -s flag allows for specific job state filters to be used.
Multiple filters may be used together on the same command line.
-h sender_hostname
Displays all records that came from the host specified by
sender_hostname
-u user_id
Displays all records that originated from the user specified by
user_id.
EXAMPLES
vlqlist
SYNOPSIS
DESCRIPTION
The vlqmove command moves job records within the QStar scheduler
daemon’s queue list. By default, this command moves job_id1 ahead
of job_id2.
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
[after]
Specifies that job_id1 should be placed after job_id2.
EXAMPLES
vlqmove 1 3
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
vlqremove 1
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-v Verbose output.
-x [speed_X | max]
Specifies recording speed. Without this option the
recording speed is selected automatically based on the
memory buffer filling time.
-b buffer_Mb
Specifies memory buffer size used for recording. The
default value is 4 Mb.
-s set_name
Specifies the Integral Volume set name to which the
newly written media will be automatically added.
-j delayed_job_name
Specifies the job name used to identify the job in the
delayed job list. Without the -j flag the job will be
executed according to the -d flag (without the -d
flag,the job will execute immediately).
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed
on the delayed jobs list. The job will be executed
immediately if there is no -j flag and no -d flag. If
there is a -j flag and there is no -d flag the job will
be executed according to the "RECORD Delayed Start"
field in the vl/files/conf file. Note - the -d flag is
only usuable by the superuser.
-n number_of_copies
Specifies the number of copies of the same ISO/UDF image
that will be recorded to CD/DVD-R media. Without this
option only one ISO/UDF image will be recorded.
-m mail_addr
Specifies the email address to which confirmation is
sent when the job has been completed.
NOTES
EXAMPLES
SYNOPSIS
DESCRIPTION
The first form of the command refreshes the list of shelves. The
jukebox is specified by the device_name argument.
The second form of the command refreshes all shelves in the range
specified by the shelf_number:shelf_number argument. The jukebox
is specified by the device_name argument.
The third form of the command refreshes the device which may be a
jukebox or a standalone drive. In case of a jukebox it refreshes
all the shelves in the jukebox. The device is specified by the
device_name argument.
The fourth form of the command refreshes all devices and fixes
inconsistencies in the VL databases.
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
vlrefresh jb 3
Refreshes shelf number 3 of the jukebox specified by the
jb VL name.
vlrefresh jb
Refreshes the entire jukebox.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the set resides.
Without this option, the local host is used.
dev_name:shelf_number
Identifies the media to be removed from the set.
repl_dev_name:repl_shelf_number
Identifies the media to be inserted to the set. If
repl_shelf_number is omitted the software selects shelf
automatically on repl_dev_name. If repl_dev_name is
also omitted the software selects a shelf automatically
from all devices.
EXAMPLES
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
-D UDF_db_span_number or SDF_volume_number
For UDF sets. Specifies the span number of the surface which
must be used for restoring a spanning database. Without this
option the database will be restored from the last surface in
the set. If this number is "+", a spanning database will be
incrementally built (data from volumes not represented in the
existing database will be added to it).
For SDF sets. Specifies the SDF volume number (starting from
1) which must be used for restoring SDF database. Without
this option (or if volume number is equal to 0) the SDF
database will be restored from the last surface in the set.
The database will be restored from specified volume and SDF
events will be replayed from that medium. The saved database
on the next vlume will not be used to restore data base.
Rather the data portion of the SDF volume will be scanned
and events replayed. This process continues until last medium
(surface) in the set is scanned. The mirrored SDF volume set
restore with this option is not supported.
EXIT CODES
The command fails if the specified set is in a mounted state.
EXAMPLES
vlrestore_fsdb alpha
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is connected.
Without this option, the local host is used.
-j delayed_job_name
Specifies the job name used to identify the job in the
delayed job list. If the delayed_job_name is the key
word "default", the actual job name will be generated
automatically. Without the -j flag the job will be
executed according to the -d flag (without the -d
flag, the job will execute immediately).
-d [mmdd]HHMM|[cc]yymmddHHMM
Specifies the date and time the jobs should be executed
on the delayed jobs list. The job will be executed
immediately if there is no -j flag and no -d flag. If
there is a -j flag and there is no -d flag the job will
be executed according to the "REUSE Delayed Start" field
in the vl/files/conf file. Note - the -d flag is only
usable by the superuser.
EXIT CODES
It may also fail if there is not enough space for the real-located
data.
EXAMPLES
vlreuse alpha 0
Relocates data from the media with in_set_number="0"
belonging to the set "alpha" and then erases the media
with in_set_number="0" and adds it to the end of set
"alpha".
vlreuse -r alpha 0
Relocates data from the media with in_set_number="0"
belonging to the set "alpha". The media is not erased
and there is no actual data on the media, but it still
belongs to the set.
SYNOPSIS
DESCRIPTION
OPTIONS
-H host_name
Specifies the name of the host where the device is
connected. Without this option, the local host is used.
EXAMPLES
vlverify
Verifies any inconsistencies in the VL databases.
Second SCSI Host adapter (Jukebox or standalone drive(s) add to the system)
HOST ID Number:
LICENSE KEY Number :
CREDIT AND TRADEMARK
This document contains information protected by copyright. All rights are reserved. No part of this document may be
photocopied, reproduced, or translated into another language without the prior written consent of QStar Technologies, Inc. The
information contained in this document is subject to change without notice.
QStar makes no warranty of any kind with regard to this printed material, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose. QStar shall not be liable for errors contained herein or for incidental or
consequential damages in connection with the furnishing, performance, or use of this material.
The contents of this manual are based on the most current information. Specifications are subject to change without notice.
Additions and corrections to this manual will be available from QStar Technologies, Inc., by request, as they become available.
This manual contains confidential and proprietary information of QStar Technologies, Inc. Distributing or photocopying this
manual is in direct violation of US. copyright laws and is strictly prohibited without the express written consent of QStar
Technologies.
Should you have questions regarding any QStar product, please contact QStar Technologies Inc., 2175 West Highway 98, Mary
Esther, Florida 32569-1450 USA or by telephone at (850) 243-0900, fax at (850) 243-4234, or e-mail at [email protected].
DISCLAIMERS OF WARRANTY
Even though QStar Technologies Inc. has tested the software and reviewed the documentation, QStar Technologies, Inc. makes
no warranty or representation, either express or implied, with respect to this software, its quality, performance, merchantability,
or fitness for a particular purpose, with the exception of the limited warranty on media and manual expressed above. As a result,
this software is sold as is, and you the purchaser are assuming the entire risk as to its quality and performance. In no event will
QStar Technologies, Inc. be liable for direct, indirect, special, incidental, or consequential damages resulting from any defect in
the software or its documentation. In particular, QStar Technologies, Inc. shall have no liability for any damage to programs or
data used with QStar Technologies Inc. products, including the costs of recovering such programs or data. The warranty and
remedies set forth above are exclusive and lieu of all others, oral or written, express or implied.