000033572 - Create LVM partition more than 2TB in RSA Security Analytics 10.x

Document created by RSA Customer Support Employee on Jul 21, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000033572
Applies ToRSA Product Set: RSA Security Analytics
RSA Product/Service Type: All Security Analytics Nodes
RSA Version/Condition: 10.x
 
Issue
  • Increasing the storage by adding a new hard disk.
  • New hard disk is more than 2 terabytes.
  • fdisk utility can only create partitions up to 2 terabytes, more than that space needs a GPT "GUID Partition Table".
Resolution
  • Insert the new disk normally to the appliance, or assign it to the virtual machine from the storage pool.
  • Run the following command to know the name of the newly added disk.
dmesg | tail -100 | grep --color /dev

  • We will assume that the newly added disk is /dev/sdx and we need to create 8TB partition as LVM "Logical Volume Management."

  • parted /dev/sdx

  • The context menu shown after you run the parted command will be as follows

  • (parted) mklabel gpt
    (parted) mkpart primary ext4 1024KiB 8tb


    ext4 is the filesystem used, you can use xfs as well depending on the use of the logical volume. 1024KiB is the unit size. and 8tb is the size of the newly created partition.

  • (parted) print

    Number  Start    End            Size           File system  Name     Flags
    1      1024kiB  8589934592kiB  8589933568kiB   ext4        primary


     
  • Now we have created an 8tb partition with ext4 label, if that's what you need, you can stop at this point. However, if you want to use this partition as a part of LVM, you should set the LVM flag as well.

  • (parted) set 1 lvm on
    (parted) print
    Disk /dev/sdx: 19527106560KiB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Number  Start    End            Size           File system  Name     Flags
    1      1024kiB  8589934592kiB  8589933568kiB  ext4         primary  lvm

    (parted) quit


     
  • From this step forward, you can start working normally on the LVM using the normal procedure.

  • pvcreate /dev/sdx1

Notes
  • If you need any assistance or not familiar with running these commands, please contact RSA support and reference this article number.

Attachments

    Outcomes