Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
add_disk_space_in_vm_machine

add_disk_space_in_vm_machine

1. taking an backup of existing machine

2. Existing two data stores
  datastore1 = 460 Gb Free= 337 Gb
  datastore2 = 1.36 Tb Free= 523 Gb
3. Existing disk in data store 2 

Im going to create an 100 Gb disk in datastore2

check below link

https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc_50%2FGUID-2CFBCCD5-B53D-42CD-AECD-FBC46AAC4AC5.html
4. shut down the system
5. Attach the new disk to cbqa02 

#  fdisk /dev/sdb

 Command (m for help):n  # create a partition

 Partition number (1-4):1 # specify partition number
 
  # starting cylinder
  
  # end cylinder
  
  Command (m for help):p  # show partition table
  
   Command (m for help):t  # change type
   
    Hex code (type L to list codes):8e  # specify Linux LVM
    
     Command (m for help):w # save and quit
     
     
    sfdisk -l /dev/sdb   # show status
    
    pvcreate /dev/sdb1
    
    vgcreate VolGroup_rhel6 /dev/sdb1
    
    lvcreate --name rhelvol -l 100%FREE VolGroup_rhel6
    
    mke2fs -j /dev/VolGroup_rhel6/rhelvol
    mke2fs -j /dev/VolGroup_rhel6/rhelvol
    
    e2label /dev/VolGroup_rhel6/rhelvol /deploy
    
    vi /etc/fstab
    
    Add lines below 
    
    /dev/VolGroup_rhel6/rhelvol /deploy                       ext3    defaults        1 1
    
    
    #copy required data to another folder 
 
    mount /deploy
    
    #again copy all the datas to the /deploy folder
 
6. restart the system 
add_disk_space_in_vm_machine.txt · Last modified: 2018/08/31 16:16 (external edit)