Virtual TapeServer 6.04.03 Operations and Administration Guide
| 147
c. Create a 4TB primary partition at the beginning of the disk:
mkpart primary 0 4000G
Or, you can create multiple partitions that consume all available disk space:
mkpart primary 0 50%
mkpart primary 51% 100%
d. Quit parted.
quit
6. Format the disk partition by entering the following command:
mke2fs -j -L /VAULT03 /dev/sdd1
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/sdd1
with /dev/sdd2 and so on, as in this example:
mke2fs -j -L /VAULT04 /dev/sdd2
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 /VAULT03
Repeat this command for each new vault:
mkdir /VAULT04
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=/VAULT04 /VAULT04 ext3 defaults 1 2
Repeat this command for each new vault.
9. Mount the newly created disks by entering the following command:
mount /VAULT03
Repeat this command for each new vault:
mount /VAULT04
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