10-21-2010
The partition that is to be resized must be unmounted when we do the resizing; obviously this is not possible if this is the partition that holds all important system files . Therefore we download a Live Linux-CD such as
Knoppix from which we boot later on (if you have physical access to the system). If it is a remote system that you don't have physical access to, you need a rescue system on that system (a lot of hosting companies offer dedicated servers with rescue systems nowadays) that you can boot into (instead of Knoppix), and this rescue system must have the following tools: fdisk, umount, fsck, tune2fs, e2fsck, resize2fs.
for more details visit :
How To Resize ext3 Partitions Without Losing Data | HowtoForge - Linux Howtos and Tutorials
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Experts,
I am trying to repartition my FreeBSD partition to accomodate 1GB of DOS partition so that I can have the samba share support. I wanted to know the procedure to resize an exsiting FreeBSD partition.
Thanks in advance for your help.
Regards,
Jim (1 Reply)
Discussion started by: jimmynath
1 Replies
2. UNIX for Dummies Questions & Answers
I have a Sun box running Solaris 9.
My root disk was slices too small when it was installed and I am now at 99% capacity for my root partition.
Is it possible, and if so how?, to increase the size of slice 0 and decrease the size of slice 7??
Thanks!
Current partition table... (6 Replies)
Discussion started by: FredSmith
6 Replies
3. SCO
I have a 17GB SCSI disk in an SCO 5.0.6 server and it's running out of space because of a growing database on the disk. Consequently I would like to upgrade the 17GB to a 74GB disk and extend the partition.
First off, is partition extension available under HTFS - I know this is an old... (1 Reply)
Discussion started by: carribey
1 Replies
4. SuSE
Hello Experts,
I am very new to unix environment.
Root filesystem in one of our Linux boxes has almost reached 100%. is there a procedure/ way to resize the root filesystem.
******************************************************
ld8331:/ # df -h|more
Filesystem Size Used... (2 Replies)
Discussion started by: ashok1784
2 Replies
5. SCO
Hello,
I'm new to SCO and I require some help...
I have an OLD HD which is about to die and I want to replace it with a new HD.
When I clone the HD with either Acronis or Ghost it wont allow me to resize the UNIX partition and I'm stuck with 80% of the new drive as unused space.
I... (7 Replies)
Discussion started by: dochost
7 Replies
6. Red Hat
Hi,
In my linux box I have installed /boot partition with 100MB. I have done compile for a newer kernel. The both kernels are required to me. Finally /boot partition has using 100%. I need to resize the /boot. Any body give the solution how to do resize the /boot partition without dusturbing the... (2 Replies)
Discussion started by: parsrigum
2 Replies
7. Solaris
Hello guys,
I am using Solaris 10 x86 OS. While installing OS i have allocated entire 10 GB space to the root. Now i am not able to create new partition it says me "out of range" or "<cylinder number> not expected". Can someone please help me to allocated a default recommended space i.e 8GB or... (2 Replies)
Discussion started by: bhargav90
2 Replies
8. SCO
I have SCO Openserver 5.0.5
Root partition is 96% full and I would like to make it bigger. How can this be done?
1) Can I use 'dd' to backup 'root' and then backup '/u' to a third hard disk, then divvy the primary hard disk to have a larger 'root' filesystem (i.e. previous root + u)
2) ... (5 Replies)
Discussion started by: grips03
5 Replies
9. Red Hat
Hello.,
Could any one please share the informaiton about this or please point me the reference :
Assume, we have the following partition after linux machine is setup, it will mention like this :
bash$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 10G... (3 Replies)
Discussion started by: alnhk
3 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I am running ubuntu 14.04.
Have just installed torrent into home directory but /dev/md2 is almost full.
Is it possible to resize md2 to get rid of any problem that may arise in the near future?
Filesystem Size Used Avail Use% Mounted on
udev 17G 4.1k 17G 1% /dev... (2 Replies)
Discussion started by: baris35
2 Replies
RESIZE(1) General Commands Manual RESIZE(1)
NAME
resize - set environment and terminal settings to current xterm window size
SYNOPSIS
resize [ -u | -c ] [ -s [ row col ] ]
DESCRIPTION
Resize prints a shell command for setting the appropriate environment variables to indicate the current size of xterm window from which the
command is run. For this output to take effect, resize must either be evaluated as part of the command line (usually done with a shell
alias or function) or else redirected to a file which can then be read in. From the C shell (usually known as /bin/csh), the following
alias could be defined in the user's .cshrc:
% alias rs 'set noglob; eval `resize`'
After resizing the window, the user would type:
% rs
Users of versions of the Bourne shell (usually known as /bin/sh) that don't have command functions will need to send the output to a tempo-
rary file and then read it back in with the "." command:
$ resize > /tmp/out
$ . /tmp/out
Resize determines the user's current shell by first checking if $SHELL is set, and using that. Otherwise it determines the user's shell by
looking in the password file. Generally Bourne-shell variants (including ksh) do not modify $SHELL, so it is possible for resize to be
confused if one runs resize from a Bourne shell spawned from a C shell.
OPTIONS
The following options may be used with resize:
-u This option indicates that Bourne shell commands should be generated even if the user's current shell isn't /bin/sh.
-c This option indicates that C shell commands should be generated even if the user's current shell isn't /bin/csh.
-s [rows columns]
This option indicates that Sun console escape sequences will be used instead of the VT100-style xterm escape codes. If rows and
columns are given, resize will ask the xterm to resize itself. However, the window manager may choose to disallow the change.
Note that the Sun console escape sequences are recognized by XFree86 xterm and by dtterm. The resize program may be installed as sunsize,
which causes makes it assume the -s option.
The rows and columns arguments must appear last; though they are normally associated with the -s option, they are parsed separately.
FILES
/etc/termcap for the base termcap entry to modify.
~/.cshrc user's alias for the command.
ENVIRONMENT
TERM set to "xterm" if not already set.
TERMCAP variable set on systems using termcap
COLUMNS, LINES variables set on systems using terminfo
SEE ALSO
csh(1), tset(1), xterm(1)
AUTHORS
Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
Copyright (c) 1984, 1985 by X Consortium
See X(7) for a complete copyright notice.
X Window System RESIZE(1)