Sunday, January 17, 2016

FreeBSD Virtual Machine: Resizing and Growing Disks - VMware ESXi

Just for training purpose, I've decided to increase the virtual machine disk size from the default 21Gb to 32Gb, just by following the handbook guide. It would give the VM more run for FreeBSD ports and give a change to play around with disk resizing.




1. The gpart command shows the actual disk size (this virtual machine has a single hard disk of aroung 21Gb):























2. Increase the provisioned size in the virtual machine properties from 21 to 32Gb:






















3. Reboot; by running the gpart command again, it says that the disk is corrupted:
















4. Run the gpart recover command, and the free space will be updated accordingly:
















5. Run gpart resize command: -i INDEX -a ALIGNMENT -s SIZE which can be in gigabytes (G) or megabytes (M):
















6. The last part of the handbook says "Grow the UFS file system to use the new capacity of the resized partition" by using the command growfs. However it did not work: Operation not permitted, even running as the root user:
















7. Later on I found in the forum that the growfs can be executed as a service. Now the resize operation is completed:



References:
https://www.freebsd.org/doc/handbook/disks-growing.html
https://www.digitalocean.com/community/questions/freebsd-growfs-operation-not-permitted-aka-enlarge-your-partition
http://blog.iandreev.com/?p=2538

6 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. My Scrapbook: Bsd Virtual Machine: Resizing And Growing Disks - Vmware Esxi >>>>> Download Now

      >>>>> Download Full

      My Scrapbook: Bsd Virtual Machine: Resizing And Growing Disks - Vmware Esxi >>>>> Download LINK

      >>>>> Download Now

      My Scrapbook: Bsd Virtual Machine: Resizing And Growing Disks - Vmware Esxi >>>>> Download Full

      >>>>> Download LINK XK

      Delete
  2. It's almost time for Canelo to meet the Golden Child. Saul Alvarez's WBA and WBC middleweight titles are on the line against Daniel Jacobs' IBF championsip. That's right...it's a title unification fight and we'll tell you how to get a Canelo Alvarez vs Jacobs live stream, no matter where on Earth you are. At the risk of making a massive understatement, this is a fight worth getting excited about. It sees 28-year-old Mexican Canelo Alvarez (51-1-2, 35 KOs) make a return to the middleweight division after heading up a class to defeat Rocky Fielding for his super middleweight WBA crown.
    Canelo vs Jacobs Live

    ReplyDelete
  3. My Scrapbook: Bsd Virtual Machine: Resizing And Growing Disks - Vmware Esxi >>>>> Download Now

    >>>>> Download Full

    My Scrapbook: Bsd Virtual Machine: Resizing And Growing Disks - Vmware Esxi >>>>> Download LINK

    >>>>> Download Now

    My Scrapbook: Bsd Virtual Machine: Resizing And Growing Disks - Vmware Esxi >>>>> Download Full

    >>>>> Download LINK 09

    ReplyDelete