Virtual TapeServer 6.04.01 Operations and Administration Guide
| 189
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
If path failover is configured in the environment, be sure to reference the multi-pathed
mapper device. For example, if GFS is not enabled, specify the following:
/dev/mapper/mpath0p1 /VAULT01 ext3 defaults 0 0
Here is an example if GFS is enabled, which mounts the logical volume name. (/dev/
mapper/mpath0p1 would be specified when creating the logical volume.)
/dev/mapper/pool_gfs-pool_gfs /VAULT01 gfs defaults 0 0
Repeat this step 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*
c. Change the rights of the lost+found directory by entering the following command:
chmod 750 /VAULT*/lost+found