Virtual TapeServer 6.04.01 Installation Guide
Installing GFS | 35
Complete the next four steps (steps 8-11) on only one server (node) that will be included in the
cluster. It is recommended that you shutdown all nodes in the cluster other than the one used
in these steps. If you are creating multiple vaults, you must also complete steps
8-11 for each
GFS file system to be used for vault storage.
8. Choose your device(s) to be used for GFS. In the commands and output below, /dev/sde is
used as an example device.
VTS assumes an empty, unpartitioned disk, and further disk partitioning is not
performed. Cluster members will mount devices based on LVM names, not SCSI device
names, and these GFS devices will not use disk labels.
If the vault will be less than 2TB in size, complete the following steps to partition the disk:
a. Enter the following command to partition the device.
fdisk /dev/sde
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/sde
Here is an example of the output:
Disk /dev/sde: 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/sde1 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/sda
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
Note that you can specify 100% instead of 4000G to create a partition that uses the
entire disk.
d. Quit parted.
quit
9. Perform LVM initialization of the device. /dev/sde1 is used as an example partition on
the /dev/sde device.
a. Create the physical volume by entering the following command:
pvcreate /dev/sde1