Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We cannot give a general Recommendation as to how large your extension should become, but please contact us if this is unclear in your specific Situation.


Make Disk visible to the OVA


  • SSH into the CentOS OVA and sudo to root (unless you are already root)

    Code Block
    languagebash
    themeEmacs
    sudo su - 
    
  • List the block device to see the newly assigned vSphere hard disk.

    Code Block
    languagebash
    themeEmacs
    lsblk
    

    Image Added

    If you do not see the vSphere hard disk, force a rescan

    Code Block
    languagebash
    themeEmacs
    for host in $(ls -1d /sys/class/scsi_host/*); do echo "- - -" > ${host}/scan ; done
    for device in $(ls -1d /sys/class/scsi_disk/*); do echo "1" > ${device}/device/rescan ; done
    
  • Format the disk partition. Get the device name from the previous lsblk output

    Code Block
    languagebash
    themeEmacs
    fdisk /dev/sdb
    n (new partition)
    p (primary)
    (Press ENTER) (Use default partition number)
    (Press ENTER) (Use default first sector)
    (Press ENTER) (Use default last sector)
    
    t (change the partition type)
    8e (Linux LVM)
    
    w (write)
    
  • Create the Physical Volume for LVM and check afterwards with pvs
    Image Added
  • Extend the Volumegroup (vg).
    first check for the group with "vgs" then "vgextend centos" then check again:
    Image Added