Solved

Partition problem

Posted on 2000-03-05
7
254 Views
Last Modified: 2010-04-20
How can we increase the partition size dynamically ?
 
I had installed linux on 800MB partition.I have added 1.2GB disk later .
How can we increase the 800MB partition dynamically to 2 GB .

I don't want a new filesystem , I want to increase the  / filesystem to 2GB.
0
Comment
Question by:hay123
  • 3
  • 2
  • 2
7 Comments
 
LVL 1

Expert Comment

by:toneus
ID: 2586792
Hi,

Have you read the documentation of fips?
I'm not sure myself now, but I now that fips is used before the installation to change the partitionsize of other OS-es.

But If you want to migrate your data from one disk to the other, you can just copy the data. The only thing you need to do the is to change your fstab and lilo-configuration.

Another option is to split up your directories over multiple partitions.

e.g.

/usr is on /dev/hdb1
/var is on /dev/hdb2
/ is on /dev/hda1

(in this case you only need to copy data and change fstab)

Let me know how you're going to solve it!

regards
0
 

Author Comment

by:hay123
ID: 2587333
Edited text of question.
0
 
LVL 12

Accepted Solution

by:
j2 earned 50 total points
ID: 2587491
I really only know of two tools

1. http://www.math.leidenuniv.nl/~buytenh/ext2resize/

2.
www.powerquest.com (Partition magic 4 and 5 comes with ext2fs resizing tools)

Personally i have used Pmagic which works well, but is commercial.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 12

Expert Comment

by:j2
ID: 2587500
0
 
LVL 12

Expert Comment

by:j2
ID: 2587508
But wait.. NEITHER of these tools support spreading a filesystem over several devices. You said "Added 1.2Gig disk" is this a second disk, or did you just delete a 1.2 gig partition?
0
 
LVL 1

Expert Comment

by:toneus
ID: 2588098
Why would you want to work with 1 big partition anyway? Now is the time to spread your data over several partitions. (which is a common way to do)

This is saver/better for your data. I don't know exactly, but it is preferred.
0
 

Author Comment

by:hay123
ID: 2591657
Thanks J2 ,
        I will try out with those tools .
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question