Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

Partition problem

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
hay123
Asked:
hay123
  • 3
  • 2
  • 2
1 Solution
 
toneusCommented:
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
 
hay123Author Commented:
Edited text of question.
0
 
j2Commented:
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
j2Commented:
0
 
j2Commented:
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
 
toneusCommented:
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
 
hay123Author Commented:
Thanks J2 ,
        I will try out with those tools .
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now