Wan Optimization Support

Technical => Troubleshooting => : Cougarxr March 05, 2015, 12:14:37 AM

: Insufficient disk space
: Cougarxr 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?
: Re: Insufficient disk space
: ahenning 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 (http://wanos.co/docs/docs/wanos-admin-guide/optional-configuration/change-datastore-drive/)
: Re: Insufficient disk space
: Cougarxr 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?
: Re: Insufficient disk space
: ahenning 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.

: Re: Insufficient disk space
: Cougarxr March 06, 2015, 01:40:03 AM
These new steps worked fine for me. Just wasn't sure how to run the first part.
: Re: Insufficient disk space
: srinivasan 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).

: Re: Insufficient disk space
: ahenning 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 (http://wanos.co/docs/docs/wanos-admin-guide/optional-configuration/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.