Expand VM size for storage of images?
logie1 last edited by
I am using the VM base of FOG as it is easy to get going but 30gb is not sufficient to store the images that I need. (Using VMware Workstation)
I’ve expanded the VM size to more than 30gb but that space doesn’t show up in FOG.
How can I continue to run this VM and increase the storage to drop an image? I wanted to add another drive or expand the current one… Don’t really know how to.
Also is there a way to apt-get to upgrade to 0.32?
Any help would be GREATLY appreciated, thanks!
logie1 last edited by
Yeah I think the bottom idea is the easiest but I’m not familiar with Ubuntu… If I add another drive in VMware as an IDE drive, I just need help to format/mount that in Ubuntu (think thats what the fog VM uses) and then how to add that as a storage node or whatever in FOG. Does that make sense?
Thanks for the prompt response!
You’ll now need to extend the guest operating system’s partition as if you were enlarging a partition on a real hard disk in a physical computer. You can’t enlarge the partition while the guest operating system is running, just as you can’t enlarge your C: running on your computer.
You can use a GParted live CD to resize your virtual machine’s partition - simply boot the GParted ISO image in your virtual machine and you’ll be taken to the GParted partition editor in a live Linux environment. GParted will be able to enlarge the partition on the virtual hard disk.
Once GParted is booted, right-click the partition you want to enlarge and select Resize/Move.
Specify a new size for the partition - for example, drag the slider all the way to the right to use all the available space for the partition. Click the Resize/Move button after you’ve specified the space you want to use.
Finally, click the Apply button to apply After the resize operation completes, restart your virtual machine and remove the GParted ISO file.
Note that there are easier ways to get more storage - you can add a second virtual hard disk to your virtual machine from its settings window. You can access the other hard disk’s contents on a separate partition – for example, if you’re using a Windows virtual machine, the other virtual hard disk will be accessible at a different drive letter inside your virtual machine
To upgrade Fog:
It is highly recommended that you backup your data before you perform the upgrade.
Upgrading from one version of FOG to a newer version is as easy as running the installer for the new version of FOG. It will update your system while leaving your data in place.
Remember install settings are in <install directory>/fog/.fogsettings. If anything has changed since the last install make updates to .fosettings before running the install.
FOG will NOT modify:
Any modified reports
All database settings
FOG WILL modify:
Any Custom changes to php/init.gz file.
Any changes to dhcpd.conf.
Any changes to /etc/xinetd.d/tftp.
Any changes to /etc/vsftpd/vsftpd.conf.
Any changes to /etc/exports.
Any changes to php config files on /var/www/fog and /opt/fog