Virtual TapeServer 8.4 Configuration Guide

212 | Virtual TapeServer Configuration Guide
b. Enter n to add a new partition.
c. Enter p to specify the primary partition.
d. Enter 1 to specify the first partition.
e. Press ENTER to accept the defaults.
f. Enter w to save the configuration.
To confirm the configuration, enter the following command:
fdisk -l /dev/sdd
Here is an example of the output:
Disk /dev/sdd: 18.4 GB, 18413722112 bytes
255 heads, 63 sectors/track, 2238 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 2238 17976703+ 83 Linux
If the vault will be 2-4TB in size, complete these steps to partition the disk:
a. Start the partition editor, which is an interactive program similar to fdisk:
parted /dev/sdd
b. Create a GPT disk label, which is a GUID partition table:
mklabel gpt
c. Create a 4TB primary partition at the beginning of the disk:
mkpart primary 0 4000G
d. Quit parted.
quit
5. Perform LVM initialization of the device. /dev/sdd1 is used as an example partition on the
/dev/sdd device.
a. Create the physical volume by entering the following command:
pvcreate /dev/sdd1
b. Create the volume group by entering the following:
vgcreate gfsvg1 /dev/sdd1