Initializing the Storage Pool
To create a new LVM storage pool:
1 Run the following command: fdisk –l
2 In the output, copy the name of the second disk displayed. In the following example, the second disk is named xvdf.
[root]# fdisk -l
Disk /dev/xvde: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal) : 512 bytes / 512 bytes
Disk identifier: 0xaae7682d
Device Boot Start End Blocks Id System
/dev/xvde1 * 1 783 6289416 83 Linux
Disk /deve/xvdf: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal) : 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/xvdf doesn't contain a valid partition table
[root]#
3 Run the following command: ctera-storage-util.sh create_storage <2nd_vol_name>
Where <2nd_vol_name> is the name of the volume copied in the previous step.
For example: ctera-storage-util.sh create_storage xvdf
4 Run the following command to restart the portal: ctera-portal-manage.sh restart
5 Run the following command to ensure the volume is OK: ctera-portal-manage.sh status
The following lines appear in the output:
CTERA Portal: Starting
...
Database Data Directory: Ready