![]() ![]() ![]() Then you start the task with a single click in the playbook, or triggered from the Facebook Messenger.KVM (Kernel-based Virtual Machine) is an open-source full virtualization solution for Linux systems, including Ubuntu. WatchMyDC can help to build an automation playbook for this task. What if, this task is performed by a single click. You may imagine the workloads behind the simple and straightforward work. The filesystem on /dev/sda2 is now 7860816 (4k) blocks long.įinally, the disk capacity has increased: server:/$ df -h Thereafter, grow the filesystem using the resize2fs: server:/$ sudo resize2fs /dev/sda2įilesystem at /dev/sda2 is mounted on / on-line resizing required Information: You may need to update /etc/fstab.ĥ. Warning: Partition /dev/sda2 is being used. Number Start End Size File system Name Flags Sector size (logical/physical): 512B/512B Welcome to GNU Parted! Type 'help' to view a list of commands. Now extend the partition: server:/$ sudo parted Log in to Ubuntu and extend the partition using the parted:įilesystem Size Used Avail Use% Mounted on Check in the ESXi, the disk capacity will show 30GB now:Ĥ. We needed to extend from 16GB to 30GB, and we used 30G as the last disk size.ģ. Always provide the final disk size after the ‘ vmkfstools -X’ command.Do not use the ‘ *-flat.vmdk’ file for the vmkfstools command.Slack-server-flat.vmdk slack-server.vmx vmware-2.log Log in to the ESXi and run the vmkfstools command to extend the disk capacity: #cd /vmfs/volumes/datastore1/slack-server/ If SSH is not enabled in the ESXi, then activate SSH from the UI:Ģ.If you do not have it, install it: server:/$ sudo apt-get install parted Steps We needed the ‘ parted’ package in ubuntu it was a preinstalled tool for us. But it was pretty easy to manage a virtual machine, at least. I remembered the old software we used back in the stone age, like Symantec PartitionMagic or Norton Disk Doctor. Resize the primary partition from 16GB to 30G it was easy to extend the partition.Build a new VM with the required specifications - but we wanted to have the following option.But we never imagined the disk capacity would appear as a bottleneck later. We started building something on a Dev VM but decided to move it to production later on. We were struggling with the disk capacity of a necessary Ubuntu VM. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |