Virtual TapeServer 8.3 Configuration Guide

Reconfiguring Vaults | 17
6. Format the disk partition by entering the following command:
mke2fs -j -L /VAULT01 /dev/sdc1
When specifying a vault name, use the following format: VAULTnn, where nn indicates a
number. Repeat this command, incrementing nn for each new vault. Replace /dev/sdc1 with
each new partition name and so on, as in these examples:
mke2fs -j -L /VAULT02 /dev/sdc2
mke2fs -j -L /VAULT03 /dev/sdc3
7. 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 new vault.
8. 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 new vault.
9. Mount the newly created disks by entering the following command:
mount /VAULT01
Repeat this command for each new vault.
10. Assign access rights to the newly created vaults by completing the following steps:
a. Change the ownership of the vaults by entering the following command:
chown bill.root /VAULT*
b. Change the rights of the vaults by entering the following command:
chmod 750 /VAULT*
c. Change the rights of the lost+found directories by entering the following command:
chmod 750 /VAULT*/lost+found
Renaming vaults
You may need to rename a vault that is used by VTS. This example demonstrates how to rename
/VAULT03 to /VAULT05.