Virtual TapeServer 6.03.41 Installation Guide

30 | Adding Vaults for External Storage
SCSI ID= 0
LUN = 1
SCSI type = 0
4. Configure the disk partitions by completing the following steps:
a. Starting with the first recognized disk (sda), create the partition by entering the
following command:
fdisk /dev/sda
The fdisk command displays a : prompt. The next commands are entered at this
prompt.
b. Add a new partition by entering the following command:
n
c. Choose the primary partition by entering the following command:
p
d. Select the first partition by entering the following command:
1
e. Accept the cylinder defaults by pressing ENTER twice.
f. Write the settings to a file by entering the following command:
w
This exits the fdisk utility and displays the # prompt.
g. Check the settings by entering the following command:
fdisk /dev/sda
h. Print the settings by entering the following command:
p
i. To exit the fdisk utility, enter the following:
q
j. Repeat these steps for each of the sdn partitions.
5. Format the disk partitions by entering the following command:
mke2fs -j -L /VAULT01 /dev/sda1
Repeat this command replacing /VAULT01 with /VAULT02 and so on. Replace /dev/
sda1 with /dev/sdb1 and so on.
6. Create the mount directories by using the mkdir command for each of the vaults that were
created above. Here is an example of the command to create the mount directory for
VAULT01:
mkdir /VAULT01
Repeat this command for each vault.
7. Update the file-system table to reflect the new disks. Using a text editor, add the
following lines to the /etc/fstab file for each vault created above:
LABEL=/VAULT01 /VAULT01 ext3 defaults 1 2
Repeat this command for each vault.