Virtual TapeServer 6.03.41 Installation Guide

29
Adding Vaults for External Storage
If you want to add a vault for external storage, you can connect a Linux system to Virtual
TapeServer over Fibre Channel and then complete the steps in this chapter. These steps
require that you format the Linux file system and create disks, which are referred to as vaults
in VTS.
To add a vault to VTS
1. Attach the Linux system that will serve as the external storage. See Cabling to external
disk resources on page 21 for more information.
2. Log in to the Linux system and open a command window.
3. Identify the disks.
Ask your storage area network (SAN) administrator to set up a 1TB partition, and find
out the LUN number on which the new partition is located. In this example, LUN 1 is
used. Make sure that the Fibre Channel cable is plugged in and the link light is
illuminated.
a. Log in to the VTS server as root.
b. Enter the following command to scan the SCSI connections and detect new hardware:
/usr/local/tape/bin/rescan-scsi-bus.sh
Output similar to the following is displayed:
1 new device(s) found.
0 devices indicates that this is a preexisting SAN.
c. Enter the following command to determine the device names for the SCSI disks:
sg_map –x
Output similar to the following is displayed:
/dev/sg0 12 0 0 0 12
/dev/sg1 12 0 0 1 0 /dev/sda
/dev/sg2 12 0 0 2 0 /dev/sdb
/dev/sg3 15 0 0 0 0 /dev/sdc
/dev/sg4 15 0 0 1 0 /dev/sdd
These are the device names for the SCSI disks that the operating system recognizes
on boot. Each line indicates the host number, bus, SCSI ID, LUN, and SCSI type for
each device. For example, look at the /dev/sda line, which provides information about
the /dev/sda device, the following information is listed:
Host number = 12
Bus = 0