addpart

Disclaimer

close open

This software is provided "as-is" and without warranty of any kind, expressed, implied or otherwise, including and without limitation, any warranty of merchantability or fitness for a particular purpose.

Use this software at your own risk! In no event shall the author be liable for any special, incidental, indirect or consequential damages whatsoever (including, without limitation, damages for loss of profits, business interruption, loss of information, or any other loss), whether or not advised of the possibility of damage, and on any theory of liability, arising out of or in connection with the use or inability to use this software.

Read the whole README before using this addon!

Description

close open

What is AddPartition

close open

AddPartition is a script for IPCop ( http://www.ipcop.org/ ). With AddPartition you can add an extra partition. This is useful if you want to use addons like Update Accelerator ( http://www.advproxy.net/update-accelerator/ ).

Attention: Modifying the partitions on a disk is a serious change in the system. Please make a backup first!!!

Requirements for AddPartition

close open

AddPartition only makes sense on hard drives. For IPCops on flash mediums there might be not enough space for the above mentioned addons (therefore there is no need for an extra partition). Obviously there must be enough free space on the log partition to use for the new partition.

How does AddPartition work

close open

AddPartition creates a new (primary) partition. The space needed is taken from the log partition. At first the log partition is removed. The free diskspace is divided into two partitions. All the previously saved logfiles are copied back to the new (but smaller now) log partition. The new partition is automatically mounted and can be used instantly. No reboot is required.

Instructions

close open

Install

close open

After downloading the addon (in the download section, it's a file like "addpart_VERSION.tar.gz") copy it to the IPCop machine.

Unpack the archive with "tar xzf addpart_VERSION.tar.gz".

Go to the folder: "cd addpart_VERSION".

Setup with "./addpart_setup.pl".

The script examines the partitioning of the hard drive. The size of the log partition is shown as well as the space used. The user can choose how much space to use for the extra partition. Be advised not to take away more space from the log partition than you need for the extra partition. At last the user may specify the mount point for the new partition.

After a successful setup the folder may be removed.

Uninstall

close open

It is not possible to undo the creation of the extra partition. This may come in a following version.

Download/Changelog

close open

AddPartition - Download

close open

Version: 0.2.0

Size: 162584 byte

MD5: 169e0321fba6cc7a44b21016b1334963

Download (2053 Downloads)

Changelog

close open

Version 0.2.0 - 28.10.2008

Fix: on large disks not enough inodes were created


Version 0.1 - 27.09.2006

First Version