Virtual TapeServer 6.04.02 Operations and Administration Guide
Adding Vaults on External Storage | 141
c. Create a 4TB primary partition at the beginning of the disk:
mkpart primary 0 4000G
d. Quit parted.
quit
6. Format the disk partition by entering the following command:
mke2fs -j -L /VAULT01 /dev/sda1
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/sda1
with /dev/sdb1 and so on.
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 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 vault.
9. Mount the newly created disks by entering the following command:
mount /VAULT01
Repeat this command for each vault.
10. Assign access rights to the newly created disks by completing the following steps:
a. Change the ownership of the vault by entering the following command:
chown bill.root /VAULT*
b. Change the rights of the vault by entering the following command:
chmod 755 /VAULT*