nello
Patron
- Joined
- Dec 30, 2012
- Messages
- 351
This is my current Ubuntu Virtual Machine (VM) running under iohyve:
When I try to upgrade Ubuntu, I'm told that I don't have enough space:
Yes, I tried sudo apt-get clean
Is there another way to get rid of unnecessary backups or caches?
I'm thinking that I need to increase the disk space for this VM. Does that make sense?
How do I do it? Can I use resize without damaging the VM guest installation? I found this description of resize:
What is "'16G' format"?
Code:
[admin@OctoberGroupNAS] /% iohyve info Guest Size CPU RAM Pool ubusrv16 - 1 6G red ubusrv16/disk0 20G - - red [admin@OctoberGroupNAS] /%
When I try to upgrade Ubuntu, I'm told that I don't have enough space:
Code:
nello@ubuntu16:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: apparmor cloud-initramfs-copymods cloud-initramfs-dyn-netconf distro-info-data firefox gir1.2-dbusmenu-glib-0.4 gir1.2-networkmanager-1.0 gnome-calculator gnome-software gnome-software-common grub-legacy-ec2 im-config init init-system-helpers initramfs-tools initramfs-tools-bin initramfs-tools-core isc-dhcp-client isc-dhcp-common kbd klibc-utils language-pack-en libapparmor-perl libapparmor1 libappstream-glib8 libc-bin libc-dev-bin libc6 libc6-dbg libc6-dev libdbusmenu-glib4 libdbusmenu-gtk3-4 libdbusmenu-gtk4 libklibc liblightdm-gobject-1-0 liblxc1 libmysqlclient20 libnm-glib-vpn1 libnm-glib4 libnm-util2 libnm0 libpam-systemd libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5widgets5 libqt5xml5 libsystemd0 libudev1 lightdm linux-firmware locales lxc-common lxcfs lxd lxd-client multiarch-support mysql-common network-manager open-iscsi overlayroot python3-distupgrade python3-update-manager snap-confine snapd systemd systemd-sysv thunderbird thunderbird-gnome-support tzdata ubuntu-core-launcher ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk ubuntu-software udev update-manager update-manager-core vlan xserver-common xserver-xephyr xserver-xorg-core 87 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 161 MB of archives. After this operation, 686 kB of additional disk space will be used. E: You don't have enough free space in /var/cache/apt/archives/.
Yes, I tried sudo apt-get clean
Is there another way to get rid of unnecessary backups or caches?
I'm thinking that I need to increase the disk space for this VM. Does that make sense?
How do I do it? Can I use resize without damaging the VM guest installation? I found this description of resize:
Code:
resize Resizes a disk. THIS CAN BREAK THINGS ON THE GUEST. Usage: 'iohyve resize <name> <diskN> <size>' where <name> is the name of the guest, <diskN> is the disk you would like to remove from the guest, and <size> is the size of the virtual block device in '16G' format where the capital G signifies gigabytes. See 'iohyve disks' for a list of disks for a guest
What is "'16G' format"?
Code:
admin@OctoberGroupNAS] /% sudo iohyve disks ubusrv16 Listing disks for ubusrv16... diskN Size disk0 20G [admin@OctoberGroupNAS] /%