-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disk resized, but /dev/sda hasn't increased #37
Comments
I got same problem. I try an alternative way to modify disk size : issue cd ~/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-trusty64/20150609.0.9/virtualbox/ And same problem subsists. |
@mehdmehd and @paul-gene, this plugin only changes physical size of the disk. It doesn't expand logical volumes. That is why "df -h" command output doesn't change. When you use this plugin you can see the following message in the log during "vagrant up" command: The procedure of resizing logical volumes may differ depending on the vagrant box you use.
|
I was using the above snippet on
I've also tried piping |
@clbarnes I know it's late, but for those that are facing the same issue, here's the snippet that works on
@PolarGoose Snippet doesn't work on I think that you can update the script for any OS. You can find partitions names and indexes using the process described on the following article : https://medium.com/@kanrangsan/how-to-automatically-resize-virtual-box-disk-with-vagrant-9f0f48aa46b3 Hope that it helps. |
Without using this plugin, the default size for /dev/sda is 9.2G using a Debian Jessie box.
I installed the plugin and set a disk size of 15G. It looks like the disk size has been increased, when I run
fdisk -l
I getDisk /dev/sda: 15 GiB, 16106127360 bytes, 31457280 sectors
But running
df -h
showsI tried deleting all partitions, and making a new sda1 with the 15GB, but when I saved and rebooted, I could no longer SSH into the box
The text was updated successfully, but these errors were encountered: