Author Topic: Insufficient disk space  (Read 10377 times)

Cougarxr

  • VIP
  • Member
  • ***
  • Posts: 9
    • View Profile
Insufficient disk space
« on: March 05, 2015, 12:14:37 AM »
I have updated our two Appliance 200 boxes to 2.0.2. All appears to be working fine except for an error on the Multisite configuration page. Since the upgrade is says "Warning: Insufficient disk space on partition (12.5G Available). Expand or add partition (13 Required)." Is there a fix for this or what is the procedure to expand the partition?

ahenning

  • Team Wanos
  • Administrator
  • Full Member
  • *****
  • Posts: 629
    • View Profile
Re: Insufficient disk space
« Reply #1 on: March 05, 2015, 06:29:07 AM »
Hi Chris,

run:
wanos-fdisk
reboot
mkfs.ext3 /dev/sda2
reboot
set the datastore to sda2 in the gui

See how-to:
Change Datastore Drive
« Last Edit: September 26, 2016, 02:11:00 PM by lmolina »
CCIE RS, CCIE SP, Mnet&sys

Note: Forum posts may be outdated. Please see the latest documentation at wanos.co/docs

Cougarxr

  • VIP
  • Member
  • ***
  • Posts: 9
    • View Profile
Re: Insufficient disk space
« Reply #2 on: March 05, 2015, 10:42:59 PM »
These commands don't appear to work at all. What is the step by step on this procedure? Do I need to create a partition first before running these commands?

ahenning

  • Team Wanos
  • Administrator
  • Full Member
  • *****
  • Posts: 629
    • View Profile
Re: Insufficient disk space
« Reply #3 on: March 05, 2015, 10:57:08 PM »
Hi Chris,

What is the error/output? Maybe I'll be able to spot the issue. The Wanos-fdisk command will create the partition, but you can create it manually with fdisk if you wanted to.

more detailed steps:
sudo su
/tce/etc/wanos/wanos-fdisk sda
reboot
mkfs.ext3 /dev/sda2
reboot
set the datastore to sda2 in the gui

This is based on the assumption that the only drive installed is sda and that is where the un-partitioned free space is located.

« Last Edit: March 05, 2015, 11:09:11 PM by ahenning »
CCIE RS, CCIE SP, Mnet&sys

Note: Forum posts may be outdated. Please see the latest documentation at wanos.co/docs

Cougarxr

  • VIP
  • Member
  • ***
  • Posts: 9
    • View Profile
Re: Insufficient disk space
« Reply #4 on: March 06, 2015, 01:40:03 AM »
These new steps worked fine for me. Just wasn't sure how to run the first part.

srinivasan

  • Member
  • ***
  • Posts: 2
    • View Profile
Re: Insufficient disk space
« Reply #5 on: April 25, 2016, 12:25:59 PM »
For older version like 1.4.1

We can increase the / partition using Gparted live boot disk 

GParted Live on USB
Installation
Requirement:
1.   Microsoft Windows 2000/XP/Vista/7, or GNU/Linux.
2.   An USB flash drive with a FAT partition.
USB setup with MS Windows
•   First you need to download the GParted Live Bootable Image file. Please follow the download page to download the ISO file on your MS Windows.
Download page: https://sourceforge.net/projects/gparted/files/gparted-live-stable/0.25.0-3/gparted-live-0.25.0-3-i686.iso/download?use_mirror=nchc
•   Download the tuxboot file. Please follow the download page to download the exe file on your MS Windows.
Download page: http://sourceforge.net/downloads/tuxboot/
•   Run the downloaded tuxboot.exe file, select an ISO file, select a target drive (USB Drive or Hard Disk).


ahenning

  • Team Wanos
  • Administrator
  • Full Member
  • *****
  • Posts: 629
    • View Profile
Re: Insufficient disk space
« Reply #6 on: April 25, 2016, 01:15:26 PM »
Thanks for the steps.

Yes, GParted is definitely also a solid way to increase the disk space. For the Micro Core linux, the 'wanos-fdisk' method is quick and easy:

UPDATED: Change Datastore Drive
sudo /tce/etc/wanos/wanos-fdisk sda
sudo reboot
sudo mkfs.ext3 /dev/sda2
sudo reboot
Set the datastore to sda2 in the gui


Coming to the Ubuntu Raw Disk image soon is a partitioning script that will run on the first bootup. The Raw Disk OS partition will be e.g. 6GB to be burned with a disk imager tool like win32diskimager and then the script will partition the datastore on the remaining part of the drive on the first boot.

This will avoid the manual requirement to partition the disks.

Also be sure to update Ubuntu to 3.0.3 to avoid bugs related to switching the datastore back and forth between partitions.
« Last Edit: September 26, 2016, 02:12:18 PM by lmolina »
CCIE RS, CCIE SP, Mnet&sys

Note: Forum posts may be outdated. Please see the latest documentation at wanos.co/docs